public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2019-12-12 16:46 Michał Górny
  0 siblings, 0 replies; 22+ messages in thread
From: Michał Górny @ 2019-12-12 16:46 UTC (permalink / raw
  To: gentoo-commits

commit:     ef8fdef48d9879b3c247ec6637ea8ea6ee7e26ed
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 15:33:09 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 16:34:37 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8fdef4

dev-util/coccinelle: [QA] Fix MissingTestRestrict

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/coccinelle/coccinelle-1.0.5.ebuild | 2 +-
 dev-util/coccinelle/coccinelle-1.0.6.ebuild | 2 +-
 dev-util/coccinelle/coccinelle-1.0.8.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.0.5.ebuild b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
index 598e875c240..cc744143db9 100644
--- a/dev-util/coccinelle/coccinelle-1.0.5.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
@@ -42,7 +42,7 @@ DEPEND="${CDEPEND}
 
 DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
 
-RESTRICT=strip
+RESTRICT="strip !test? ( test )"
 S=${WORKDIR}/${MY_P}
 
 SITEFILE=50coccinelle-gentoo.el

diff --git a/dev-util/coccinelle/coccinelle-1.0.6.ebuild b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
index 2ccd550333b..18640ff2a4f 100644
--- a/dev-util/coccinelle/coccinelle-1.0.6.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
@@ -42,7 +42,7 @@ DEPEND="${CDEPEND}
 
 DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
 
-RESTRICT=strip
+RESTRICT="strip !test? ( test )"
 S=${WORKDIR}/${MY_P}
 
 SITEFILE=50coccinelle-gentoo.el

diff --git a/dev-util/coccinelle/coccinelle-1.0.8.ebuild b/dev-util/coccinelle/coccinelle-1.0.8.ebuild
index 5d8ee39204e..a25a3d05e8f 100644
--- a/dev-util/coccinelle/coccinelle-1.0.8.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.8.ebuild
@@ -41,7 +41,7 @@ DEPEND="${CDEPEND}
 
 DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
 
-RESTRICT=strip
+RESTRICT="strip !test? ( test )"
 
 SITEFILE=50coccinelle-gentoo.el
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2024-05-30 18:34 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2024-05-30 18:34 UTC (permalink / raw
  To: gentoo-commits

commit:     57e8841bdff8573af46e884149bd043d2168e73e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 30 18:33:54 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 30 18:34:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e8841b

dev-util/coccinelle: enable python2.12

Closes: https://bugs.gentoo.org/929530
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{coccinelle-1.1.1-r4.ebuild => coccinelle-1.1.1-r5.ebuild}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild b/dev-util/coccinelle/coccinelle-1.1.1-r5.ebuild
similarity index 97%
rename from dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild
rename to dev-util/coccinelle/coccinelle-1.1.1-r5.ebuild
index c95b850e7966..1a366ad2ed6d 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1-r5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit autotools bash-completion-r1 elisp-common python-single-r1
 
 DESCRIPTION="Program matching and transformation engine"


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2022-12-28 15:30 Maciej Barć
  0 siblings, 0 replies; 22+ messages in thread
From: Maciej Barć @ 2022-12-28 15:30 UTC (permalink / raw
  To: gentoo-commits

commit:     f525d2d10df1336cbd4c9ef6807f88432c8369db
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 28 14:09:28 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 15:30:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f525d2d1

dev-util/coccinelle: call einstalldocs

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../{coccinelle-1.1.1-r3.ebuild => coccinelle-1.1.1-r4.ebuild}           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1-r3.ebuild b/dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild
similarity index 99%
rename from dev-util/coccinelle/coccinelle-1.1.1-r3.ebuild
rename to dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild
index dcca7af3cc71..e71ab0449027 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1-r3.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild
@@ -114,6 +114,7 @@ src_install() {
 		elisp-site-file-install "${FILESDIR}"/${SITEFILE}
 	fi
 
+	einstalldocs
 	use doc && dodoc docs/manual/*.pdf
 
 	newdoc editors/vim/README README-vim


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2022-12-28 15:30 Maciej Barć
  0 siblings, 0 replies; 22+ messages in thread
From: Maciej Barć @ 2022-12-28 15:30 UTC (permalink / raw
  To: gentoo-commits

commit:     95e055b0f5b1f7f2e4f9d75dc8605122700c42f6
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 28 14:09:56 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 15:30:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e055b0

dev-util/coccinelle: install with 1 job

Closes: https://bugs.gentoo.org/888713
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild b/dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild
index e71ab0449027..15fe9d274569 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1-r4.ebuild
@@ -101,7 +101,7 @@ src_test() {
 }
 
 src_install() {
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}" VERBOSE=yes install
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}" VERBOSE=yes -j1 install
 
 	if use python ; then
 		python_optimize


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2022-11-10  7:51 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2022-11-10  7:51 UTC (permalink / raw
  To: gentoo-commits

commit:     6c122468d6bb8de245c11fa9b7dc6e8296128344
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 07:50:45 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 07:51:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c122468

dev-util/coccinelle: unbundling stdcompat

Closes: https://bugs.gentoo.org/880165
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{coccinelle-1.1.1-r2.ebuild => coccinelle-1.1.1-r3.ebuild}           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1-r2.ebuild b/dev-util/coccinelle/coccinelle-1.1.1-r3.ebuild
similarity index 99%
rename from dev-util/coccinelle/coccinelle-1.1.1-r2.ebuild
rename to dev-util/coccinelle/coccinelle-1.1.1-r3.ebuild
index da7c3d3ec5db..dcca7af3cc71 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1-r2.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1-r3.ebuild
@@ -25,6 +25,7 @@ RDEPEND="
 	dev-ml/camlp4:=[ocamlopt?]
 	dev-ml/parmap:=[ocamlopt?]
 	dev-ml/findlib:=[ocamlopt?]
+	dev-ml/stdcompat:=
 	emacs? ( >=app-editors/emacs-23.1:* )
 	pcre? (
 		dev-libs/libpcre


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2022-10-30 19:32 Alfredo Tupone
  0 siblings, 0 replies; 22+ messages in thread
From: Alfredo Tupone @ 2022-10-30 19:32 UTC (permalink / raw
  To: gentoo-commits

commit:     bb14412c9114d2bf53119db9c458eea84624891a
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 19:31:11 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 19:31:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb14412c

dev-util/coccinelle: adj deps

Closes: https://bugs.gentoo.org/878783
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{coccinelle-1.1.1-r1.ebuild => coccinelle-1.1.1-r2.ebuild}           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild b/dev-util/coccinelle/coccinelle-1.1.1-r2.ebuild
similarity index 99%
rename from dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild
rename to dev-util/coccinelle/coccinelle-1.1.1-r2.ebuild
index bd296f7e09d3..da7c3d3ec5db 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1-r2.ebuild
@@ -40,6 +40,7 @@ BDEPEND="
 		dev-texlive/texlive-latexextra
 		dev-texlive/texlive-fontsextra
 		virtual/latex-base
+		dev-tex/hevea
 	)
 "
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2022-10-29 18:52 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2022-10-29 18:52 UTC (permalink / raw
  To: gentoo-commits

commit:     a549858d6a6987588803e731304d70baa812d9cf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 18:52:28 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 18:52:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a549858d

dev-util/coccinelle: update HOMEPAGE

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild b/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild
index a8e567e69c5b..bd296f7e09d3 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild
@@ -3,12 +3,11 @@
 
 EAPI=8
 
-DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..11} )
 inherit autotools bash-completion-r1 elisp-common python-single-r1
 
 DESCRIPTION="Program matching and transformation engine"
-HOMEPAGE="https://coccinelle.gitlabpages.inria.fr/website/"
+HOMEPAGE="https://coccinelle.gitlabpages.inria.fr/website/ https://gitlab.inria.fr/coccinelle/coccinelle"
 SRC_URI="https://gitlab.inria.fr/coccinelle/coccinelle/-/archive/${PV}/${P}.tar.bz2"
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2022-10-29 18:43 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2022-10-29 18:43 UTC (permalink / raw
  To: gentoo-commits

commit:     78b9d425382db8eec78dd92aa6f4ec4de4ee4aee
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 18:43:25 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 18:43:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b9d425

dev-util/coccinelle: restrict tests for now

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{coccinelle-1.1.1.ebuild => coccinelle-1.1.1-r1.ebuild}         | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1.ebuild b/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild
similarity index 92%
rename from dev-util/coccinelle/coccinelle-1.1.1.ebuild
rename to dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild
index acf57cebffd6..a8e567e69c5b 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..11} )
 inherit autotools bash-completion-r1 elisp-common python-single-r1
 
@@ -15,7 +16,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc emacs +ocamlopt pcre python test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="strip !test? ( test )"
+# Test failures need investigation
+RESTRICT="strip !test? ( test ) test"
 
 RDEPEND="
 	>=dev-lang/ocaml-3.12:=[ocamlopt?]
@@ -92,6 +94,8 @@ src_compile() {
 }
 
 src_test() {
+	# TODO: See Fedora's method?
+	# https://src.fedoraproject.org/rpms/coccinelle/blob/rawhide/f/coccinelle.spec#_231
 	emake VERBOSE=yes check $(usev python pycocci-check)
 }
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2022-10-29 18:28 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2022-10-29 18:28 UTC (permalink / raw
  To: gentoo-commits

commit:     73af0c606f7553a332f1f79595e6fe7efebfc1f7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 18:27:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 18:27:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73af0c60

dev-util/coccinelle: sort BDEPEND

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/coccinelle/coccinelle-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1.ebuild b/dev-util/coccinelle/coccinelle-1.1.1.ebuild
index 2d56739523bb..acf57cebffd6 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1.ebuild
@@ -36,9 +36,9 @@ DEPEND="${RDEPEND}"
 BDEPEND="
 	virtual/pkgconfig
 	doc? (
-		virtual/latex-base
 		dev-texlive/texlive-latexextra
 		dev-texlive/texlive-fontsextra
+		virtual/latex-base
 	)
 "
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2022-10-29 18:28 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2022-10-29 18:28 UTC (permalink / raw
  To: gentoo-commits

commit:     34477bc5e28a816fc3734189b030717d9a84f437
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 18:27:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 18:27:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34477bc5

dev-util/coccinelle: update HOMEPAGE

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/coccinelle/coccinelle-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/coccinelle/coccinelle-1.1.1.ebuild b/dev-util/coccinelle/coccinelle-1.1.1.ebuild
index 4affa4aee5a6..2d56739523bb 100644
--- a/dev-util/coccinelle/coccinelle-1.1.1.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.1.1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..11} )
 inherit autotools bash-completion-r1 elisp-common python-single-r1
 
 DESCRIPTION="Program matching and transformation engine"
-HOMEPAGE="http://coccinelle.lip6.fr/"
+HOMEPAGE="https://coccinelle.gitlabpages.inria.fr/website/"
 SRC_URI="https://gitlab.inria.fr/coccinelle/coccinelle/-/archive/${PV}/${P}.tar.bz2"
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2019-12-03  9:56 Jason A. Donenfeld
  0 siblings, 0 replies; 22+ messages in thread
From: Jason A. Donenfeld @ 2019-12-03  9:56 UTC (permalink / raw
  To: gentoo-commits

commit:     23a473884b5c6ca7e6eabd75223e73d52d3eb643
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  3 09:56:14 2019 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Dec  3 09:56:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a47388

dev-util/coccinelle: bump to 1.0.8

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 dev-util/coccinelle/Manifest                |   1 +
 dev-util/coccinelle/coccinelle-1.0.8.ebuild | 122 ++++++++++++++++++++++++++++
 2 files changed, 123 insertions(+)

diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest
index a185a5b4b58..e0e091baed9 100644
--- a/dev-util/coccinelle/Manifest
+++ b/dev-util/coccinelle/Manifest
@@ -1,2 +1,3 @@
 DIST coccinelle-1.0.5.tgz 5660596 BLAKE2B 9707e4773d165718b973e004e3359608428d8405d560d7013da66e2b1f0205f003ae0905c02a4f13c9725b39dc94710e5ccbc6b5b11ace66d7e87c3a303363c5 SHA512 0fee450554abc40feac9e745a252c1679f8016c82f04236e642e32e129618a950bb9657f1c447d62543289e95bbd4b1a8b0c6030373025c32a37068f82d30678
 DIST coccinelle-1.0.6.tgz 6684278 BLAKE2B b5b390488e818ce05c364f27782bd1c4dc63657a01c7564764d64faea8ff302c8409bb2ef172ce7ab7c2e00ae1a6f2c3bea76a1148eaf5a977f897d39a9fb23c SHA512 b667762ddf5ad30b126e93572cd8a8b3ffc21a790cd9d6df586e421c5db0a8d049af9587c6e5cb8f7a13f2c090ab2a9cca59ecba69069f9d3fe67b6f75dfe539
+DIST coccinelle-1.0.8.tar.gz 2670961 BLAKE2B 0a11d325f8e39a76111bb9b14afb5dc6c1de07b94fce7904b6be021b17a9346f1b2e09550e6de221280fa9ff57e6e4a41b2e733189e16cc3a460065844015901 SHA512 496b1632c92cc026fbe28f784f56d4cd78f89a8ccd28dc7db1069c0c6b2b239675a10da305e37ed2a03c605668ecd3399aeed522f12ec3fbbf3ca07277ab7bce

diff --git a/dev-util/coccinelle/coccinelle-1.0.8.ebuild b/dev-util/coccinelle/coccinelle-1.0.8.ebuild
new file mode 100644
index 00000000000..5d8ee39204e
--- /dev/null
+++ b/dev-util/coccinelle/coccinelle-1.0.8.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools multilib eutils python-single-r1 bash-completion-r1 elisp-common
+
+DESCRIPTION="Program matching and transformation engine"
+HOMEPAGE="http://coccinelle.lip6.fr/"
+SRC_URI="https://github.com/coccinelle/coccinelle/archive/1.0.8.tar.gz -> ${P}.tar.gz"
+
+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.12:=[ocamlopt?]
+	dev-ml/sexplib:=[ocamlopt(+)?]
+	dev-ml/menhir:=[ocamlopt?]
+	dev-ml/camlp4:=[ocamlopt?]
+	dev-ml/parmap:=[ocamlopt?]
+	emacs? ( virtual/emacs )
+	ocaml? ( dev-ml/findlib:= )
+	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt(+)?] )
+	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
+	)"
+
+DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
+
+RESTRICT=strip
+
+SITEFILE=50coccinelle-gentoo.el
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	eautoreconf
+	if use python ; then
+		# fix python install location
+		sed -e "s:\$(LIBDIR)/python:$(python_get_sitedir):" \
+			-i Makefile || die
+	fi
+}
+
+src_configure() {
+	econf \
+		$(use_enable python) \
+		$(use_enable ocaml) \
+		$(use_enable pcre) \
+		$(use_enable pcre pcre-syntax) \
+		$(use_enable ocamlopt opt)
+}
+
+src_compile() {
+	emake -j1
+
+	if use ocamlopt ; then
+		emake all.opt
+	else
+		emake TARGET_SPATCH=byte-only all-dev
+	fi
+
+	if use doc ; then
+		VARTEXFONTS="${T}"/fonts emake docs
+	fi
+
+	if use emacs ; then
+		elisp-compile editors/emacs/cocci.el || die
+	fi
+}
+
+src_test() {
+	emake check
+	use python && emake pycocci-check
+}
+
+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
+}
+
+pkg_postinst() {
+	use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+	use emacs && elisp-site-regen
+}


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2019-04-14  8:38 Michał Górny
  0 siblings, 0 replies; 22+ messages in thread
From: Michał Górny @ 2019-04-14  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     3091cdc84e3c33321ba074221ec248dd789af3cc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 08:34:14 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 08:38:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3091cdc8

dev-util/coccinelle: Replace STRIP_MASK with RESTRICT=strip

Closes: https://bugs.gentoo.org/651448
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/coccinelle/coccinelle-1.0.5.ebuild | 5 ++---
 dev-util/coccinelle/coccinelle-1.0.6.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.0.5.ebuild b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
index e4f865f92b0..598e875c240 100644
--- a/dev-util/coccinelle/coccinelle-1.0.5.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -42,6 +42,7 @@ DEPEND="${CDEPEND}
 
 DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
 
+RESTRICT=strip
 S=${WORKDIR}/${MY_P}
 
 SITEFILE=50coccinelle-gentoo.el
@@ -109,8 +110,6 @@ src_install() {
 	fi
 
 	use python && python_optimize
-
-	export STRIP_MASK='*/coccinelle/spatch'
 }
 
 pkg_postinst() {

diff --git a/dev-util/coccinelle/coccinelle-1.0.6.ebuild b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
index 1e97b0576dc..2ccd550333b 100644
--- a/dev-util/coccinelle/coccinelle-1.0.6.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -42,6 +42,7 @@ DEPEND="${CDEPEND}
 
 DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
 
+RESTRICT=strip
 S=${WORKDIR}/${MY_P}
 
 SITEFILE=50coccinelle-gentoo.el
@@ -111,8 +112,6 @@ src_install() {
 	fi
 
 	use python && python_optimize
-
-	export STRIP_MASK='*/coccinelle/spatch'
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2018-02-11 21:56 Thomas Deutschmann
  0 siblings, 0 replies; 22+ messages in thread
From: Thomas Deutschmann @ 2018-02-11 21:56 UTC (permalink / raw
  To: gentoo-commits

commit:     c316800af2c8f3d265472b6c6d76537af05f440f
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 21:52:22 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 21:56:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c316800a

dev-util/coccinelle: x86 keyworded (bug #614216)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-util/coccinelle/coccinelle-1.0.5.ebuild | 4 ++--
 dev-util/coccinelle/coccinelle-1.0.6.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.0.5.ebuild b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
index 5d511dcf7a2..e4f865f92b0 100644
--- a/dev-util/coccinelle/coccinelle-1.0.5.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -13,7 +13,7 @@ SRC_URI="http://coccinelle.lip6.fr/distrib/${MY_P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 

diff --git a/dev-util/coccinelle/coccinelle-1.0.6.ebuild b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
index 403ac36a8d1..1e97b0576dc 100644
--- a/dev-util/coccinelle/coccinelle-1.0.6.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="http://coccinelle.lip6.fr/distrib/${MY_P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2017-08-02 11:23 Alexis Ballier
  0 siblings, 0 replies; 22+ messages in thread
From: Alexis Ballier @ 2017-08-02 11:23 UTC (permalink / raw
  To: gentoo-commits

commit:     1ab9642d8501d4a9c44d4cfd70608ef231e6b782
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 11:03:28 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Aug  2 11:22:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab9642d

dev-util/coccinelle: assume + for ocamlopt on pcre-ocaml

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-util/coccinelle/coccinelle-1.0.5.ebuild | 2 +-
 dev-util/coccinelle/coccinelle-1.0.6.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.0.5.ebuild b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
index d3c1815b1c8..5d511dcf7a2 100644
--- a/dev-util/coccinelle/coccinelle-1.0.5.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
@@ -25,7 +25,7 @@ CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )
-	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt?] )
+	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt(+)?] )
 	python? ( ${PYTHON_DEPS} )"
 
 RDEPEND="${CDEPEND}

diff --git a/dev-util/coccinelle/coccinelle-1.0.6.ebuild b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
index 642926fc3b5..403ac36a8d1 100644
--- a/dev-util/coccinelle/coccinelle-1.0.6.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
@@ -25,7 +25,7 @@ CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )
-	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt?] )
+	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt(+)?] )
 	python? ( ${PYTHON_DEPS} )"
 
 RDEPEND="${CDEPEND}


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2017-04-02  8:38 Alexis Ballier
  0 siblings, 0 replies; 22+ messages in thread
