diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-03-16 21:51:10 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-03-16 21:51:10 +0000 |
commit | f621697b7347861e1c01261cec4c3e8f78a12159 (patch) | |
tree | 79d069e0aae2d1009b95f7ad36e02ca8ea888e37 /dev-util/coccinelle | |
parent | Fixed case in HOMEPAGE. (diff) | |
download | historical-f621697b7347861e1c01261cec4c3e8f78a12159.tar.gz historical-f621697b7347861e1c01261cec4c3e8f78a12159.tar.bz2 historical-f621697b7347861e1c01261cec4c3e8f78a12159.zip |
Version bump. Add myself as a maintainer.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'dev-util/coccinelle')
-rw-r--r-- | dev-util/coccinelle/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/coccinelle/Manifest | 20 | ||||
-rw-r--r-- | dev-util/coccinelle/coccinelle-1.0.0_rc11.ebuild | 129 | ||||
-rw-r--r-- | dev-util/coccinelle/metadata.xml | 4 |
4 files changed, 151 insertions, 10 deletions
diff --git a/dev-util/coccinelle/ChangeLog b/dev-util/coccinelle/ChangeLog index aff90aee9c46..2b1e21b8535b 100644 --- a/dev-util/coccinelle/ChangeLog +++ b/dev-util/coccinelle/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/coccinelle # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.15 2012/03/07 07:05:56 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.16 2012/03/16 21:51:10 radhermit Exp $ + +*coccinelle-1.0.0_rc11 (16 Mar 2012) + + 16 Mar 2012; Tim Harder <radhermit@gentoo.org> +coccinelle-1.0.0_rc11.ebuild, + metadata.xml: + Version bump. Add myself as a maintainer. 07 Mar 2012; Tim Harder <radhermit@gentoo.org> -coccinelle-0.2.5-r2.ebuild: Remove old. diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest index 4363e0c7f4a6..a4050d59736b 100644 --- a/dev-util/coccinelle/Manifest +++ b/dev-util/coccinelle/Manifest @@ -6,19 +6,21 @@ AUX coccinelle-1.0.0_rc7-parallel-make.patch 192 RMD160 54c44bc377ee6aab1906424b AUX coccinelle-1.0.0_rc7-pcre-linking.patch 736 RMD160 d159a9e2135c1642d5d197eee283ae6e05cf0eb9 SHA1 e12323cc52971c020bbc18fbc7039860435d0c0f SHA256 a56f00fd839a289800280ab5c6b8b8ddf056b2662a667307a09b33349ba86c2f AUX coccinelle-1.0.0_rc7-pcre.patch 1127 RMD160 e1020264de12f81f20490e2930828b19b18d0887 SHA1 78e961458cf4e5bbae6e09fa11fababa02eee5dd SHA256 432bedf758407089ebc9fd453b2dc197c9de3602671ae5dddd2d57cdef680e51 DIST coccinelle-1.0.0-rc10.tgz 2356062 RMD160 0a18a978830790162ea4659c3ca0a7fdca893da1 SHA1 178032fdb4620307e1213ae4a9a947004371985f SHA256 4eb787ca8c6af21fca5c08deee4543188fee9f9a5aee3592f3dc1fa10380d6df +DIST coccinelle-1.0.0-rc11.tgz 2356524 RMD160 eac8bf5e92dd5b204736ffa65a211f03c8e892e5 SHA1 a48dfb9ad10769da9676c9d38704397a0866ff42 SHA256 275d0beee5a165ed6edfd4da70b98f9f802e6de5d59ebc075041ff8c126d03df DIST coccinelle-1.0.0-rc7.tgz 2337344 RMD160 5a999e751e55232015c2741a25ea4f9835a9197c SHA1 42544ba5b5597793620b17b331612388609ef9fa SHA256 b74ab606938cd481bd4515b77f330e66e21ec6340b100a6f6dcfd9267aae53ba EBUILD coccinelle-1.0.0_rc10.ebuild 3077 RMD160 ec200797bdd0f55bf1eda2bad75ad19ca8c29f71 SHA1 de3e9ae735b063c4f62af6df2cedc9744d85c0eb SHA256 2f5c329adccafe1caeedf6ef6e5626595d50de45f8a6a98b4120eebcbffef96a +EBUILD coccinelle-1.0.0_rc11.ebuild 3077 RMD160 a5c688232cc4a4c4a94dbe3458f9481c111a491c SHA1 2ceb3f1d26f5ffad344ec0ddb7346fa7dfb6e9ff SHA256 d73ebaf630c3caf187a02276e66a50ffef91971c0ab6c04ee348095d5a656478 EBUILD coccinelle-1.0.0_rc7.ebuild 2544 RMD160 42994d9bb410c48e9796cf1e8883f62c257c69bf SHA1 9c04ba25c328845b744be23edecd74a1ec2f2e72 SHA256 3ee94b636d68e2250b22ffbe2de6bc43ba98e19c1773f6173c51961f0749b1a9 -MISC ChangeLog 2734 RMD160 a9339bc51acda81eb0bcf5a1cfc418f69a722c7f SHA1 9b3c0f8ca12b73fa6a0cb713eeefac90e42b8c7e SHA256 5791bd60af89057c8a6450daf74d78c29b23b19de8f98b3b3d398f3006d03d3a -MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 +MISC ChangeLog 2913 RMD160 7baf9e8f9fff6115b69dad754505d97bc993beac SHA1 b05fa25f2ad2aeb6636e88b911b6747f684bdfef SHA256 a4d9f9d2d61bbde3ba06ef3438226500666c79ef1ecf3523a3e75f0d966c18ef +MISC metadata.xml 246 RMD160 531769961b9ea944006889544d9ba6dae6901d26 SHA1 e5839f081334ce6d81a6608b3996b73315b8800c SHA256 7c41a7e52e792cf6b02e544290706ab0266df8c36214b503083c4daa89a636fe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJPVwjZAAoJEEqz6FtPBkyjntYH/2WOJ7YPyBr+kuZRztUo5OsT -fSEm4NNFuQ2as7MvMnp8uPKF4tOC1gohXuAtNXV8c5kwviAEvLE11oL3yunuZ2kS -9S1SIK4Rl3SoZM9XHIbld49qt7IrIqjnTNR+u279AAKFcAQUMeCvTg6hMUwfe5p+ -ZjHmmEFayZR+3b+PxjsOEryekp7o1xVAyShJ3Y05C7zvVn8XZxvD7Ts3igb8K3xE -lL/E1NuJL07uAG6woiAYSNgbIm20z6rY03milpDUSCLyZDKUlSIk4yjQJuOpeMVs -GaEmdrYHHuccL906cziE7X7ZWvmKZDMdMcxXgQAugs/L7t0I6hnSs5aZkypS8mw= -=Mt0q +iQEcBAEBCgAGBQJPY7XUAAoJEEqz6FtPBkyjHngIAKqyVsprk8jaN9KzVjE27v4p +aCFSCzeUrB/KBcr/VqUCmBEBZVagTho4A/hV6B9S1DDl0Q7gmznbGMgmwF6VkXQG +kyBSICqdkISKEHMlkXPSPrwQx9UlgUphM9e4BDsWT1N1OaYgSW2VHc/1lit3kSEC +luiZFiP8aGmwpeMJWxoWv/FnxjaNb/C7orhvaJK5XWpXp8DYtcYbV35eMlBDDogJ +XRiWMr3k3TFTJpnaeumqMeruKNnW73TpK/ITg5avGHKam4uDmQkw2yWOtFtvaV83 +SUCQEJlnWgOIKf3Kyq73FaLg8UF3I9WMfHmyJSFlelcNJLtBfUS0GHP9MVfI188= +=Pyef -----END PGP SIGNATURE----- diff --git a/dev-util/coccinelle/coccinelle-1.0.0_rc11.ebuild b/dev-util/coccinelle/coccinelle-1.0.0_rc11.ebuild new file mode 100644 index 000000000000..a05ea3a5ea04 --- /dev/null +++ b/dev-util/coccinelle/coccinelle-1.0.0_rc11.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/coccinelle-1.0.0_rc11.ebuild,v 1.1 2012/03/16 21:51:10 radhermit Exp $ + +EAPI="4" +PYTHON_DEPEND="python? 2" + +inherit multilib eutils python bash-completion-r1 elisp-common + +MY_P="${P/_/-}" +DESCRIPTION="Program matching and transformation engine" +HOMEPAGE="http://coccinelle.lip6.fr/" +SRC_URI="http://coccinelle.lip6.fr/distrib/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax" + +# ocaml enables ocaml scripting (uses findlib) +CDEPEND=">=dev-lang/ocaml-3.10[ocamlopt?] + dev-ml/sexplib + emacs? ( virtual/emacs ) + ocaml? ( dev-ml/findlib ) + pcre? ( dev-ml/pcre-ocaml )" + +RDEPEND="${CDEPEND} + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" + +# dev-texlive/texlive-fontsextra contains 'ifsym.sty' +DEPEND="${CDEPEND} + doc? ( virtual/latex-base + dev-texlive/texlive-latexextra + dev-texlive/texlive-fontsextra )" + +REQUIRED_USE="test? ( ocaml python )" + +DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt ) + +S=${WORKDIR}/${MY_P} + +SITEFILE=50coccinelle-gentoo.el + +pkg_setup() { + if use python ; then + python_set_active_version 2 + python_pkg_setup + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.0_rc7-parallel-make.patch + + if use python ; then + # Fix python install location + sed -i -e "s:\$(SHAREDIR)/python:$(python_get_sitedir):" Makefile || die + sed -i -e "/export PYTHONPATH/s:\$COCCINELLE_HOME/python:$(python_get_sitedir):" \ + scripts/spatch.sh || die + fi +} + +src_configure() { + # non-autoconf + ./configure \ + --prefix=/usr \ + $(use ocamlopt || echo "--no-opt") \ + $(use_with python) \ + $(use_with ocaml) \ + $(use_with pcre) \ + || die + + sed -i -e "s:^LIBDIR=.*:LIBDIR=/usr/$(get_libdir)/ocaml/stublibs/:" \ + -e "s:^SHAREDIR=.*:SHAREDIR=/usr/$(get_libdir)/ocaml/${PN}/:" \ + -e "s:^MANDIR=.*:MANDIR=/usr/share/man/:" \ + Makefile.config || die +} + +src_compile() { + emake depend + emake + + use ocamlopt && emake opt + + if use doc ; then + VARTEXFONTS="${T}"/fonts emake docs + fi + + if use emacs ; then + elisp-compile editors/emacs/cocci.el || die + fi +} + +src_test() { + source env.sh # needed for built in-place python plugin + ./spatch standard.h -parse_c -dir tests/ || die + yes | ./spatch -iso_file standard.iso -macro_file_builtins standard.h -testall || die + if use ocamlopt ; then + ./spatch.opt -iso_file standard.iso -macro_file_builtins standard.h -testall || die + fi +} + +src_install() { + default + + use doc && dodoc docs/manual/*.pdf + newbashcomp scripts/spatch.bash_completion spatch + + if use emacs ; then + elisp-install ${PN} editors/emacs/* + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + fi + + if use vim-syntax ; then + newdoc editors/vim/README README-vim + rm editors/vim/README || die + insinto /usr/share/vim/vimfiles + doins -r editors/vim/* + fi + + export STRIP_MASK='*/coccinelle/spatch' +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-util/coccinelle/metadata.xml b/dev-util/coccinelle/metadata.xml index 2193d772e351..06d54062e2f2 100644 --- a/dev-util/coccinelle/metadata.xml +++ b/dev-util/coccinelle/metadata.xml @@ -2,4 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>ml</herd> +<maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> +</maintainer> </pkgmetadata> |