diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-06-30 16:09:07 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-06-30 16:09:07 +0000 |
commit | 7fd8b263fccb0afbae4b0fbfd3089a9e053fb90b (patch) | |
tree | 5139f63b9543d075561ec1c9f49bae3db4577474 /dev-util/coccinelle | |
parent | remove temp mask for Claws Mail and plugins, bump finished (diff) | |
download | historical-7fd8b263fccb0afbae4b0fbfd3089a9e053fb90b.tar.gz historical-7fd8b263fccb0afbae4b0fbfd3089a9e053fb90b.tar.bz2 historical-7fd8b263fccb0afbae4b0fbfd3089a9e053fb90b.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
Diffstat (limited to 'dev-util/coccinelle')
-rw-r--r-- | dev-util/coccinelle/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/coccinelle/Manifest | 16 | ||||
-rw-r--r-- | dev-util/coccinelle/coccinelle-1.0.0_rc12.ebuild | 127 |
3 files changed, 144 insertions, 6 deletions
diff --git a/dev-util/coccinelle/ChangeLog b/dev-util/coccinelle/ChangeLog index d25b05882c05..fc560b4f6691 100644 --- a/dev-util/coccinelle/ChangeLog +++ b/dev-util/coccinelle/ChangeLog @@ -1,6 +1,11 @@ # 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.18 2012/05/05 14:35:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.19 2012/06/30 16:09:07 radhermit Exp $ + +*coccinelle-1.0.0_rc12 (30 Jun 2012) + + 30 Jun 2012; Tim Harder <radhermit@gentoo.org> +coccinelle-1.0.0_rc12.ebuild: + Version bump. 05 May 2012; Alexis Ballier <aballier@gentoo.org> -files/coccinelle-1.0.0_rc7-pcre.patch, diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest index 246cbe7b2fcd..28a2b3c5a53f 100644 --- a/dev-util/coccinelle/Manifest +++ b/dev-util/coccinelle/Manifest @@ -1,16 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 AUX 50coccinelle-gentoo.el 154 RMD160 7e2d1bd4e9811a1bb6768511f1bf150e0c8e4dd6 SHA1 08220402a063f2d983d55a5fb949bc92d9f669a9 SHA256 66dba99a78fd02b8b232b14b11d6f2b2595dd5bfa867d5bb16be117999fbb4cc AUX coccinelle-1.0.0_rc7-parallel-make.patch 192 RMD160 54c44bc377ee6aab1906424b94969db2f7defcb3 SHA1 3284b714e134cb3a749f4b5db5cbcf19aca471e8 SHA256 a497f4f24985a609e9f9845192b912253d8351e63703707eed7700c18e1ec8ed DIST coccinelle-1.0.0-rc11.tgz 2356524 RMD160 eac8bf5e92dd5b204736ffa65a211f03c8e892e5 SHA1 a48dfb9ad10769da9676c9d38704397a0866ff42 SHA256 275d0beee5a165ed6edfd4da70b98f9f802e6de5d59ebc075041ff8c126d03df +DIST coccinelle-1.0.0-rc12.tgz 3197967 RMD160 1e3a9d4d13be2f15d6a0ac6e11744d266252ee6c SHA1 42f418ff9c90a568e743619f127b9d6b041fe431 SHA256 03b8930a53623ec79dc2486e9b6a569e373958cf46074c5f1d0028c70708498d EBUILD coccinelle-1.0.0_rc11.ebuild 3077 RMD160 a5c688232cc4a4c4a94dbe3458f9481c111a491c SHA1 2ceb3f1d26f5ffad344ec0ddb7346fa7dfb6e9ff SHA256 d73ebaf630c3caf187a02276e66a50ffef91971c0ab6c04ee348095d5a656478 -MISC ChangeLog 3213 RMD160 7bf42aee1b63b0dfdec759ef07e7c023c2ba37a0 SHA1 d3f1eec711e658bda0f64ee8a4f2669359a2a077 SHA256 61f66f8031d027826c76958f8ff741c4e64f37c5a75907dcd896b0cd2cd5ca3c +EBUILD coccinelle-1.0.0_rc12.ebuild 2997 RMD160 7b883baa3b5abd7f7b4857852d5d43d46274a3d0 SHA1 335ed0dbe309307b5c9facfb2ceaad915ac0447e SHA256 497780d81868e19b6dceb497627cc1c28338187a56dfe9bc43cd8b9559569ffd +MISC ChangeLog 3349 RMD160 ed637a414a8abd64e16f29e7083870d317dbaba7 SHA1 7510bc9f3f769d088f41af6f428910e080418f09 SHA256 740f69748955d36298da471e0f2d50462985d7161bfdcd04d8dafd616a9aa18f MISC metadata.xml 246 RMD160 531769961b9ea944006889544d9ba6dae6901d26 SHA1 e5839f081334ce6d81a6608b3996b73315b8800c SHA256 7c41a7e52e792cf6b02e544290706ab0266df8c36214b503083c4daa89a636fe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk+lOqIACgkQvFcC4BYPU0qSLgCfR1HknnC8Tffi5M5nafg2hy9H -sAIAniQoM0H0qbWwXZqbgLhpWwY+TAq7 -=fr/O +iQEcBAEBCgAGBQJP7yStAAoJEEqz6FtPBkyjFjoIAKXw/1R5XXHmBVd64a3k3Zw2 +o3nEzsQOzF1Xkl1C4o6CRgrHrBahzamy+Od1XUbgSzwelnUdRjL5lxSXaktCItnj +O3CKTDsxv60JJvZBzpfqVWO3YXXAe0NEPOQYTddS+NmGbtM7sXsw19PvzMN1ucT2 +2CVU2FEl/tmyCdzRmg0NIta5XAbSDRDyMyMLLUJ4YPFUxP/79670l3D8uA0GY+t7 +XMS0GIBJWcwtE7NJWEkAoYTbM50/Rqid/Ekl4EXxo2RkFt/eFwajfWhHRLGa4kGW +gCWjjfx9QWYAMSF2X4PzMckv+hg6nDew4ThQWDmFnbVM1a9vsoUN7Cz3PgZRFIg= +=AsqR -----END PGP SIGNATURE----- diff --git a/dev-util/coccinelle/coccinelle-1.0.0_rc12.ebuild b/dev-util/coccinelle/coccinelle-1.0.0_rc12.ebuild new file mode 100644 index 000000000000..ad809c28012a --- /dev/null +++ b/dev-util/coccinelle/coccinelle-1.0.0_rc12.ebuild @@ -0,0 +1,127 @@ +# 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_rc12.ebuild,v 1.1 2012/06/30 16:09:07 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} + virtual/pkgconfig + 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() { + if use python ; then + # Fix python install location + sed -i -e "s:\$(SHAREDIR)/python:$(python_get_sitedir):" \ + -e "s:PYTHON_TARGET:PYTHON_INSTALL_TARGET:" Makefile || die + sed -i -e "/export PYTHONPATH/s:\$COCCINELLE_HOME/python:$(python_get_sitedir):" \ + scripts/spatch.sh.in || die + fi +} + +src_configure() { + econf \ + $(use_enable python) \ + $(use_enable ocaml) \ + $(use_enable pcre) \ + $(use_enable pcre pcre-syntax) + + sed -i -e "s:^LIBDIR=.*:LIBDIR=/usr/$(get_libdir)/ocaml/stublibs/:" \ + -e "s:^SHAREDIR=.*:SHAREDIR=/usr/$(get_libdir)/ocaml/${PN}/:" \ + 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 +} |