From: Alexis Ballier @ 2017-04-02  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     37c0229d3aa9db1d28172a19ce3610c15d6fde3c
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  1 16:40:03 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Apr  2 08:37:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c0229d

dev-util/coccinelle: Use proper useflag defaults for sexplib[ocamlopt] dep

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-util/coccinelle/coccinelle-1.0.5.ebuild | 2 +-
 dev-util/coccinelle/coccinelle-1.0.6.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.0.5.ebuild b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
index 277f24d7176..d3c1815b1c8 100644
--- a/dev-util/coccinelle/coccinelle-1.0.5.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
@@ -19,7 +19,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # ocaml enables ocaml scripting (uses findlib)
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
-	dev-ml/sexplib:=[ocamlopt?]
+	dev-ml/sexplib:=[ocamlopt(+)?]
 	dev-ml/menhir:=[ocamlopt?]
 	dev-ml/camlp4:=[ocamlopt?]
 	dev-ml/parmap:=[ocamlopt?]

diff --git a/dev-util/coccinelle/coccinelle-1.0.6.ebuild b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
index 0ebabfb7118..642926fc3b5 100644
--- a/dev-util/coccinelle/coccinelle-1.0.6.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
@@ -19,7 +19,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # ocaml enables ocaml scripting (uses findlib)
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
-	dev-ml/sexplib:=[ocamlopt?]
+	dev-ml/sexplib:=[ocamlopt(+)?]
 	dev-ml/menhir:=[ocamlopt?]
 	dev-ml/camlp4:=[ocamlopt?]
 	dev-ml/parmap:=[ocamlopt?]


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2017-04-01 13:32 Alexis Ballier
  0 siblings, 0 replies; 22+ messages in thread
