summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-12-21 09:34:25 +0000
committerTim Harder <radhermit@gentoo.org>2013-12-21 09:34:25 +0000
commitbb72c1af17e634fb5976f3f807ee1c282ba2e389 (patch)
tree3621cdefa66d697483a54a1d3c62ff9c75ab71b5 /dev-util
parentVersion bump. (diff)
downloadhistorical-bb72c1af17e634fb5976f3f807ee1c282ba2e389.tar.gz
historical-bb72c1af17e634fb5976f3f807ee1c282ba2e389.tar.bz2
historical-bb72c1af17e634fb5976f3f807ee1c282ba2e389.zip
Version bump.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/coccinelle/ChangeLog7
-rw-r--r--dev-util/coccinelle/Manifest20
-rw-r--r--dev-util/coccinelle/coccinelle-1.0.0_rc19.ebuild132
3 files changed, 149 insertions, 10 deletions
diff --git a/dev-util/coccinelle/ChangeLog b/dev-util/coccinelle/ChangeLog
index 1ee73454dd1b..3f7c21aec5fb 100644
--- a/dev-util/coccinelle/ChangeLog
+++ b/dev-util/coccinelle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/coccinelle
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.33 2013/09/16 17:27:45 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/ChangeLog,v 1.34 2013/12/21 09:34:23 radhermit Exp $
+
+*coccinelle-1.0.0_rc19 (21 Dec 2013)
+
+ 21 Dec 2013; Tim Harder <radhermit@gentoo.org> +coccinelle-1.0.0_rc19.ebuild:
+ Version bump.
*coccinelle-1.0.0_rc18 (16 Sep 2013)
diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest
index 1c25fe9a2279..c858888ca810 100644
--- a/dev-util/coccinelle/Manifest
+++ b/dev-util/coccinelle/Manifest
@@ -5,18 +5,20 @@ AUX 50coccinelle-gentoo.el 154 SHA256 66dba99a78fd02b8b232b14b11d6f2b2595dd5bfa8
AUX coccinelle-1.0.0_rc16-findtool.patch 282 SHA256 aa5291f33134a84900a24527a1090f231e841704c011e2d74c3dac4f8dbb8037 SHA512 aefc8343a370fb3fdad3d63f5bd3367ecd7473658bf06a67472019b7eebafe938d728043e3869f208056043f4fd0459736d29b2430e36408cc8e2a48b6b51e89 WHIRLPOOL 1c5e0fdc5819b4bbe48d2ecc7bdc4c6622f3bb0ad5513c72e47ec829283cdae4f6d9d59a2e3bf56ddb9d346c077405e6f5d89d547836a10a0c4718bd5de43254
DIST coccinelle-1.0.0-rc17.tgz 2991126 SHA256 628d90650d504aa742e12eb371455bad8468eeed59533d6388366f173a498b61 SHA512 79f7b83458b5229e6a01e9e4a89a47862ca9a9f678e0e599b253449c07d8197194539623049920e8ce23af44d81a91d61052f542bacb40a0eda9c015b1b2e84d WHIRLPOOL dc3c1b839494cd31858bf931f5ef59bfdc3477c7b3577a99b894c99f7991474e2f6d8403b0fe6c856174b93ba8ba551cf0b96c151ebe73d09ea481c7edb2b0c7
DIST coccinelle-1.0.0-rc18.tgz 3120697 SHA256 e5e66b28f7e91226bef00a3795d4f300bdaca1d381a2384b5d855f60cf595c1f SHA512 e25192a0cbb71cb7cbd5f61a4256890a698635a7fba3017496c729d785a07abda4f39432f519662d9d65d506062a81a92df714a74c34e88c61881ef7e4806b37 WHIRLPOOL b1f7ec2cb812193f669e76a61cfc5f9bbac7226f30ca04092ca5199b4d6a705534d361390fe229a3018a95446adbf032f66166ac6d86983f8fee7f14136898e7
+DIST coccinelle-1.0.0-rc19.tgz 3151229 SHA256 d2ded0d2777f64e25ba8458e4f70f1e68ae47b394cb310ebbc097dacb75bfbbc SHA512 20d646a67800a1293e3c1f1598e8718d67b17fd6af3526ac0eb525bee16ac919ac77b88b24115a59e321049b8a75bbea762771628b73e222d0f33848c92d69df WHIRLPOOL fe80815ddac5972031eab2914bbfb249b231e08ded41a31c621b7cac9534501e7932a6810ed38819dc785abdeed26591c411fc1cf04da085f65a064aa8162baf
EBUILD coccinelle-1.0.0_rc17.ebuild 3116 SHA256 edac6df967de165a6298e2204e741fc7cee7c5f0643f6248f2b3662d6be11579 SHA512 2c7d7f6a1eda0c8bf2f9e5f12f7b438a997988d4b673783d00079634e2837920e6f878c08a5f12ad45370246628f98843fcfe0669c3f247fdc443bec74b0cec1 WHIRLPOOL 90dcaa356fa8a01bc176a6fb514fdc2307196008a37b34c940c463b24da347e08ecc82205b5e63776fe90a261d70da05693a9e7b465912c7aba44bec6fb3ea52
EBUILD coccinelle-1.0.0_rc18.ebuild 3151 SHA256 bf0fef7a04db479360aece2b44a649b5d34d14a1472440d32081c0c0371d8ed9 SHA512 f040142dfdc743b2933746b9b2b5166b396532d3b8ef3925c729bf4c98ec2c46854c68d2c08ad2090d7deb120ed72231e8f1ad73b9f1844a78478af2a2e1587b WHIRLPOOL 1550de343c6e0604a30f3e703fcee4fb59c8cfd2355a20efa628f5364fbff6e1570640d7bb45638a4ff22df58a6ca5c10b409ae4e6fc06ac2707c92a3830dd6f
-MISC ChangeLog 5444 SHA256 0fe0dc655c7fc47776c7b5b8e46872a0e16e16bf478e2ec47633273ac1ed25b4 SHA512 6efa6c16b776d78d9a87aa28b5573b9df1ef8831b34ddc8106bf73408549b34c95e8fa62b850e08931564dcc52290ba4bb5b81f0dec74f51d17eaf4ebc0e0ad0 WHIRLPOOL b76d94d3304504dd6cacff7b50c2b0669af9bf54389a7882825fba70c2d04cc2f46f42fecc6d1202fb9fd6b1c954e5a9e1c5fc9723e4ce8c790eece6a26d80f5
+EBUILD coccinelle-1.0.0_rc19.ebuild 3151 SHA256 7557dbe3cf3bffcf528707b88da51156bf80397199cf84797f5f7674691be3c1 SHA512 c6858cb73402c0df6d5d2662db648e5baa640967ce900439fab04628722aeef70e97d42c1a3e353e058a3146957a55a75ae412e7ea88c68596674df2c1df2e50 WHIRLPOOL 0697d8becdce6ff59e18a8cca6522fc7548d5899c006e5cc28c80cb2711bbe425dd7a9ad9a374cf910008576dd3cdd74b1d1d68643043a8779da57e473e7848b
+MISC ChangeLog 5579 SHA256 b1083d2643e485d794dba44adc2f0f67dc759b9e01c0ced99a92ce518a182f92 SHA512 5ce822486ae5cb5d215d4a64dc8459381d46d02ea277dc41aed06b9a66d4b01a026f7dd060ed5353ad7c6acd9e602e61cb88d326339ca94ae8018338f63f01ee WHIRLPOOL 705bbb5c638e6c40684d693a0ace0c8ed4502ba1d79d3ca9cf09900ed43f8db5e7ecbaba65200ac1369d59de0a4419e2563ff9968f8df4ed8390c30cc4fb3691
MISC metadata.xml 246 SHA256 7c41a7e52e792cf6b02e544290706ab0266df8c36214b503083c4daa89a636fe SHA512 2f2e5377658d7b8bb082253b0fb66d54c086e005cbc574f60050b41c039f116e9dc142d1618950f635de7ddd9ab0e7f15c431f660e81bacd01215cbf25be589e WHIRLPOOL f63fe763cf8a07f7c56f0f55a72f1b567d91dbc477654939933178af55edc4687700d0952424669006b301377ccffd3b1510b2290e75b070e1c23b7d9f74f4dd
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJSNz+TAAoJEEqz6FtPBkyj5A4H/2RrzO0cPsYcuhIEHe2xlZIP
-eaSOGtoSa83TfLxq03JKMBwh0QY8Xb3O7WjZ5/MYIxh0+EDPunlPYgYYsbQeymAq
-t5fCDOK/z+2IVKs9feXwtg8YKZwvlPNnw5dTzd/xoEpYIj8hR6c9sPCPZD+gqedv
-kk864ahWL7QCiol46i4sVruYdLdlIo4A2dUynw4MHT1bwcXDreROxHis1XGzRxHJ
-v4H1xN6yVQNAVL+1e/iwyxxwHsz8QhTQjxOywkyVTKSwYXhtVQQLC600N8Aifo+/
-tBloNWCeSoLu0WDI0HrEkPiQh0Eghxi+jQFzeswfpZA3tkTg9hXH7BDwDmLOlNU=
-=2px4
+iQEcBAEBCAAGBQJStWCgAAoJEEqz6FtPBkyj4jsIAISwnq1nQcCBTXf0QQ7ffyi3
+YmlF0y00PI3ThlNII8TLM0c3OEUUL42vLAlI4KNtlHF1/P2zYjlN7lfubmT2KR/5
+W4eI1s6Q92b8w0cb53je6UAWfhcx1vng3zFFC+eyHIFvcDgJvTd8t+HV+2AU1Wec
+lWKsOGBW602jtb9gMxfgOdkX1EwcsO1uDFHJ5w31+1q8KV0N1oC4jorQICpqqOi8
+yTCc/QZEB4SA24mxYUTwyeQEsIRy6KklAXPZVF6W62g+5rDJuCeW3bK/RyIb2UpP
+/Ip3PhaGMW8ajLa+GGMheuEK/g+gn2uJ+LUWWy37Qtwhik0c+YFGyaxIv9Gh9dQ=
+=9WJ8
-----END PGP SIGNATURE-----
diff --git a/dev-util/coccinelle/coccinelle-1.0.0_rc19.ebuild b/dev-util/coccinelle/coccinelle-1.0.0_rc19.ebuild
new file mode 100644
index 000000000000..8545f1d21328
--- /dev/null
+++ b/dev-util/coccinelle/coccinelle-1.0.0_rc19.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2013 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_rc19.ebuild,v 1.1 2013/12/21 09:34:23 radhermit Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit multilib eutils python-single-r1 bash-completion-r1 elisp-common autotools
+
+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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# 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:= )
+ python? ( ${PYTHON_DEPS} )"
+
+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() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ if use python ; then
+ # fix python install location
+ sed -e "s:\$(SHAREDIR)/python:$(python_get_sitedir):" \
+ -e "s:PYTHON_TARGET:PYTHON_INSTALL_TARGET:" \
+ -i Makefile || die
+ fi
+
+ sed -i "s:^SHAREDIR=.*:SHAREDIR=/usr/$(get_libdir)/ocaml/${PN}/:" scripts/spatch.sh.in || die
+
+ epatch "${FILESDIR}"/${PN}-1.0.0_rc16-findtool.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable python) \
+ $(use_enable ocaml) \
+ $(use_enable pcre) \
+ $(use_enable pcre pcre-syntax)
+
+ sed -e "s:^LIBDIR=.*:LIBDIR=/usr/$(get_libdir)/ocaml/stublibs/:" \
+ -e "s:^SHAREDIR=.*:SHAREDIR=/usr/$(get_libdir)/ocaml/${PN}/:" \
+ -i 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
+
+ use python && python_optimize
+
+ export STRIP_MASK='*/coccinelle/spatch'
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}