diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-11-04 08:57:51 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-11-04 08:57:51 +0000 |
commit | 581295fb6764702274296040b30ddbdeb384e7b2 (patch) | |
tree | cc0d6f36c9138ff3fd61c4136bffb79c2901f15a /dev-util/coccigrep | |
parent | Version Bump with permission of robbat2, fixes Segf on non-NUMA systems (diff) | |
download | historical-581295fb6764702274296040b30ddbdeb384e7b2.tar.gz historical-581295fb6764702274296040b30ddbdeb384e7b2.tar.bz2 historical-581295fb6764702274296040b30ddbdeb384e7b2.zip |
Initial import.
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64
Diffstat (limited to 'dev-util/coccigrep')
-rw-r--r-- | dev-util/coccigrep/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/coccigrep/Manifest | 19 | ||||
-rw-r--r-- | dev-util/coccigrep/coccigrep-1.5.ebuild | 68 | ||||
-rw-r--r-- | dev-util/coccigrep/files/50-coccigrep-gentoo.el | 4 | ||||
-rw-r--r-- | dev-util/coccigrep/metadata.xml | 11 |
5 files changed, 112 insertions, 0 deletions
diff --git a/dev-util/coccigrep/ChangeLog b/dev-util/coccigrep/ChangeLog new file mode 100644 index 000000000000..77a137b5248c --- /dev/null +++ b/dev-util/coccigrep/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/coccigrep +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/coccigrep/ChangeLog,v 1.1 2011/11/04 08:57:51 radhermit Exp $ + +*coccigrep-1.5 (04 Nov 2011) + + 04 Nov 2011; Tim Harder <radhermit@gentoo.org> +files/50-coccigrep-gentoo.el, + +coccigrep-1.5.ebuild, +metadata.xml: + Initial import. + diff --git a/dev-util/coccigrep/Manifest b/dev-util/coccigrep/Manifest new file mode 100644 index 000000000000..99780b16de0b --- /dev/null +++ b/dev-util/coccigrep/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +AUX 50-coccigrep-gentoo.el 99 RMD160 77c5ec2da1680eccae59add87d8ebef9a5652fd3 SHA1 5e11da91b37a7a9bd456933ca604c464706ced09 SHA256 f43c286e8ab2615dc12b610208b140823fccaf0005b7b39616ce487af5a05922 +DIST coccigrep-1.5.tar.gz 30045 RMD160 0eb35bafcca99a37890e53801946e79fd6b4520d SHA1 527336eb8f1ad534a51e1035778c228845556c28 SHA256 1c14495af3b7f0d3543748b95cb87959fb5c63b73162369c2962394327db69fe +EBUILD coccigrep-1.5.ebuild 1493 RMD160 595c9b290be6acfb7df2a6df4c6c0acdb20cf605 SHA1 04cc955b787663a91354265fa9a861b19768b86a SHA256 eb9ffa84b8c7078c848610d95ca81dc30531f70befe89527eb020311c71f62c7 +MISC ChangeLog 381 RMD160 82c56897a820702363ee97cd7634104079e5f283 SHA1 4231f487d5ae65092d24fb834d052a71345e3ab5 SHA256 78eba37fac37159079b19bf360dc89e2ff31a999251f36288f9bd6d256efaa46 +MISC metadata.xml 306 RMD160 adee1876cb01b4a95dd98fbafa7372ca60cf228d SHA1 d7142ba26a44e55ff791075069f97ef27545cc6c SHA256 d08f420aca2a6c186286c4d23769814bb12ed844e474f2742a97248316ee1f53 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQEcBAEBCgAGBQJOs6kVAAoJEEqz6FtPBkyjaY8H/3pHksE+iE9bTmQhOaPRWSwp +d6x1rMeWEt/ZQyPqYbTV4V89G/yfW64C7912pDXhE4Hqgcukpcb5LqfWHtTD5gKZ +7BHO0oA0isqyDxEiNGhTQcno0LvZLTh77od48P3oaRqs86yPuq9jRkaAF8WqqO5c +9EZ1fLYsxuCi+fa9kgLLto2KjoR2h7NWVK3HQmufRAuj3WhFSd72WfMZF2h84pVF +Ci0l03x1Bisfa8q0HUgv5QxXhxEvIgDiCR3Zn1y4JwLO6YThi4m4YoeNEC/D+G2v +MhSp0JPISAoZuwzSl3TjoCTKh/Ni5DkGHzjy+Zqt06tfbI533O85tDTTqJleJLE= +=yFPf +-----END PGP SIGNATURE----- diff --git a/dev-util/coccigrep/coccigrep-1.5.ebuild b/dev-util/coccigrep/coccigrep-1.5.ebuild new file mode 100644 index 000000000000..a40a5df22bdb --- /dev/null +++ b/dev-util/coccigrep/coccigrep-1.5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/coccigrep/coccigrep-1.5.ebuild,v 1.1 2011/11/04 08:57:51 radhermit Exp $ + +EAPI=4 +USE_PYTHON="2" + +inherit distutils elisp-common + +DESCRIPTION="A semantic grep for the C language" +HOMEPAGE="http://home.regit.org/software/coccigrep/" +SRC_URI="https://github.com/regit/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc emacs vim" + +RDEPEND="dev-util/coccinelle[python] + || ( dev-lang/python:2.7 dev-python/argparse ) + emacs? ( virtual/emacs ) + vim? ( || ( app-editors/vim app-editors/gvim ) )" +DEPEND="doc? ( dev-python/sphinx )" + +SITEFILE="50${PN}-gentoo.el" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" +} + +src_compile() { + distutils_src_compile + use doc && emake -C doc html +} + +src_install() { + distutils_src_install + doman ${PN}.1 + + use doc && dohtml -r doc/_build/html/* + + if use emacs ; then + elisp-install ${PN} editor/*.el || die + elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die + fi + + if use vim ; then + insinto /usr/share/vim/vimfiles/plugin + doins editors/cocci-grep.vim + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen + + einfo "Syntax highlighting is supported through dev-python/pygments." + einfo "Install it if you want colorized output formats." +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-util/coccigrep/files/50-coccigrep-gentoo.el b/dev-util/coccigrep/files/50-coccigrep-gentoo.el new file mode 100644 index 000000000000..7fbc6b93e541 --- /dev/null +++ b/dev-util/coccigrep/files/50-coccigrep-gentoo.el @@ -0,0 +1,4 @@ +;;; coccigrep site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(require 'cocci-grep) diff --git a/dev-util/coccigrep/metadata.xml b/dev-util/coccigrep/metadata.xml new file mode 100644 index 000000000000..5de03a4c192a --- /dev/null +++ b/dev-util/coccigrep/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> + <use> + <flag name="vim">Install the coccigrep vim plugin</flag> + </use> +</pkgmetadata> |