From: Alexis Ballier @ 2017-04-01 13:32 UTC (permalink / raw
  To: gentoo-commits

commit:     88ede79476666a0a99b449040d4e58cd0bf948ea
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 29 14:44:03 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sat Apr  1 13:32:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ede794

dev-util/coccinelle: Drop ~x86 keywords

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-util/coccinelle/coccinelle-1.0.5.ebuild | 4 ++--
 dev-util/coccinelle/coccinelle-1.0.6.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.0.5.ebuild b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
index 1b67ee46e79..277f24d7176 100644
--- a/dev-util/coccinelle/coccinelle-1.0.5.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -13,7 +13,7 @@ SRC_URI="http://coccinelle.lip6.fr/distrib/${MY_P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 

diff --git a/dev-util/coccinelle/coccinelle-1.0.6.ebuild b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
index 4e0d8f5af5c..0ebabfb7118 100644
--- a/dev-util/coccinelle/coccinelle-1.0.6.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="http://coccinelle.lip6.fr/distrib/${MY_P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2016-12-09  6:58 Tim Harder
  0 siblings, 0 replies; 22+ messages in thread
From: Tim Harder @ 2016-12-09  6:58 UTC (permalink / raw
  To: gentoo-commits

commit:     7f9425d374c59ead98e0651bbfa5b7d3373342de
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  9 06:58:00 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Fri Dec  9 06:58:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9425d3

dev-util/coccinelle: version bump to 1.0.6

 dev-util/coccinelle/Manifest                |   1 +
 dev-util/coccinelle/coccinelle-1.0.6.ebuild | 125 ++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest
index 7937f30..3e5ca3a 100644
--- a/dev-util/coccinelle/Manifest
+++ b/dev-util/coccinelle/Manifest
@@ -1 +1,2 @@
 DIST coccinelle-1.0.5.tgz 5660596 SHA256 5efb093b538145b7526a06946c09c7caaa715006658af2049faa8739f459743b SHA512 0fee450554abc40feac9e745a252c1679f8016c82f04236e642e32e129618a950bb9657f1c447d62543289e95bbd4b1a8b0c6030373025c32a37068f82d30678 WHIRLPOOL 33ec9789d93f6cd35eda37f0647d3e3f3f53898fccc2df68aa30cec50ce82b4d392d84a0c97708cdf301b2f076cce1942b5d4a51dffb0bd177eb9dee460d3e6f
+DIST coccinelle-1.0.6.tgz 6684278 SHA256 8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909 SHA512 b667762ddf5ad30b126e93572cd8a8b3ffc21a790cd9d6df586e421c5db0a8d049af9587c6e5cb8f7a13f2c090ab2a9cca59ecba69069f9d3fe67b6f75dfe539 WHIRLPOOL 3a47b3d2f844e4ee38972566971db261c58cb26e73ccf1187b9b5bda0561327c6bea9a48e6f8fc3db285b5cef8e011feb7d6a6fff09754338dbf103fb1900f3d

diff --git a/dev-util/coccinelle/coccinelle-1.0.6.ebuild b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
new file mode 100644
index 00000000..70d5c91
--- /dev/null
+++ b/dev-util/coccinelle/coccinelle-1.0.6.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit multilib eutils python-single-r1 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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# ocaml enables ocaml scripting (uses findlib)
+CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+	dev-ml/sexplib:=[ocamlopt?]
+	dev-ml/menhir:=[ocamlopt?]
+	dev-ml/camlp4:=[ocamlopt?]
+	dev-ml/parmap:=[ocamlopt?]
+	emacs? ( virtual/emacs )
+	ocaml? ( dev-ml/findlib:= )
+	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt?] )
+	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
+	)"
+
+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() {
+	default
+
+	if use python ; then
+		# fix python install location
+		sed -e "s:\$(LIBDIR)/python:$(python_get_sitedir):" \
+			-i Makefile || die
+	fi
+}
+
+src_configure() {
+	econf \
+		$(use_enable python) \
+		$(use_enable ocaml) \
+		$(use_enable pcre) \
+		$(use_enable pcre pcre-syntax) \
+		$(use_enable ocamlopt opt)
+}
+
+src_compile() {
+	emake depend
+
+	if use ocamlopt ; then
+		emake all.opt
+	else
+		emake TARGET_SPATCH=byte-only all-dev
+	fi
+
+	if use doc ; then
+		VARTEXFONTS="${T}"/fonts emake docs
+	fi
+
+	if use emacs ; then
+		elisp-compile editors/emacs/cocci.el || die
+	fi
+}
+
+src_test() {
+	emake check
+	use python && emake pycocci-check
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2016-06-23 12:34 Alexis Ballier
  0 siblings, 0 replies; 22+ messages in thread
From: Alexis Ballier @ 2016-06-23 12:34 UTC (permalink / raw
  To: gentoo-commits

commit:     09f5b99d262037be8f83868a6cdfd56291453d8d
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 12:33:47 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 12:33:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f5b99d

dev-util/coccinelle: bump to 1.0.5.

Cleanup a bit ebuild.
Remove backward compat dep for camlp4.

Package-Manager: portage-2.3.0_rc1

 dev-util/coccinelle/Manifest                |   1 +
 dev-util/coccinelle/coccinelle-1.0.5.ebuild | 123 ++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest
index 3e45afe..9ad8b2c 100644
--- a/dev-util/coccinelle/Manifest
+++ b/dev-util/coccinelle/Manifest
@@ -2,3 +2,4 @@ DIST coccinelle-1.0.0.tgz 3427246 SHA256 e18b4c77964c6f623c385dc8b2fcb46beacd981
 DIST coccinelle-1.0.1.tgz 2772730 SHA256 39caac46c1f80cbe5de21164c5b31a794e3befdb9cd7ef1d080d455ac171b526 SHA512 5a69476941a9582ca6e0663c468a87aba15b6e38243cbb532c517b75066c8fafe37cbe6d398d6183cc7a315c5680efdf425f0bc8cb2184dbf94e446879514a89 WHIRLPOOL 8b38b982b8d19c10c7e3ed77629b6883c4d6455da4da4d68251b492ce36490c5236573bf7c44a34e21887b8be0ca83b4efb39cf13b1c4c6db7db58979ee6a7bc
 DIST coccinelle-1.0.2.tgz 2790829 SHA256 4e45b904f42c9b84732168782d491c8c1ab23bb85db06c4b9ba2762bea8ac679 SHA512 83c8e250a7e19126ce3f95d0455892d60b2d7a688af3a066edcfb9a8cc146f8a9281c9e019896421e1bc546d366114effef3116105eae19617ad45c26f42c534 WHIRLPOOL 15b64abbad31f49883e4cacc2282ed28eb67f64d951636ee6b690a474b072e6a029c4131adb727f5f7a8d86628b871db0cff144ad8478514529c4c5d5dee9074
 DIST coccinelle-1.0.4.tgz 2484218 SHA256 7f823813a2ea299c0f6c01d8419b83c4dc6617116d32ba99d726443a1c22b06d SHA512 1e7ad7adb700f2e0d844b3f5787c24fc40bc9a61354b5aefa0f957e524e74ba67a8bef594e837a479d3a5f3c8d89c2395e8636838e0451977de8bd3d588d7ce1 WHIRLPOOL 15759395a2253fa8322e034a02388b5f0f6cc0702e82d43e95c3c9ecc2fa5795cb4a3a3fbc48aa2104bd0173adfd58e046f804d63c3ccbe278796cbe4932f46e
+DIST coccinelle-1.0.5.tgz 5660596 SHA256 5efb093b538145b7526a06946c09c7caaa715006658af2049faa8739f459743b SHA512 0fee450554abc40feac9e745a252c1679f8016c82f04236e642e32e129618a950bb9657f1c447d62543289e95bbd4b1a8b0c6030373025c32a37068f82d30678 WHIRLPOOL 33ec9789d93f6cd35eda37f0647d3e3f3f53898fccc2df68aa30cec50ce82b4d392d84a0c97708cdf301b2f076cce1942b5d4a51dffb0bd177eb9dee460d3e6f

diff --git a/dev-util/coccinelle/coccinelle-1.0.5.ebuild b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
new file mode 100644
index 0000000..96d6dfb
--- /dev/null
+++ b/dev-util/coccinelle/coccinelle-1.0.5.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit multilib eutils python-single-r1 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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# ocaml enables ocaml scripting (uses findlib)
+CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
+	dev-ml/sexplib:=[ocamlopt?]
+	dev-ml/menhir:=[ocamlopt?]
+	dev-ml/camlp4:=[ocamlopt?]
+	dev-ml/parmap:=[ocamlopt?]
+	emacs? ( virtual/emacs )
+	ocaml? ( dev-ml/findlib:= )
+	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt?] )
+	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
+	)"
+
+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:\$(LIBDIR)/python:$(python_get_sitedir):" \
+			-i Makefile || die
+	fi
+}
+
+src_configure() {
+	econf \
+		$(use_enable python) \
+		$(use_enable ocaml) \
+		$(use_enable pcre) \
+		$(use_enable pcre pcre-syntax) \
+		$(use_enable ocamlopt opt)
+}
+
+src_compile() {
+	emake depend
+
+	if use ocamlopt ; then
+		emake all.opt
+	else
+		emake TARGET_SPATCH=byte-only all-dev
+	fi
+
+	if use doc ; then
+		VARTEXFONTS="${T}"/fonts emake docs
+	fi
+
+	if use emacs ; then
+		elisp-compile editors/emacs/cocci.el || die
+	fi
+}
+
+src_test() {
+	emake check
+	use python && emake pycocci-check
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2016-06-23 11:26 Alexis Ballier
  0 siblings, 0 replies; 22+ messages in thread
From: Alexis Ballier @ 2016-06-23 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     4c5e801495b57bfcf580f8d3192699f599722bdc
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 08:59:06 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 11:23:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5e8014

Revert "dev-util/coccinelle: Remove := op from || dep, #586304"

This reverts commit 23c0a5e66e44e35d9854ee94dc0e3b41a2f15035.

This commit is wrong in several aspects:
  - Such changes should come with a revbump
  - Removing := deps causes packages not to be rebuilt on upgrades, causing
    barely understandable build failures when upgrading, later on.
    Thanks to this commit, people that have installed those packages will
    likely experience those failures with the upcoming ocaml 4.03 unmask.
  - This is a non maintainer commit where no discussion at all happened with the
    maintainers during the 3 days between bug report and mass commit.
    Such discussion could have prevented the above mentioned breakage.

Proper fix is to drop the backward compatibility part of the || () dep. This fix
was slowly moving forward whenever possible and noticed. Main blocker for this is
bug #463018 which requires taking extra care for not breaking the stable tree
nor needlessly preventing future stabilization of packages.

 dev-util/coccinelle/coccinelle-1.0.0.ebuild | 4 ++--
 dev-util/coccinelle/coccinelle-1.0.1.ebuild | 4 ++--
 dev-util/coccinelle/coccinelle-1.0.2.ebuild | 4 ++--
 dev-util/coccinelle/coccinelle-1.0.4.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.0.0.ebuild b/dev-util/coccinelle/coccinelle-1.0.0.ebuild
index 40022f0..f7b4292 100644
--- a/dev-util/coccinelle/coccinelle-1.0.0.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/sexplib:=[ocamlopt?]
 	dev-ml/menhir:=[ocamlopt?]
-	|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )

diff --git a/dev-util/coccinelle/coccinelle-1.0.1.ebuild b/dev-util/coccinelle/coccinelle-1.0.1.ebuild
index 69b18e7..2a9f559 100644
--- a/dev-util/coccinelle/coccinelle-1.0.1.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/sexplib:=[ocamlopt?]
 	dev-ml/menhir:=[ocamlopt?]
-	|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )

diff --git a/dev-util/coccinelle/coccinelle-1.0.2.ebuild b/dev-util/coccinelle/coccinelle-1.0.2.ebuild
index 09bf8ac..adc67ae 100644
--- a/dev-util/coccinelle/coccinelle-1.0.2.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/sexplib:=[ocamlopt?]
 	dev-ml/menhir:=[ocamlopt?]
-	|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )

diff --git a/dev-util/coccinelle/coccinelle-1.0.4.ebuild b/dev-util/coccinelle/coccinelle-1.0.4.ebuild
index 09bf8ac..adc67ae 100644
--- a/dev-util/coccinelle/coccinelle-1.0.4.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/sexplib:=[ocamlopt?]
 	dev-ml/menhir:=[ocamlopt?]
-	|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2016-06-21 20:32 Michał Górny
  0 siblings, 0 replies; 22+ messages in thread
From: Michał Górny @ 2016-06-21 20:32 UTC (permalink / raw
  To: gentoo-commits

commit:     23c0a5e66e44e35d9854ee94dc0e3b41a2f15035
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 20:23:13 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 20:32:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c0a5e6

dev-util/coccinelle: Remove := op from || dep, #586304

 dev-util/coccinelle/coccinelle-1.0.0.ebuild | 4 ++--
 dev-util/coccinelle/coccinelle-1.0.1.ebuild | 4 ++--
 dev-util/coccinelle/coccinelle-1.0.2.ebuild | 4 ++--
 dev-util/coccinelle/coccinelle-1.0.4.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-util/coccinelle/coccinelle-1.0.0.ebuild b/dev-util/coccinelle/coccinelle-1.0.0.ebuild
index f7b4292..40022f0 100644
--- a/dev-util/coccinelle/coccinelle-1.0.0.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/sexplib:=[ocamlopt?]
 	dev-ml/menhir:=[ocamlopt?]
-	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )

diff --git a/dev-util/coccinelle/coccinelle-1.0.1.ebuild b/dev-util/coccinelle/coccinelle-1.0.1.ebuild
index 2a9f559..69b18e7 100644
--- a/dev-util/coccinelle/coccinelle-1.0.1.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/sexplib:=[ocamlopt?]
 	dev-ml/menhir:=[ocamlopt?]
-	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )

diff --git a/dev-util/coccinelle/coccinelle-1.0.2.ebuild b/dev-util/coccinelle/coccinelle-1.0.2.ebuild
index adc67ae..09bf8ac 100644
--- a/dev-util/coccinelle/coccinelle-1.0.2.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/sexplib:=[ocamlopt?]
 	dev-ml/menhir:=[ocamlopt?]
-	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )

diff --git a/dev-util/coccinelle/coccinelle-1.0.4.ebuild b/dev-util/coccinelle/coccinelle-1.0.4.ebuild
index adc67ae..09bf8ac 100644
--- a/dev-util/coccinelle/coccinelle-1.0.4.ebuild
+++ b/dev-util/coccinelle/coccinelle-1.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 CDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
 	dev-ml/sexplib:=[ocamlopt?]
 	dev-ml/menhir:=[ocamlopt?]
-	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	|| ( dev-ml/camlp4[ocamlopt?] <dev-lang/ocaml-4.02.0 )
 	dev-ml/parmap:=[ocamlopt?]
 	emacs? ( virtual/emacs )
 	ocaml? ( dev-ml/findlib:= )


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2015-10-30 10:41 Alexis Ballier
  0 siblings, 0 replies; 22+ messages in thread
From: Alexis Ballier @ 2015-10-30 10:41 UTC (permalink / raw
  To: gentoo-commits

commit:     05e8eaaac7ffb4aa0a80b2b4a23d5e0c88086155
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 30 10:40:44 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 10:40:44 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05e8eaaa

dev-util/coccinelle: Bump to 1.0.4.

Package-Manager: portage-2.2.23

 dev-util/coccinelle/Manifest                |   1 +
 dev-util/coccinelle/coccinelle-1.0.4.ebuild | 132 ++++++++++++++++++++++++++++
 2 files changed, 133 insertions(+)

diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest
index 5184a32..3e45afe 100644
--- a/dev-util/coccinelle/Manifest
+++ b/dev-util/coccinelle/Manifest
@@ -1,3 +1,4 @@
 DIST coccinelle-1.0.0.tgz 3427246 SHA256 e18b4c77964c6f623c385dc8b2fcb46beacd9811927617144620b12d93289e74 SHA512 0c59918dff3d33035f5c928b54de9cbe32f9146d9e4b82545d168140d1395ff5b3e446faff47f39dbb6fceb74f432b419e9c7322e834c11bb50b5fb5d4e4dd46 WHIRLPOOL 8714327d7156bd1ada0c6b0776fefcc4e46b9885354ca686d4de8b35c2dd1cf6372e91dfa3a04645295f411b40d57eee94d81cbd8dfe2c18f3dc3b15ff8e1926
 DIST coccinelle-1.0.1.tgz 2772730 SHA256 39caac46c1f80cbe5de21164c5b31a794e3befdb9cd7ef1d080d455ac171b526 SHA512 5a69476941a9582ca6e0663c468a87aba15b6e38243cbb532c517b75066c8fafe37cbe6d398d6183cc7a315c5680efdf425f0bc8cb2184dbf94e446879514a89 WHIRLPOOL 8b38b982b8d19c10c7e3ed77629b6883c4d6455da4da4d68251b492ce36490c5236573bf7c44a34e21887b8be0ca83b4efb39cf13b1c4c6db7db58979ee6a7bc
 DIST coccinelle-1.0.2.tgz 2790829 SHA256 4e45b904f42c9b84732168782d491c8c1ab23bb85db06c4b9ba2762bea8ac679 SHA512 83c8e250a7e19126ce3f95d0455892d60b2d7a688af3a066edcfb9a8cc146f8a9281c9e019896421e1bc546d366114effef3116105eae19617ad45c26f42c534 WHIRLPOOL 15b64abbad31f49883e4cacc2282ed28eb67f64d951636ee6b690a474b072e6a029c4131adb727f5f7a8d86628b871db0cff144ad8478514529c4c5d5dee9074
+DIST coccinelle-1.0.4.tgz 2484218 SHA256 7f823813a2ea299c0f6c01d8419b83c4dc6617116d32ba99d726443a1c22b06d SHA512 1e7ad7adb700f2e0d844b3f5787c24fc40bc9a61354b5aefa0f957e524e74ba67a8bef594e837a479d3a5f3c8d89c2395e8636838e0451977de8bd3d588d7ce1 WHIRLPOOL 15759395a2253fa8322e034a02388b5f0f6cc0702e82d43e95c3c9ecc2fa5795cb4a3a3fbc48aa2104bd0173adfd58e046f804d63c3ccbe278796cbe4932f46e

diff --git a/dev-util/coccinelle/coccinelle-1.0.4.ebuild b/dev-util/coccinelle/coccinelle-1.0.4.ebuild
new file mode 100644
index 0000000..adc67ae
--- /dev/null
+++ b/dev-util/coccinelle/coccinelle-1.0.4.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_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.12:=[ocamlopt?]
+	dev-ml/sexplib:=[ocamlopt?]
+	dev-ml/menhir:=[ocamlopt?]
+	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	dev-ml/parmap:=[ocamlopt?]
+	emacs? ( virtual/emacs )
+	ocaml? ( dev-ml/findlib:= )
+	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt?] )
+	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:\$(LIBDIR)/python:$(python_get_sitedir):" \
+			-i Makefile || die
+	fi
+
+	# This is regenerated by menhir, bundled version does not build with latest
+	# one...
+	rm -f parsing_cocci/parser_cocci_menhir.ml
+
+	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)
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/
@ 2015-08-24  9:17 Alexis Ballier
  0 siblings, 0 replies; 22+ messages in thread
From: Alexis Ballier @ 2015-08-24  9:17 UTC (permalink / raw
  To: gentoo-commits

commit:     4bab5a70685157e097c458cc5782ac8afef8b321
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 09:17:18 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 09:17:18 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bab5a70

dev-util/coccinelle: bump to 1.0.2.

Package-Manager: portage-2.2.20.1

 dev-util/coccinelle/Manifest                |   1 +
 dev-util/coccinelle/coccinelle-1.0.2.ebuild | 132 ++++++++++++++++++++++++++++
 2 files changed, 133 insertions(+)

diff --git a/dev-util/coccinelle/Manifest b/dev-util/coccinelle/Manifest
index 9a21732..5184a32 100644
--- a/dev-util/coccinelle/Manifest
+++ b/dev-util/coccinelle/Manifest
@@ -1,2 +1,3 @@
 DIST coccinelle-1.0.0.tgz 3427246 SHA256 e18b4c77964c6f623c385dc8b2fcb46beacd9811927617144620b12d93289e74 SHA512 0c59918dff3d33035f5c928b54de9cbe32f9146d9e4b82545d168140d1395ff5b3e446faff47f39dbb6fceb74f432b419e9c7322e834c11bb50b5fb5d4e4dd46 WHIRLPOOL 8714327d7156bd1ada0c6b0776fefcc4e46b9885354ca686d4de8b35c2dd1cf6372e91dfa3a04645295f411b40d57eee94d81cbd8dfe2c18f3dc3b15ff8e1926
 DIST coccinelle-1.0.1.tgz 2772730 SHA256 39caac46c1f80cbe5de21164c5b31a794e3befdb9cd7ef1d080d455ac171b526 SHA512 5a69476941a9582ca6e0663c468a87aba15b6e38243cbb532c517b75066c8fafe37cbe6d398d6183cc7a315c5680efdf425f0bc8cb2184dbf94e446879514a89 WHIRLPOOL 8b38b982b8d19c10c7e3ed77629b6883c4d6455da4da4d68251b492ce36490c5236573bf7c44a34e21887b8be0ca83b4efb39cf13b1c4c6db7db58979ee6a7bc
+DIST coccinelle-1.0.2.tgz 2790829 SHA256 4e45b904f42c9b84732168782d491c8c1ab23bb85db06c4b9ba2762bea8ac679 SHA512 83c8e250a7e19126ce3f95d0455892d60b2d7a688af3a066edcfb9a8cc146f8a9281c9e019896421e1bc546d366114effef3116105eae19617ad45c26f42c534 WHIRLPOOL 15b64abbad31f49883e4cacc2282ed28eb67f64d951636ee6b690a474b072e6a029c4131adb727f5f7a8d86628b871db0cff144ad8478514529c4c5d5dee9074

diff --git a/dev-util/coccinelle/coccinelle-1.0.2.ebuild b/dev-util/coccinelle/coccinelle-1.0.2.ebuild
new file mode 100644
index 0000000..adc67ae
--- /dev/null
+++ b/dev-util/coccinelle/coccinelle-1.0.2.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_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.12:=[ocamlopt?]
+	dev-ml/sexplib:=[ocamlopt?]
+	dev-ml/menhir:=[ocamlopt?]
+	|| ( dev-ml/camlp4:=[ocamlopt?] <dev-lang/ocaml-4.02.0 )
+	dev-ml/parmap:=[ocamlopt?]
+	emacs? ( virtual/emacs )
+	ocaml? ( dev-ml/findlib:= )
+	pcre? ( dev-ml/pcre-ocaml:=[ocamlopt?] )
+	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:\$(LIBDIR)/python:$(python_get_sitedir):" \
+			-i Makefile || die
+	fi
+
+	# This is regenerated by menhir, bundled version does not build with latest
+	# one...
+	rm -f parsing_cocci/parser_cocci_menhir.ml
+
+	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)
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-05-30 18:34 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-12 16:46 [gentoo-commits] repo/gentoo:master commit in: dev-util/coccinelle/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-05-30 18:34 Alfredo Tupone
2022-12-28 15:30 Maciej Barć
2022-12-28 15:30 Maciej Barć
2022-11-10  7:51 Alfredo Tupone
2022-10-30 19:32 Alfredo Tupone
2022-10-29 18:52 Sam James
2022-10-29 18:43 Sam James
2022-10-29 18:28 Sam James
2022-10-29 18:28 Sam James
2019-12-03  9:56 Jason A. Donenfeld
2019-04-14  8:38 Michał Górny
2018-02-11 21:56 Thomas Deutschmann
2017-08-02 11:23 Alexis Ballier
2017-04-02  8:38 Alexis Ballier
2017-04-01 13:32 Alexis Ballier
2016-12-09  6:58 Tim Harder
2016-06-23 12:34 Alexis Ballier
2016-06-23 11:26 Alexis Ballier
2016-06-21 20:32 Michał Górny
2015-10-30 10:41 Alexis Ballier
2015-08-24  9:17 Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox