[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: b036693d1d0b1f1b78d9dc48da106166c0967676 Author: Michał Górny gentoo org> AuthorDate: Fri May 10 17:03:35 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri May 10 18:38:18 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b036693d dev-python/pycparser: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.22.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.22.ebuild b/dev-python/pycparser/pycparser-2.22.ebuild index 80680c39f2e1..15bb9a347eda 100644 --- a/dev-python/pycparser/pycparser-2.22.ebuild +++ b/dev-python/pycparser/pycparser-2.22.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/files/, dev-python/pycparser/
commit: 2400b9dc6406306f7bc539ab09635ea2d968912c Author: Michał Górny gentoo org> AuthorDate: Sat Apr 20 09:46:41 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 20 09:46:41 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2400b9dc dev-python/pycparser: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/Manifest | 1 - .../files/pycparser-2.21-lextab-cache.patch| 66 --- dev-python/pycparser/pycparser-2.21-r2.ebuild | 74 -- 3 files changed, 141 deletions(-) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index 0ea33f798aa9..92399af68de9 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,2 +1 @@ -DIST pycparser-2.21.tar.gz 170877 BLAKE2B ae6bf42dfc552bf1e3bfb5430cdb0c15b5e011ec53cbd03e0e2507c08a1a78690cefce2de134bd984caccc5dbde90661cb4c18df5c289217967213aac4d52404 SHA512 e61fbdde484d1cf74d4b27bdde40cf2da4b7028ca8ecd37c83d77473dab707d457321aecaf97da3b114c1d58a4eb200290b76f9c958044b57e5fed949895b5f0 DIST pycparser-2.22.tar.gz 172736 BLAKE2B a080df68cf114c355949b2911a80e89ed02a64b8d1d03e3c580749e5dfd2491f691962885dbadcdaf323b55a05c5597319ac082dcf6c67a9ac952be9a7e2 SHA512 c9a81c78d87162f71281a32a076b279f4f7f2e17253fe14c89c6db5f9b3554a6563ff700c385549a8b51ef8832f99f7bb4ac07f22754c7c475dd91feeb0cf87f diff --git a/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch b/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch deleted file mode 100644 index d24999e7273a.. --- a/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 35a279ecb9af41a6f95ddbc6a0f1beaa2472d165 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sun, 26 Feb 2023 01:04:34 +0100 -Subject: [PATCH] _build_tables: Invalidate cache before importing generated - modules (#494) - -Make sure to invalidate finder caches before trying to import generated -modules. This is necessary according to the Python documentation: -https://docs.python.org/3/library/importlib.html#importlib.invalidate_caches - -This fixes a hard-to-reproduce bug that Python would be unable to find -just-generated `lextab.py` if mtime of the current directory did not -change from the moment the script was started. This could -e.g. be the case if one has second-precision timestamps and removes -the generated file just before starting the build, e.g.: - -$ rm pycparser/lextab.py; python -m build -nw - -It could also be reproduced easier by doing something like: - -$ cd pycparser -$ touch .; python -B _build_tables.py -Traceback (most recent call last): - File "/var/tmp/pycparser/pycparser/_build_tables.py", line 38, in -import lextab -ModuleNotFoundError: No module named 'lextab' - -This is because the first command (`rm` or `touch`) updates the mtime -of the directory to the current time. If the script is run fast enough, -it manages to scan the directory and then write the new `lextab.py` -within the same second. As a result, mtime of the directory after -writing the new file is the same as when the script was started, finder -does not invalidate the cache and assumes that `lextab.py` does not -exist since it did not exist when the directory was scanned earlier. - -This potentially fixes #493. - -It was originally reported on https://bugs.gentoo.org/701878. -Thanks to Gary E. Miller for patience in reproducing the problem -and proxy-debugging it for me, as well as testing the final patch before -submission. - pycparser/_build_tables.py | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/pycparser/_build_tables.py b/pycparser/_build_tables.py -index 958381ad..4f371079 100644 a/pycparser/_build_tables.py -+++ b/pycparser/_build_tables.py -@@ -13,6 +13,7 @@ - # Insert '.' and '..' as first entries to the search path for modules. - # Restricted environments like embeddable python do not include the - # current working directory on startup. -+import importlib - import sys - sys.path[0:0] = ['.', '..'] - -@@ -32,6 +33,8 @@ - - # Load to compile into .pyc - # -+importlib.invalidate_caches() -+ - import lextab - import yacctab - import c_ast diff --git a/dev-python/pycparser/pycparser-2.21-r2.ebuild b/dev-python/pycparser/pycparser-2.21-r2.ebuild deleted file mode 100644 index 80938a15df34.. --- a/dev-python/pycparser/pycparser-2.21-r2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE=" - https://github.com/eliben/pycparser/ - https://pypi.org/project/p
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 539202bc3c2d2db7ea627da7778570e9ca1c1077 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 20 09:45:11 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 20 09:45:11 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539202bc dev-python/pycparser: Stabilize 2.22 ALLARCHES, #930320 Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.22.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.22.ebuild b/dev-python/pycparser/pycparser-2.22.ebuild index c0a56673a0df..80680c39f2e1 100644 --- a/dev-python/pycparser/pycparser-2.22.ebuild +++ b/dev-python/pycparser/pycparser-2.22.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" dev-python/ply:=[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 48ac182d1f37c23cb19f5d578cb461844956683c Author: Michał Górny gentoo org> AuthorDate: Sun Mar 31 03:01:09 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 31 03:01:09 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ac182d dev-python/pycparser: Bump to 2.22 Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/Manifest | 1 + dev-python/pycparser/pycparser-2.22.ebuild | 69 ++ 2 files changed, 70 insertions(+) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index 9a45f69b12df..0ea33f798aa9 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1 +1,2 @@ DIST pycparser-2.21.tar.gz 170877 BLAKE2B ae6bf42dfc552bf1e3bfb5430cdb0c15b5e011ec53cbd03e0e2507c08a1a78690cefce2de134bd984caccc5dbde90661cb4c18df5c289217967213aac4d52404 SHA512 e61fbdde484d1cf74d4b27bdde40cf2da4b7028ca8ecd37c83d77473dab707d457321aecaf97da3b114c1d58a4eb200290b76f9c958044b57e5fed949895b5f0 +DIST pycparser-2.22.tar.gz 172736 BLAKE2B a080df68cf114c355949b2911a80e89ed02a64b8d1d03e3c580749e5dfd2491f691962885dbadcdaf323b55a05c5597319ac082dcf6c67a9ac952be9a7e2 SHA512 c9a81c78d87162f71281a32a076b279f4f7f2e17253fe14c89c6db5f9b3554a6563ff700c385549a8b51ef8832f99f7bb4ac07f22754c7c475dd91feeb0cf87f diff --git a/dev-python/pycparser/pycparser-2.22.ebuild b/dev-python/pycparser/pycparser-2.22.ebuild new file mode 100644 index ..c0a56673a0df --- /dev/null +++ b/dev-python/pycparser/pycparser-2.22.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE=" + https://github.com/eliben/pycparser/ + https://pypi.org/project/pycparser/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + dev-python/ply:=[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +distutils_enable_tests unittest + +python_prepare_all() { + # remove the original files to guarantee their regen + rm pycparser/{c_ast,lextab,yacctab}.py || die + + # kill sys.path manipulations to force the tests to use built files + sed -i -e '/sys\.path/d' tests/*.py || die + + # Ensure we can find tests in our directory + sed -i -e 's/from tests.test_util/from test_util/g' tests/test_*.py || die + + # unbundle ply + rm -r pycparser/ply || die + sed -i -e 's:\(from \)[.]\(ply\b\):\1\2:' pycparser/*.py || die + sed -i -e "s:'pycparser.ply'::" setup.py || die + + ln -s "${S}"/examples tests/examples || die + + rm tests/test_examples.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # Skip tests if cpp is not in PATH + type -P cpp >/dev/null || return 0 + # change workdir to avoid '.' import + cd tests || die + + # Ensure that 'cpp' is called with the right arguments + # Tests don't seem to always pass the include they intend to use. + mkdir -p "${T}"/bin || die + cat > "${T}"/bin/cpp <<-EOF || die + #!${BROOT}/bin/bash + exec ${BROOT}/usr/bin/cpp -I${S}/utils/fake_libc_include/ \$@ + EOF + chmod +x "${T}"/bin/cpp || die + + PATH="${T}/bin:${PATH}" eunittest +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: b2df5cc453fa659ab73d52dbb71f13fa86303055 Author: Sam James gentoo org> AuthorDate: Wed May 24 07:35:48 2023 + Commit: Sam James gentoo org> CommitDate: Wed May 24 07:48:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2df5cc4 dev-python/pycparser: enable py3.12 Signed-off-by: Sam James gentoo.org> dev-python/pycparser/pycparser-2.21-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21-r2.ebuild b/dev-python/pycparser/pycparser-2.21-r2.ebuild index 8b45ecd1c589..2f99bf104d22 100644 --- a/dev-python/pycparser/pycparser-2.21-r2.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r2.ebuild @@ -5,7 +5,7 @@ EAPI=7 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 1484fa0edface00af5aed9721e1e6772c42723b0 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 26 02:27:04 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 26 02:27:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1484fa0e dev-python/pycparser: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.21-r1.ebuild | 70 --- 1 file changed, 70 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.21-r1.ebuild b/dev-python/pycparser/pycparser-2.21-r1.ebuild deleted file mode 100644 index 3848eaeedd3a.. --- a/dev-python/pycparser/pycparser-2.21-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE=" - https://github.com/eliben/pycparser/ - https://pypi.org/project/pycparser/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - dev-python/ply:=[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} -" - -distutils_enable_tests unittest - -python_prepare_all() { - local PATCHES=( - # https://github.com/eliben/pycparser/pull/494 - "${FILESDIR}"/${P}-lextab-cache.patch - ) - - # remove the original files to guarantee their regen - rm pycparser/{c_ast,lextab,yacctab}.py || die - - # kill sys.path manipulations to force the tests to use built files - sed -i -e '/sys\.path/d' tests/*.py || die - - # Ensure we can find tests in our directory - sed -i -e 's/from tests.test_util/from test_util/g' tests/test_*.py || die - - ln -s "${S}"/examples tests/examples || die - - rm tests/test_examples.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # Skip tests if cpp is not in PATH - type -P cpp >/dev/null || return 0 - # change workdir to avoid '.' import - cd tests || die - - # Ensure that 'cpp' is called with the right arguments - # Tests don't seem to always pass the include they intend to use. - mkdir -p "${T}"/bin || die - cat > "${T}"/bin/cpp <<-EOF || die - #!${BROOT}/bin/bash - exec ${BROOT}/usr/bin/cpp -I${S}/utils/fake_libc_include/ \$@ - EOF - chmod +x "${T}"/bin/cpp || die - - PATH="${T}/bin:${PATH}" eunittest -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: fedeb6e54ee1c1073872f7cbfda3d25a4b4007fb Author: Sam James gentoo org> AuthorDate: Sun Mar 26 00:51:30 2023 + Commit: Sam James gentoo org> CommitDate: Sun Mar 26 00:51:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fedeb6e5 dev-python/pycparser: Stabilize 2.21-r2 ALLARCHES, #903051 Signed-off-by: Sam James gentoo.org> dev-python/pycparser/pycparser-2.21-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21-r2.ebuild b/dev-python/pycparser/pycparser-2.21-r2.ebuild index 08416104b7d4..8b45ecd1c589 100644 --- a/dev-python/pycparser/pycparser-2.21-r2.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" dev-python/ply:=[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/, dev-python/pycparser/files/
commit: 06668ccb9dd2920b55fc01fb5bc6a24129e69421 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 26 15:06:16 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 26 15:25:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06668ccb dev-python/pycparser: Backport lextab.py build failure fix Closes: https://bugs.gentoo.org/701878 Signed-off-by: Michał Górny gentoo.org> .../files/pycparser-2.21-lextab-cache.patch| 66 ++ dev-python/pycparser/pycparser-2.21-r1.ebuild | 5 ++ dev-python/pycparser/pycparser-2.21-r2.ebuild | 5 ++ 3 files changed, 76 insertions(+) diff --git a/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch b/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch new file mode 100644 index ..d24999e7273a --- /dev/null +++ b/dev-python/pycparser/files/pycparser-2.21-lextab-cache.patch @@ -0,0 +1,66 @@ +From 35a279ecb9af41a6f95ddbc6a0f1beaa2472d165 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sun, 26 Feb 2023 01:04:34 +0100 +Subject: [PATCH] _build_tables: Invalidate cache before importing generated + modules (#494) + +Make sure to invalidate finder caches before trying to import generated +modules. This is necessary according to the Python documentation: +https://docs.python.org/3/library/importlib.html#importlib.invalidate_caches + +This fixes a hard-to-reproduce bug that Python would be unable to find +just-generated `lextab.py` if mtime of the current directory did not +change from the moment the script was started. This could +e.g. be the case if one has second-precision timestamps and removes +the generated file just before starting the build, e.g.: + +$ rm pycparser/lextab.py; python -m build -nw + +It could also be reproduced easier by doing something like: + +$ cd pycparser +$ touch .; python -B _build_tables.py +Traceback (most recent call last): + File "/var/tmp/pycparser/pycparser/_build_tables.py", line 38, in +import lextab +ModuleNotFoundError: No module named 'lextab' + +This is because the first command (`rm` or `touch`) updates the mtime +of the directory to the current time. If the script is run fast enough, +it manages to scan the directory and then write the new `lextab.py` +within the same second. As a result, mtime of the directory after +writing the new file is the same as when the script was started, finder +does not invalidate the cache and assumes that `lextab.py` does not +exist since it did not exist when the directory was scanned earlier. + +This potentially fixes #493. + +It was originally reported on https://bugs.gentoo.org/701878. +Thanks to Gary E. Miller for patience in reproducing the problem +and proxy-debugging it for me, as well as testing the final patch before +submission. +--- + pycparser/_build_tables.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/pycparser/_build_tables.py b/pycparser/_build_tables.py +index 958381ad..4f371079 100644 +--- a/pycparser/_build_tables.py b/pycparser/_build_tables.py +@@ -13,6 +13,7 @@ + # Insert '.' and '..' as first entries to the search path for modules. + # Restricted environments like embeddable python do not include the + # current working directory on startup. ++import importlib + import sys + sys.path[0:0] = ['.', '..'] + +@@ -32,6 +33,8 @@ + + # Load to compile into .pyc + # ++importlib.invalidate_caches() ++ + import lextab + import yacctab + import c_ast diff --git a/dev-python/pycparser/pycparser-2.21-r1.ebuild b/dev-python/pycparser/pycparser-2.21-r1.ebuild index 1b0d8e6f6901..3848eaeedd3a 100644 --- a/dev-python/pycparser/pycparser-2.21-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r1.ebuild @@ -30,6 +30,11 @@ BDEPEND=" distutils_enable_tests unittest python_prepare_all() { + local PATCHES=( + # https://github.com/eliben/pycparser/pull/494 + "${FILESDIR}"/${P}-lextab-cache.patch + ) + # remove the original files to guarantee their regen rm pycparser/{c_ast,lextab,yacctab}.py || die diff --git a/dev-python/pycparser/pycparser-2.21-r2.ebuild b/dev-python/pycparser/pycparser-2.21-r2.ebuild index edebc42725b5..08416104b7d4 100644 --- a/dev-python/pycparser/pycparser-2.21-r2.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r2.ebuild @@ -29,6 +29,11 @@ BDEPEND=" distutils_enable_tests unittest python_prepare_all() { + local PATCHES=( + # https://github.com/eliben/pycparser/pull/494 + "${FILESDIR}"/${P}-lextab-cache.patch + ) + # remove the original files to guarantee their regen rm pycparser/{c_ast,lextab,yacctab}.py || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 4147dabd0652ee307302ef581e23e31c44060d77 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 23 15:13:57 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 23 15:14:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4147dabd dev-python/pycparser: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.21-r2.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.21-r2.ebuild b/dev-python/pycparser/pycparser-2.21-r2.ebuild index 061ca961e547..edebc42725b5 100644 --- a/dev-python/pycparser/pycparser-2.21-r2.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r2.ebuild @@ -7,14 +7,13 @@ EAPI=7 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="C parser and AST generator written in Python" HOMEPAGE=" https://github.com/eliben/pycparser/ https://pypi.org/project/pycparser/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: b78b8bbc63df017492b555c79695c14fa518ce53 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 22 15:00:28 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 23 15:14:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b78b8bbc dev-python/pycparser: Revert "force -j1" This does not affect the build in any way, we need to find the actual issue. Reverts: 9cab7f29a9f1ecd74c9e873b344fba255cbb390f Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.21-r1.ebuild | 3 --- 1 file changed, 3 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.21-r1.ebuild b/dev-python/pycparser/pycparser-2.21-r1.ebuild index 3b32ad92c905..1b0d8e6f6901 100644 --- a/dev-python/pycparser/pycparser-2.21-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r1.ebuild @@ -43,9 +43,6 @@ python_prepare_all() { rm tests/test_examples.py || die - # bug #701878 - MAKEOPTS+=" -j1" - distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 638fa47d385b85c97485c8afd6d99186e73420e4 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 22 15:43:08 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 23 15:14:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=638fa47d dev-python/pycparser: Unbundle dev-python/ply Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.21-r2.ebuild | 70 +++ 1 file changed, 70 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.21-r2.ebuild b/dev-python/pycparser/pycparser-2.21-r2.ebuild new file mode 100644 index ..061ca961e547 --- /dev/null +++ b/dev-python/pycparser/pycparser-2.21-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE=" + https://github.com/eliben/pycparser/ + https://pypi.org/project/pycparser/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + dev-python/ply:=[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +distutils_enable_tests unittest + +python_prepare_all() { + # remove the original files to guarantee their regen + rm pycparser/{c_ast,lextab,yacctab}.py || die + + # kill sys.path manipulations to force the tests to use built files + sed -i -e '/sys\.path/d' tests/*.py || die + + # Ensure we can find tests in our directory + sed -i -e 's/from tests.test_util/from test_util/g' tests/test_*.py || die + + # unbundle ply + rm -r pycparser/ply || die + sed -i -e 's:\(from \)[.]\(ply\b\):\1\2:' pycparser/*.py || die + sed -i -e "s:'pycparser.ply'::" setup.py || die + + ln -s "${S}"/examples tests/examples || die + + rm tests/test_examples.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # Skip tests if cpp is not in PATH + type -P cpp >/dev/null || return 0 + # change workdir to avoid '.' import + cd tests || die + + # Ensure that 'cpp' is called with the right arguments + # Tests don't seem to always pass the include they intend to use. + mkdir -p "${T}"/bin || die + cat > "${T}"/bin/cpp <<-EOF || die + #!${BROOT}/bin/bash + exec ${BROOT}/usr/bin/cpp -I${S}/utils/fake_libc_include/ \$@ + EOF + chmod +x "${T}"/bin/cpp || die + + PATH="${T}/bin:${PATH}" eunittest +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 9cab7f29a9f1ecd74c9e873b344fba255cbb390f Author: Sam James gentoo org> AuthorDate: Mon Feb 6 05:26:31 2023 + Commit: Sam James gentoo org> CommitDate: Mon Feb 6 05:26:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cab7f29 dev-python/pycparser: force -j1 Closes: https://bugs.gentoo.org/701878 Signed-off-by: Sam James gentoo.org> dev-python/pycparser/pycparser-2.21-r1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.21-r1.ebuild b/dev-python/pycparser/pycparser-2.21-r1.ebuild index 1b0d8e6f6901..3b32ad92c905 100644 --- a/dev-python/pycparser/pycparser-2.21-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r1.ebuild @@ -43,6 +43,9 @@ python_prepare_all() { rm tests/test_examples.py || die + # bug #701878 + MAKEOPTS+=" -j1" + distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 39d2563f4c217477072f7632de9c46f749a2e9d4 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 12 14:23:17 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 12 14:23:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d2563f dev-python/pycparser: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 76 -- 1 file changed, 76 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild deleted file mode 100644 index c54b32f9dd37.. --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -distutils_enable_tests unittest - -python_prepare_all() { - # remove the original files to guarantee their regen - rm pycparser/{c_ast,lextab,yacctab}.py || die - - # kill sys.path manipulations to force the tests to use built files - sed -i -e '/sys\.path/d' tests/*.py || die - - # Ensure we can find tests in our directory - sed -i -e 's/from tests.test_util/from test_util/g' tests/test_*.py || die - - ln -s "${S}"/examples tests/examples || die - - rm tests/test_examples.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile - - # note: tables built by py3.5+ are incompatible with older versions - # because of 100 group limit of 're' module -- just generate them - # separately optimized for each target instead - pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - # Skip tests if cpp is not in PATH - type -P cpp >/dev/null || return 0 - # change workdir to avoid '.' import - cd tests || die - - # Ensure that 'cpp' is called with the right arguments - # Tests don't seem to always pass the include they intend to use. - mkdir -p "${T}"/bin || die - cat > "${T}"/bin/cpp <<-EOF || die - #!${BROOT}/bin/bash - exec ${BROOT}/usr/bin/cpp -I${S}/utils/fake_libc_include/ \$@ - EOF - chmod +x "${T}"/bin/cpp || die - - PATH="${T}/bin:${PATH}" eunittest -} - -python_install() { - distutils-r1_python_install - - # setup.py generates {c_ast,lextab,yacctab}.py with bytecode disabled. - python_optimize -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 38cdb7e494b35e2b346f15fcc6b320e60a561903 Author: Sam James gentoo org> AuthorDate: Sun Jun 12 12:45:55 2022 + Commit: Sam James gentoo org> CommitDate: Sun Jun 12 12:45:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38cdb7e4 dev-python/pycparser: Stabilize 2.21-r1 ALLARCHES, #851378 Signed-off-by: Sam James gentoo.org> dev-python/pycparser/pycparser-2.21-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21-r1.ebuild b/dev-python/pycparser/pycparser-2.21-r1.ebuild index 602a4e535710..cb4db63ebd19 100644 --- a/dev-python/pycparser/pycparser-2.21-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r1.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" dev-python/ply:=[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: e65d926537428b1767781d779be702cec427d346 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 12 05:49:24 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 12 05:49:24 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e65d9265 dev-python/pycparser: Mark ALLARCHES Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pycparser/metadata.xml b/dev-python/pycparser/metadata.xml index 45eebaf1fc8f..01a95276e3dc 100644 --- a/dev-python/pycparser/metadata.xml +++ b/dev-python/pycparser/metadata.xml @@ -5,6 +5,7 @@ pyt...@gentoo.org Python + pycparser eliben/pycparser
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 1d6cd9f96a9d34dd1b73d09fe8a4d7c27cad Author: Michał Górny gentoo org> AuthorDate: Tue May 10 21:19:57 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue May 10 21:52:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6c dev-python/pycparser: Enable py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.21-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21-r1.ebuild b/dev-python/pycparser/pycparser-2.21-r1.ebuild index 42027444d3ee..602a4e535710 100644 --- a/dev-python/pycparser/pycparser-2.21-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.21-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: c2d3fb4878771ba52615d920f97b5874d2d2b186 Author: Michał Górny gentoo org> AuthorDate: Tue May 10 21:18:13 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue May 10 21:52:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d3fb48 dev-python/pycparser: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.21-r1.ebuild | 65 +++ 1 file changed, 65 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.21-r1.ebuild b/dev-python/pycparser/pycparser-2.21-r1.ebuild new file mode 100644 index ..42027444d3ee --- /dev/null +++ b/dev-python/pycparser/pycparser-2.21-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE=" + https://github.com/eliben/pycparser/ + https://pypi.org/project/pycparser/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + dev-python/ply:=[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +distutils_enable_tests unittest + +python_prepare_all() { + # remove the original files to guarantee their regen + rm pycparser/{c_ast,lextab,yacctab}.py || die + + # kill sys.path manipulations to force the tests to use built files + sed -i -e '/sys\.path/d' tests/*.py || die + + # Ensure we can find tests in our directory + sed -i -e 's/from tests.test_util/from test_util/g' tests/test_*.py || die + + ln -s "${S}"/examples tests/examples || die + + rm tests/test_examples.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # Skip tests if cpp is not in PATH + type -P cpp >/dev/null || return 0 + # change workdir to avoid '.' import + cd tests || die + + # Ensure that 'cpp' is called with the right arguments + # Tests don't seem to always pass the include they intend to use. + mkdir -p "${T}"/bin || die + cat > "${T}"/bin/cpp <<-EOF || die + #!${BROOT}/bin/bash + exec ${BROOT}/usr/bin/cpp -I${S}/utils/fake_libc_include/ \$@ + EOF + chmod +x "${T}"/bin/cpp || die + + PATH="${T}/bin:${PATH}" eunittest +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 1ca423959beb6b580651813e8acac10fd346c2c1 Author: Michał Górny gentoo org> AuthorDate: Tue Dec 28 20:53:58 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue Dec 28 20:53:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca42395 dev-python/pycparser: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/Manifest | 1 - dev-python/pycparser/pycparser-2.20-r1.ebuild | 57 --- 2 files changed, 58 deletions(-) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index c619d5054644..9a45f69b12df 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,2 +1 @@ -DIST pycparser-2.20.tar.gz 161330 BLAKE2B 9a114e4b73e6c3c495bd78c393957146ec425eb5b15d72266cbf424f15e8d2e2e6402ef36d60a9dff41b393aab80fe1356befd25549517f398e129836a76b037 SHA512 ff0853c9f981b43b4f2e879350715c07b02cf9dab223d4980d8fe0a3138c98041b5f848a9355ae4f1cb45e7f137c03a88843008e18d77af9250e0d9c55f5ca1b DIST pycparser-2.21.tar.gz 170877 BLAKE2B ae6bf42dfc552bf1e3bfb5430cdb0c15b5e011ec53cbd03e0e2507c08a1a78690cefce2de134bd984caccc5dbde90661cb4c18df5c289217967213aac4d52404 SHA512 e61fbdde484d1cf74d4b27bdde40cf2da4b7028ca8ecd37c83d77473dab707d457321aecaf97da3b114c1d58a4eb200290b76f9c958044b57e5fed949895b5f0 diff --git a/dev-python/pycparser/pycparser-2.20-r1.ebuild b/dev-python/pycparser/pycparser-2.20-r1.ebuild deleted file mode 100644 index 2f543afcaf04.. --- a/dev-python/pycparser/pycparser-2.20-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" - -python_prepare_all() { - # remove the original files to guarantee their regen - rm pycparser/{c_ast,lextab,yacctab}.py || die - - # kill sys.path manipulations to force the tests to use built files - sed -i -e '/sys\.path/d' tests/*.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile - - # note: tables built by py3.5+ are incompatible with older versions - # because of 100 group limit of 're' module -- just generate them - # separately optimized for each target instead - pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - # Skip tests if cpp is not in PATH - type -P cpp >/dev/null || return 0 - # change workdir to avoid '.' import - cd tests || die - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # setup.py generates {c_ast,lextab,yacctab}.py with bytecode disabled. - python_optimize -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: a76290f8f6c7f48302836ff913afd3569b7a52e4 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Dec 28 20:52:13 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Dec 28 20:52:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a76290f8 dev-python/pycparser: Stabilize 2.21 ppc, #830113 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index 17016a4508de..8ab95ab95667 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 21250aaeb637856b6eeae1cf113772b7301dd344 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Dec 28 15:37:12 2021 + Commit: Sam James gentoo org> CommitDate: Tue Dec 28 20:41:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21250aae dev-python/pycparser: stable 2.21 for sparc, bug #830113 Package-Manager: Portage-3.0.28, Repoman-3.0.3 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index 8225a1a09d1f..17016a4508de 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: c3df0a745835dc30889d287e84bc9f5e3b111afd Author: Arthur Zamarin gentoo org> AuthorDate: Tue Dec 28 19:51:49 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Dec 28 19:51:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3df0a74 dev-python/pycparser: Stabilize 2.21 hppa, #830113 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index 5369e364964d..8225a1a09d1f 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 1ca7fc46100becc619299d0f27843d74f5b4f52c Author: Jakov Smolić gentoo org> AuthorDate: Mon Dec 27 19:18:07 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Dec 27 19:18:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca7fc46 dev-python/pycparser: Stabilize 2.21 x86, #830113 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index a3f0655e6996..5369e364964d 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 94ab793852848198f7d853a45e342b257e1ad11c Author: Jakov Smolić gentoo org> AuthorDate: Mon Dec 27 19:17:24 2021 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Dec 27 19:17:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ab7938 dev-python/pycparser: Stabilize 2.21 amd64, #830113 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index 456e92723d21..a3f0655e6996 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: e5293b0d86f9366387233f817701ee5f1c1b1119 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Dec 27 19:08:05 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Dec 27 19:08:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5293b0d dev-python/pycparser: Stabilize 2.21 ppc64, #830113 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index 3e83d71650e2..456e92723d21 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: fb00e49af6d2fbc5322e404b2698592a47eca4d6 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Dec 27 18:47:43 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Dec 27 18:47:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb00e49a dev-python/pycparser: Stabilize 2.21 arm64, #830113 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index 85bf605672ed..3e83d71650e2 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: eb92a1c4a8d3207cbb6c91f7486b4175113d685b Author: Arthur Zamarin gentoo org> AuthorDate: Mon Dec 27 18:47:17 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Dec 27 18:47:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb92a1c4 dev-python/pycparser: Stabilize 2.21 arm, #830113 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index 449a6b1bde3c..85bf605672ed 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: ea0104c7335f3ac762b508cabae7f0bdd6b6ef7f Author: Sam James gentoo org> AuthorDate: Fri Nov 26 08:57:05 2021 + Commit: Sam James gentoo org> CommitDate: Fri Nov 26 08:57:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0104c7 dev-python/pycparser: use d_e_t to get unittest_or_fail test dependency Closes: https://bugs.gentoo.org/827390 Signed-off-by: Sam James gentoo.org> dev-python/pycparser/pycparser-2.21.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild index 0f74443174f6..449a6b1bde3c 100644 --- a/dev-python/pycparser/pycparser-2.21.ebuild +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -20,6 +20,8 @@ RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}]" +distutils_enable_tests unittest + python_prepare_all() { # remove the original files to guarantee their regen rm pycparser/{c_ast,lextab,yacctab}.py || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: f1832cdac19a0b8da2eb1f07371516168bd0af69 Author: Sam James gentoo org> AuthorDate: Fri Nov 26 08:03:28 2021 + Commit: Sam James gentoo org> CommitDate: Fri Nov 26 08:20:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1832cda dev-python/pycparser: add 2.21 Signed-off-by: Sam James gentoo.org> dev-python/pycparser/Manifest | 1 + dev-python/pycparser/pycparser-2.21.ebuild | 74 ++ 2 files changed, 75 insertions(+) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index 5ec1265d1176..c619d5054644 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1 +1,2 @@ DIST pycparser-2.20.tar.gz 161330 BLAKE2B 9a114e4b73e6c3c495bd78c393957146ec425eb5b15d72266cbf424f15e8d2e2e6402ef36d60a9dff41b393aab80fe1356befd25549517f398e129836a76b037 SHA512 ff0853c9f981b43b4f2e879350715c07b02cf9dab223d4980d8fe0a3138c98041b5f848a9355ae4f1cb45e7f137c03a88843008e18d77af9250e0d9c55f5ca1b +DIST pycparser-2.21.tar.gz 170877 BLAKE2B ae6bf42dfc552bf1e3bfb5430cdb0c15b5e011ec53cbd03e0e2507c08a1a78690cefce2de134bd984caccc5dbde90661cb4c18df5c289217967213aac4d52404 SHA512 e61fbdde484d1cf74d4b27bdde40cf2da4b7028ca8ecd37c83d77473dab707d457321aecaf97da3b114c1d58a4eb200290b76f9c958044b57e5fed949895b5f0 diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild new file mode 100644 index ..0f74443174f6 --- /dev/null +++ b/dev-python/pycparser/pycparser-2.21.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE="https://github.com/eliben/pycparser"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_prepare_all() { + # remove the original files to guarantee their regen + rm pycparser/{c_ast,lextab,yacctab}.py || die + + # kill sys.path manipulations to force the tests to use built files + sed -i -e '/sys\.path/d' tests/*.py || die + + # Ensure we can find tests in our directory + sed -i -e 's/from tests.test_util/from test_util/g' tests/test_*.py || die + + ln -s "${S}"/examples tests/examples || die + + rm tests/test_examples.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile + + # note: tables built by py3.5+ are incompatible with older versions + # because of 100 group limit of 're' module -- just generate them + # separately optimized for each target instead + pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die + "${PYTHON}" _build_tables.py || die + popd > /dev/null || die +} + +python_test() { + # Skip tests if cpp is not in PATH + type -P cpp >/dev/null || return 0 + # change workdir to avoid '.' import + cd tests || die + + # Ensure that 'cpp' is called with the right arguments + # Tests don't seem to always pass the include they intend to use. + mkdir -p "${T}"/bin || die + cat > "${T}"/bin/cpp <<-EOF || die + #!${BROOT}/bin/bash + exec ${BROOT}/usr/bin/cpp -I${S}/utils/fake_libc_include/ \$@ + EOF + chmod +x "${T}"/bin/cpp || die + + PATH="${T}/bin:${PATH}" eunittest +} + +python_install() { + distutils-r1_python_install + + # setup.py generates {c_ast,lextab,yacctab}.py with bytecode disabled. + python_optimize +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 82fa568d276092306bedb9cf33432d1ccf5c1b11 Author: Michał Górny gentoo org> AuthorDate: Fri Aug 13 06:42:07 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri Aug 13 06:57:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fa568d dev-python/pycparser: Add EAPI upgrade note Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.20-r1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pycparser/pycparser-2.20-r1.ebuild b/dev-python/pycparser/pycparser-2.20-r1.ebuild index f84c2dda5a8..2f543afcaf0 100644 --- a/dev-python/pycparser/pycparser-2.20-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.20-r1.ebuild @@ -1,6 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep EAPI=7 PYTHON_COMPAT=( python3_{7..10} pypy3 )
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: ebe7464ceda3ea6833be2fe3c64ab9e8221bb82e Author: Michał Górny gentoo org> AuthorDate: Wed May 5 18:27:54 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed May 5 19:13:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe7464c dev-python/pycparser: Enable python3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.20-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20-r1.ebuild b/dev-python/pycparser/pycparser-2.20-r1.ebuild index 873583b5dd3..f84c2dda5a8 100644 --- a/dev-python/pycparser/pycparser-2.20-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.20-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: bf1da43780383f3e5bd65364a783e792427ebafe Author: Michał Górny gentoo org> AuthorDate: Fri Sep 25 19:57:36 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Sep 25 19:57:36 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf1da437 dev-python/pycparser: Remove py2.7 Signed-off-by: Michał Górny gentoo.org> .../pycparser/{pycparser-2.20.ebuild => pycparser-2.20-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20-r1.ebuild similarity index 96% rename from dev-python/pycparser/pycparser-2.20.ebuild rename to dev-python/pycparser/pycparser-2.20-r1.ebuild index 86f47ce182e..75845e89e7a 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 1856de7475fdd8f6e6fd9b0f67f71837a988e930 Author: Michał Górny gentoo org> AuthorDate: Mon May 25 18:59:15 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon May 25 19:27:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1856de74 dev-python/pycparser: Port to py3.9 Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 12172c1c82e..f70df58cbc1 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: ebbffbddc263b9dc81fc8081165f2c26dac945f8 Author: Mike Gilbert gentoo org> AuthorDate: Sun May 24 19:39:37 2020 + Commit: Mike Gilbert gentoo org> CommitDate: Sun May 24 19:40:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebbffbdd dev-python/pycparser: skip tests if cpp is not in PATH Bug: https://bugs.gentoo.org/719934 Signed-off-by: Mike Gilbert gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 4b222c379ee..12172c1c82e 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -41,6 +41,8 @@ python_compile() { } python_test() { + # Skip tests if cpp is not in PATH + type -P cpp >/dev/null || return 0 # change workdir to avoid '.' import cd tests || die "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: c8b4d4f6e0de55fb7d18119ea06196dae06bc6a6 Author: Mike Gilbert gentoo org> AuthorDate: Tue May 19 19:46:09 2020 + Commit: Mike Gilbert gentoo org> CommitDate: Tue May 19 19:47:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8b4d4f6 Revert "dev-python/pycparser: trick tests into using CPP variable" This reverts commit f3af4c3be7962780f471641f0d8d2f6b9c335cdc. Bug: https://bugs.gentoo.org/719934 Signed-off-by: Mike Gilbert gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 4227f14e0bf..4b222c379ee 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) -inherit distutils-r1 toolchain-funcs +inherit distutils-r1 DESCRIPTION="C parser and AST generator written in Python" HOMEPAGE="https://github.com/eliben/pycparser"; @@ -41,20 +41,9 @@ python_compile() { } python_test() { - # Trick the tests into using CPP variable - # https://bugs.gentoo.org/719934 - local CPP="$(tc-getCPP)" - mkdir -p "${T}"/bin || die - cat > "${T}"/bin/cpp <<-EOF || die - #!/bin/sh - exec ${CPP} "\$@" - EOF - chmod +x "${T}"/bin/cpp || die - local -x PATH="${T}/bin:${PATH}" - # change workdir to avoid '.' import cd tests || die - ${EPYTHON} -m unittest discover -v || die "Tests fail with ${EPYTHON}" + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } python_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 5b446a67125cf40dc7ee6d85e120c68c28a5d4c6 Author: Michał Górny gentoo org> AuthorDate: Mon May 11 17:34:31 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon May 11 17:34:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b446a67 dev-python/pycparser: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/Manifest | 1 - dev-python/pycparser/pycparser-2.19-r1.ebuild | 56 --- 2 files changed, 57 deletions(-) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index d57fc273385..5ec1265d117 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,2 +1 @@ -DIST pycparser-2.19.tar.gz 158295 BLAKE2B 8836914e7549517f0c23a1c75457beefd013161f19c51a9f2a236ebd69466edd11235bf0a3f59c5cbece9e9e287eeb24b707bfa5afc30fcb079d134dcd4d9a80 SHA512 7f830e1c9066ee2d297a55e2bf6db4bf6447b6d9da0145d11a88c3bb98505755fb7986eafa6e06ae0b7680838f5e5d6a6d188245ca5ad45c2a727587bac93ab5 DIST pycparser-2.20.tar.gz 161330 BLAKE2B 9a114e4b73e6c3c495bd78c393957146ec425eb5b15d72266cbf424f15e8d2e2e6402ef36d60a9dff41b393aab80fe1356befd25549517f398e129836a76b037 SHA512 ff0853c9f981b43b4f2e879350715c07b02cf9dab223d4980d8fe0a3138c98041b5f848a9355ae4f1cb45e7f137c03a88843008e18d77af9250e0d9c55f5ca1b diff --git a/dev-python/pycparser/pycparser-2.19-r1.ebuild b/dev-python/pycparser/pycparser-2.19-r1.ebuild deleted file mode 100644 index 758ae67d828..000 --- a/dev-python/pycparser/pycparser-2.19-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # remove the original files to guarantee their regen - rm pycparser/{c_ast,lextab,yacctab}.py || die - - # kill sys.path manipulations to force the tests to use built files - sed -i -e '/sys\.path/d' tests/*.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile - - # note: tables built by py3.5+ are incompatible with older versions - # because of 100 group limit of 're' module -- just generate them - # separately optimized for each target instead - pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - # change workdir to avoid '.' import - nosetests -v -w tests || die -} - -python_install() { - distutils-r1_python_install - - # setup.py generates {c_ast,lextab,yacctab}.py with bytecode disabled. - python_optimize -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: db1b559921fb7c51b517c73adf67c60848e4d25b Author: Sam James (sam_c) cmpct info> AuthorDate: Fri May 8 19:43:08 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Fri May 8 20:46:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db1b5599 dev-python/pycparser: arm64 stable (bug #720566) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Mart Raudsepp gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 109231bb7d7..4227f14e0bf 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: d85f67a1218e395a8cf20536d11b5b801dee05af Author: Sergei Trofimovich gentoo org> AuthorDate: Fri May 8 09:27:07 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri May 8 09:30:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85f67a1 dev-python/pycparser: stable 2.20 for hppa, bug #720566 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index bf979cdd15b..109231bb7d7 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: a10b0377c58fea562b3eaac2ca3be89f0504f092 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon May 4 16:50:41 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon May 4 16:50:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a10b0377 dev-python/pycparser: ppc stable wrt bug #720566 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 85123b83a48..bf979cdd15b 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: c36fff22937811cf353d061365e8da36a807edb3 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun May 3 15:11:43 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun May 3 15:11:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36fff22 dev-python/pycparser: ppc64 stable wrt bug #720566 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 11a208dc776..4e608ef957a 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: d532d632292d915779087fef87626f20443da04d Author: Agostino Sarubbo gentoo org> AuthorDate: Sun May 3 13:00:05 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun May 3 13:00:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d532d632 dev-python/pycparser: sparc stable wrt bug #720566 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index a6a1083944d..11a208dc776 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 1015fc3276b743400bfc3d17479e83b90ea9063f Author: Agostino Sarubbo gentoo org> AuthorDate: Sun May 3 12:58:29 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun May 3 12:58:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1015fc32 dev-python/pycparser: arm stable wrt bug #720566 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 6f0c2fbf5a0..a6a1083944d 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: c9005dd5ef97fd88ebba2c18d71e44b16699c2b6 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun May 3 12:31:24 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun May 3 12:31:24 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9005dd5 dev-python/pycparser: s390 stable wrt bug #720566 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="s390" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 5e2fd9f8a73..6f0c2fbf5a0 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 03b2ea43b521af45c13603b862e59e0ea84b7b1c Author: Agostino Sarubbo gentoo org> AuthorDate: Sun May 3 12:28:22 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun May 3 12:28:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b2ea43 dev-python/pycparser: amd64 stable wrt bug #720566 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 1dcff2020fc..5e2fd9f8a73 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: f3af4c3be7962780f471641f0d8d2f6b9c335cdc Author: Mike Gilbert gentoo org> AuthorDate: Sat May 2 21:27:50 2020 + Commit: Mike Gilbert gentoo org> CommitDate: Sat May 2 21:27:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3af4c3b dev-python/pycparser: trick tests into using CPP variable Closes: https://bugs.gentoo.org/719934 Signed-off-by: Mike Gilbert gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 7f1f79c16a8..1dcff2020fc 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 toolchain-funcs DESCRIPTION="C parser and AST generator written in Python" HOMEPAGE="https://github.com/eliben/pycparser"; @@ -41,9 +41,20 @@ python_compile() { } python_test() { + # Trick the tests into using CPP variable + # https://bugs.gentoo.org/719934 + local CPP="$(tc-getCPP)" + mkdir -p "${T}"/bin || die + cat > "${T}"/bin/cpp <<-EOF || die + #!/bin/sh + exec ${CPP} "\$@" + EOF + chmod +x "${T}"/bin/cpp || die + local -x PATH="${T}/bin:${PATH}" + # change workdir to avoid '.' import cd tests || die - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" + ${EPYTHON} -m unittest discover -v || die "Tests fail with ${EPYTHON}" } python_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: a232e6c76a6150b6d53a58a46aa4b99e28fcb841 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 5 05:34:51 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 5 05:50:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a232e6c7 dev-python/pycparser: Bump to 2.20, remove nose dep Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/Manifest | 1 + dev-python/pycparser/pycparser-2.20.ebuild | 54 ++ 2 files changed, 55 insertions(+) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index a056403eb62..f87da52800d 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,3 +1,4 @@ DIST pycparser-2.14.tar.gz 223295 BLAKE2B 13dd4e36d7239db4fd6dfb77f08088bdbffa897ab75d748da5bd7297fe0a7dd751ba7153f8bf15f93494e347c653d1ebc7250907d2ccc555e785830e731e93dc SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 DIST pycparser-2.18.tar.gz 245897 BLAKE2B 2f47263c73763f9d76edcb0d90aacd2e6cf0a68ed2e8c5825a0788a5ccb6574167220a5bb7605b2c11dda8956ce8fb1ad28eeb8e91fed7aa0282191b11478b63 SHA512 4754e4e7556d21da328bf7dbabf72f940c9b18f1457260d48208033b05e576919f45ab399e86ea49e82120116980d7d6f53e8b959d21b7b03a3b5bbea3672f13 DIST pycparser-2.19.tar.gz 158295 BLAKE2B 8836914e7549517f0c23a1c75457beefd013161f19c51a9f2a236ebd69466edd11235bf0a3f59c5cbece9e9e287eeb24b707bfa5afc30fcb079d134dcd4d9a80 SHA512 7f830e1c9066ee2d297a55e2bf6db4bf6447b6d9da0145d11a88c3bb98505755fb7986eafa6e06ae0b7680838f5e5d6a6d188245ca5ad45c2a727587bac93ab5 +DIST pycparser-2.20.tar.gz 161330 BLAKE2B 9a114e4b73e6c3c495bd78c393957146ec425eb5b15d72266cbf424f15e8d2e2e6402ef36d60a9dff41b393aab80fe1356befd25549517f398e129836a76b037 SHA512 ff0853c9f981b43b4f2e879350715c07b02cf9dab223d4980d8fe0a3138c98041b5f848a9355ae4f1cb45e7f137c03a88843008e18d77af9250e0d9c55f5ca1b diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild new file mode 100644 index 000..57cb24f1d60 --- /dev/null +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE="https://github.com/eliben/pycparser"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_prepare_all() { + # remove the original files to guarantee their regen + rm pycparser/{c_ast,lextab,yacctab}.py || die + + # kill sys.path manipulations to force the tests to use built files + sed -i -e '/sys\.path/d' tests/*.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile + + # note: tables built by py3.5+ are incompatible with older versions + # because of 100 group limit of 're' module -- just generate them + # separately optimized for each target instead + pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die + "${PYTHON}" _build_tables.py || die + popd > /dev/null || die +} + +python_test() { + # change workdir to avoid '.' import + cd tests || die + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # setup.py generates {c_ast,lextab,yacctab}.py with bytecode disabled. + python_optimize +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 0b60b05c87b8a0d3e1a316f6e1651e63d327566d Author: Aaron Bauman gentoo org> AuthorDate: Wed Dec 4 06:37:50 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Wed Dec 4 06:47:33 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b60b05c dev-python/pycparser: arm64 stable Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.80, Repoman-2.3.19 dev-python/pycparser/pycparser-2.19-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.19-r1.ebuild b/dev-python/pycparser/pycparser-2.19-r1.ebuild index 75e1271b5f5..e38e5d51fcb 100644 --- a/dev-python/pycparser/pycparser-2.19-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.19-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 4a40b79642748c3c0d4cc955e9981fb8babb85b3 Author: Mike Gilbert gentoo org> AuthorDate: Mon Nov 18 16:17:48 2019 + Commit: Mike Gilbert gentoo org> CommitDate: Mon Nov 18 16:17:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a40b796 dev-python/pycparser: restore python_compile function Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2 Signed-off-by: Mike Gilbert gentoo.org> dev-python/pycparser/pycparser-2.19-r1.ebuild | 11 +++ 1 file changed, 11 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.19-r1.ebuild b/dev-python/pycparser/pycparser-2.19-r1.ebuild index 3b8d5a5df7d..18ac75c4313 100644 --- a/dev-python/pycparser/pycparser-2.19-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.19-r1.ebuild @@ -32,6 +32,17 @@ python_prepare_all() { distutils-r1_python_prepare_all } +python_compile() { + distutils-r1_python_compile + + # note: tables built by py3.5+ are incompatible with older versions + # because of 100 group limit of 're' module -- just generate them + # separately optimized for each target instead + pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die + "${PYTHON}" _build_tables.py || die + popd > /dev/null || die +} + python_test() { # change workdir to avoid '.' import nosetests -v -w tests || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 534369f45a07089970f310a90978057da74504eb Author: Mike Gilbert gentoo org> AuthorDate: Sun Nov 17 22:56:23 2019 + Commit: Mike Gilbert gentoo org> CommitDate: Sun Nov 17 22:58:59 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534369f4 dev-python/pycparser: ensure modules are compiled Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2 Signed-off-by: Mike Gilbert gentoo.org> ...{pycparser-2.19.ebuild => pycparser-2.19-r1.ebuild} | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.19.ebuild b/dev-python/pycparser/pycparser-2.19-r1.ebuild similarity index 76% rename from dev-python/pycparser/pycparser-2.19.ebuild rename to dev-python/pycparser/pycparser-2.19-r1.ebuild index 3f40a0e4ed7..3b8d5a5df7d 100644 --- a/dev-python/pycparser/pycparser-2.19.ebuild +++ b/dev-python/pycparser/pycparser-2.19-r1.ebuild @@ -32,18 +32,14 @@ python_prepare_all() { distutils-r1_python_prepare_all } -python_compile() { - distutils-r1_python_compile - - # note: tables built by py3.5+ are incompatible with older versions - # because of 100 group limit of 're' module -- just generate them - # separately optimized for each target instead - pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - python_test() { # change workdir to avoid '.' import nosetests -v -w tests || die } + +python_install() { + distutils-r1_python_install + + # setup.py generates {c_ast,lextab,yacctab}.py with bytecode disabled. + python_optimize +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 17204b5fd07c536260c44e240a76c73091a0a22b Author: Michał Górny gentoo org> AuthorDate: Sat Nov 16 22:13:48 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 16 23:00:53 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17204b5f dev-python/pycparser: Enable py3.8 Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.19.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.19.ebuild b/dev-python/pycparser/pycparser-2.19.ebuild index 3fee4c55f69..3f40a0e4ed7 100644 --- a/dev-python/pycparser/pycparser-2.19.ebuild +++ b/dev-python/pycparser/pycparser-2.19.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 ) inherit distutils-r1 @@ -15,6 +15,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 2941be63d6ae770647b4a1ac716b92f91d592fdc Author: Michał Górny gentoo org> AuthorDate: Sat Nov 16 22:22:46 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 16 23:00:54 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2941be63 dev-python/pycparser: Fix MissingTestRestrict Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/pycparser-2.14.ebuild| 1 + dev-python/pycparser/pycparser-2.18-r1.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index 9f24a5f8d7f..15ff90da376 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -15,6 +15,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} diff --git a/dev-python/pycparser/pycparser-2.18-r1.ebuild b/dev-python/pycparser/pycparser-2.18-r1.ebuild index db28bf77435..508a13602ef 100644 --- a/dev-python/pycparser/pycparser-2.18-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.18-r1.ebuild @@ -15,6 +15,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: fabd76609d23df81f0d3c8fc0c0bebfb8fba7d7c Author: Michał Górny gentoo org> AuthorDate: Sun Nov 25 08:41:01 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 25 09:08:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fabd7660 dev-python/pycparser: Bump to 2.19 (bugfix) Closes: https://bugs.gentoo.org/671830 Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/Manifest | 1 + dev-python/pycparser/pycparser-2.19.ebuild | 48 ++ 2 files changed, 49 insertions(+) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index a8c8f9d2143..a056403eb62 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,2 +1,3 @@ DIST pycparser-2.14.tar.gz 223295 BLAKE2B 13dd4e36d7239db4fd6dfb77f08088bdbffa897ab75d748da5bd7297fe0a7dd751ba7153f8bf15f93494e347c653d1ebc7250907d2ccc555e785830e731e93dc SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 DIST pycparser-2.18.tar.gz 245897 BLAKE2B 2f47263c73763f9d76edcb0d90aacd2e6cf0a68ed2e8c5825a0788a5ccb6574167220a5bb7605b2c11dda8956ce8fb1ad28eeb8e91fed7aa0282191b11478b63 SHA512 4754e4e7556d21da328bf7dbabf72f940c9b18f1457260d48208033b05e576919f45ab399e86ea49e82120116980d7d6f53e8b959d21b7b03a3b5bbea3672f13 +DIST pycparser-2.19.tar.gz 158295 BLAKE2B 8836914e7549517f0c23a1c75457beefd013161f19c51a9f2a236ebd69466edd11235bf0a3f59c5cbece9e9e287eeb24b707bfa5afc30fcb079d134dcd4d9a80 SHA512 7f830e1c9066ee2d297a55e2bf6db4bf6447b6d9da0145d11a88c3bb98505755fb7986eafa6e06ae0b7680838f5e5d6a6d188245ca5ad45c2a727587bac93ab5 diff --git a/dev-python/pycparser/pycparser-2.19.ebuild b/dev-python/pycparser/pycparser-2.19.ebuild new file mode 100644 index 000..238e14f6387 --- /dev/null +++ b/dev-python/pycparser/pycparser-2.19.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE="https://github.com/eliben/pycparser"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # remove the original files to guarantee their regen + rm pycparser/{c_ast,lextab,yacctab}.py || die + + # kill sys.path manipulations to force the tests to use built files + sed -i -e '/sys\.path/d' tests/*.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile + + # note: tables built by py3.5+ are incompatible with older versions + # because of 100 group limit of 're' module -- just generate them + # separately optimized for each target instead + pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die + "${PYTHON}" _build_tables.py || die + popd > /dev/null || die +} + +python_test() { + # change workdir to avoid '.' import + nosetests -v -w tests || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: b789738aacb59663ef075ce5598f0fd83343d629 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 25 08:41:11 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 25 09:08:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b789738a dev-python/pycparser: Drop old Signed-off-by: Michał Górny gentoo.org> dev-python/pycparser/Manifest | 1 - dev-python/pycparser/pycparser-2.17.ebuild | 42 -- 2 files changed, 43 deletions(-) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index a9b5042d377..a8c8f9d2143 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,3 +1,2 @@ DIST pycparser-2.14.tar.gz 223295 BLAKE2B 13dd4e36d7239db4fd6dfb77f08088bdbffa897ab75d748da5bd7297fe0a7dd751ba7153f8bf15f93494e347c653d1ebc7250907d2ccc555e785830e731e93dc SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 -DIST pycparser-2.17.tar.gz 231163 BLAKE2B b264fbdf235f63559c96d103ca42fd0faf2c5e125420e75503e7dc2cc6e86a23347b9070a33b1e28721b919d89d0281b69b04c2761b180fa535c748933392172 SHA512 c9caaa8d256748e0623d077b11931abb38d19367136c70a835f7587e1f7ceb64f3acb7a983dcb68bedd2cf187517762a5753844e8ed58d1d9ed6f364c55839b4 DIST pycparser-2.18.tar.gz 245897 BLAKE2B 2f47263c73763f9d76edcb0d90aacd2e6cf0a68ed2e8c5825a0788a5ccb6574167220a5bb7605b2c11dda8956ce8fb1ad28eeb8e91fed7aa0282191b11478b63 SHA512 4754e4e7556d21da328bf7dbabf72f940c9b18f1457260d48208033b05e576919f45ab399e86ea49e82120116980d7d6f53e8b959d21b7b03a3b5bbea3672f13 diff --git a/dev-python/pycparser/pycparser-2.17.ebuild b/dev-python/pycparser/pycparser-2.17.ebuild deleted file mode 100644 index ba18c49470c..000 --- a/dev-python/pycparser/pycparser-2.17.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="test" - -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -pkg_pretend() { - if has_version "=dev-python/pycparser-2.16"; then - eerror "You have a broken version of dev-python/pycparser installed." - eerror "Please remove the broken version before continuing." - eerror "eg. emerge --unmerge =dev-python/pycparser-2.16" - die "Broken dev-python/pycparser" - fi -} - -python_compile() { - distutils-r1_python_compile - pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - nosetests || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: bf30c4745172ad597258fd8794b07fd90fba6782 Author: Fabian Groffen gentoo org> AuthorDate: Mon Nov 19 20:00:32 2018 + Commit: Fabian Groffen gentoo org> CommitDate: Mon Nov 19 21:14:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf30c474 dev-python/pycparser: marked ~*-solaris Signed-off-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/pycparser/pycparser-2.18-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.18-r1.ebuild b/dev-python/pycparser/pycparser-2.18-r1.ebuild index 84a6436fe58..1c9fd1b2295 100644 --- a/dev-python/pycparser/pycparser-2.18-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.18-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 71ae7971bbb1fcd7f5ad6e2099382480235306bb Author: Michał Górny gentoo org> AuthorDate: Wed Feb 21 19:28:09 2018 + Commit: Michał Górny gentoo org> CommitDate: Wed Feb 21 20:18:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ae7971 dev-python/pycparser: Tested on ~amd64-fbsd dev-python/pycparser/pycparser-2.18-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.18-r1.ebuild b/dev-python/pycparser/pycparser-2.18-r1.ebuild index 6868fa40924..2d84ac8f8c7 100644 --- a/dev-python/pycparser/pycparser-2.18-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.18-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: fa7adf5bc08063e6105a9f864e03a634f48c4a34 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 27 18:16:12 2017 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 27 18:16:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7adf5b dev-python/pycparser: Fix syntax error dev-python/pycparser/pycparser-2.18-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.18-r1.ebuild b/dev-python/pycparser/pycparser-2.18-r1.ebuild index 5a2d172c90b..6868fa40924 100644 --- a/dev-python/pycparser/pycparser-2.18-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.18-r1.ebuild @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]:=" +RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: d94be5cc8d3b68f6c6a09f42c9859292d1bb8f1a Author: Michał Górny gentoo org> AuthorDate: Sun Aug 27 18:12:31 2017 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 27 18:14:24 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d94be5cc dev-python/pycparser: Use := on dev-python/ply for tables dev-python/pycparser/pycparser-2.18-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.18-r1.ebuild b/dev-python/pycparser/pycparser-2.18-r1.ebuild index 9cbbb4ac2e8..5a2d172c90b 100644 --- a/dev-python/pycparser/pycparser-2.18-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.18-r1.ebuild @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" +RDEPEND="dev-python/ply[${PYTHON_USEDEP}]:=" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/, dev-python/pycparser/files/
commit: d1e3eb8faa09741a67cc56a0ff6d5332a7bc6068 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 27 18:07:13 2017 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 27 18:07:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e3eb8f dev-python/pycparser: Backport upstream -OO patch, #628386 dev-python/pycparser/files/pycparser-2.18-OO.patch | 56 ++ dev-python/pycparser/pycparser-2.18-r1.ebuild | 4 ++ 2 files changed, 60 insertions(+) diff --git a/dev-python/pycparser/files/pycparser-2.18-OO.patch b/dev-python/pycparser/files/pycparser-2.18-OO.patch new file mode 100644 index 000..ae42b2b9bd1 --- /dev/null +++ b/dev-python/pycparser/files/pycparser-2.18-OO.patch @@ -0,0 +1,56 @@ +From 673accec311a027c22b0718d753f8da922915305 Mon Sep 17 00:00:00 2001 +From: Eli Bendersky +Date: Thu, 13 Jul 2017 20:25:29 -0700 +Subject: [PATCH] Address an import of pycparser in -OO mode. + +In this mode there are no docstrings; we don't want an instantiation of CParser +to fail, though it won't actually work correctly if used. + +See #197 and #198 +--- + pycparser/plyparser.py | 21 +++-- + 1 file changed, 19 insertions(+), 2 deletions(-) + +diff --git a/pycparser/plyparser.py b/pycparser/plyparser.py +index af91922..b6640fa 100644 +--- a/pycparser/plyparser.py b/pycparser/plyparser.py +@@ -8,6 +8,7 @@ + # License: BSD + #- + ++import warnings + + class Coord(object): + """ Coordinates of a syntactic element. Consists of: +@@ -87,12 +88,28 @@ def template(cls): + + See `parameterized` for more information on parameterized rules. + """ ++issued_nodoc_warning = False + for attr_name in dir(cls): + if attr_name.startswith('p_'): + method = getattr(cls, attr_name) + if hasattr(method, '_params'): +-delattr(cls, attr_name) # Remove template method +-_create_param_rules(cls, method) ++# Remove the template method ++delattr(cls, attr_name) ++# Create parameterized rules from this method; only run this if ++# the method has a docstring. This is to address an issue when ++# pycparser's users are installed in -OO mode which strips ++# docstrings away. ++# See: https://github.com/eliben/pycparser/pull/198/ and ++# https://github.com/eliben/pycparser/issues/197 ++# for discussion. ++if method.__doc__ is not None: ++_create_param_rules(cls, method) ++elif not issued_nodoc_warning: ++warnings.warn( ++'parsing methods must have __doc__ for pycparser to work properly', ++RuntimeWarning, ++stacklevel=2) ++issued_nodoc_warning = True + return cls + + diff --git a/dev-python/pycparser/pycparser-2.18-r1.ebuild b/dev-python/pycparser/pycparser-2.18-r1.ebuild index 3fb094f6ff3..9cbbb4ac2e8 100644 --- a/dev-python/pycparser/pycparser-2.18-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.18-r1.ebuild @@ -21,6 +21,10 @@ DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )" +PATCHES=( + "${FILESDIR}"/pycparser-2.18-OO.patch +) + python_prepare_all() { # remove the original files to guarantee their regen rm pycparser/{c_ast,lextab,yacctab}.py || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: d2a9def05500f4e6f403ff56ad9cc54aede11ee7 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 27 17:59:40 2017 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 27 18:07:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2a9def0 dev-python/pycparser: Enforce regenerating tables Remove the pregenerated tables provided in the distfile to force regenerating them. Generate the tables for every Python implementation separately to avoid incompatibility/underoptimization problems (tables built by Python 3.5+ are incompatible with older Python versions that have 100 group-in-regex limit). ...pycparser-2.18.ebuild => pycparser-2.18-r1.ebuild} | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.18.ebuild b/dev-python/pycparser/pycparser-2.18-r1.ebuild similarity index 59% rename from dev-python/pycparser/pycparser-2.18.ebuild rename to dev-python/pycparser/pycparser-2.18-r1.ebuild index 292106b4124..3fb094f6ff3 100644 --- a/dev-python/pycparser/pycparser-2.18.ebuild +++ b/dev-python/pycparser/pycparser-2.18-r1.ebuild @@ -21,13 +21,28 @@ DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )" +python_prepare_all() { + # remove the original files to guarantee their regen + rm pycparser/{c_ast,lextab,yacctab}.py || die + + # kill sys.path manipulations to force the tests to use built files + sed -i -e '/sys\.path/d' tests/*.py || die + + distutils-r1_python_prepare_all +} + python_compile() { distutils-r1_python_compile - pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die + + # note: tables built by py3.5+ are incompatible with older versions + # because of 100 group limit of 're' module -- just generate them + # separately optimized for each target instead + pushd "${BUILD_DIR}"/lib/pycparser > /dev/null || die "${PYTHON}" _build_tables.py || die popd > /dev/null || die } python_test() { - nosetests || die + # change workdir to avoid '.' import + nosetests -v -w tests || die }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: d2cab53dabace9d2d28128151278ecadc5988d0d Author: Tim Harder gentoo org> AuthorDate: Sun Aug 20 03:29:46 2017 + Commit: Tim Harder gentoo org> CommitDate: Sun Aug 20 03:31:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2cab53d dev-python/pycparser: version bump to 2.18 dev-python/pycparser/Manifest | 1 + dev-python/pycparser/pycparser-2.18.ebuild | 33 ++ 2 files changed, 34 insertions(+) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index a49e511554f..a7b9b7ef9dc 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,2 +1,3 @@ DIST pycparser-2.14.tar.gz 223295 SHA256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 WHIRLPOOL 4a541ce696298a355d4e3325a10dffd47bd26756b0164da82b70090310edfacf0428ed9e26de7be7e3d4c2c952ee664262a212562852fe29f909ab0631bfd79f DIST pycparser-2.17.tar.gz 231163 SHA256 0aac31e917c24cb3357f5a4d5566f2cc91a19ca41862f6c3c22dc60a629673b6 SHA512 c9caaa8d256748e0623d077b11931abb38d19367136c70a835f7587e1f7ceb64f3acb7a983dcb68bedd2cf187517762a5753844e8ed58d1d9ed6f364c55839b4 WHIRLPOOL 4d3585a8c95add8b607bb79b89f8c00d16ab9361cfc72b65a5112b756b8d965cdc9c19af36ab7a73647425788e9121eafd6b0da01c2ca8de6d2b00ed5d097bba +DIST pycparser-2.18.tar.gz 245897 SHA256 99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226 SHA512 4754e4e7556d21da328bf7dbabf72f940c9b18f1457260d48208033b05e576919f45ab399e86ea49e82120116980d7d6f53e8b959d21b7b03a3b5bbea3672f13 WHIRLPOOL de6661b661a5b85f39a53183eccfd99d8a89f87e717630964ed1d988b4dd1b5e7ffe7aae6f034fafc2e73b40871dbd75ddf21663356d3152f989d244512019c7 diff --git a/dev-python/pycparser/pycparser-2.18.ebuild b/dev-python/pycparser/pycparser-2.18.ebuild new file mode 100644 index 000..292106b4124 --- /dev/null +++ b/dev-python/pycparser/pycparser-2.18.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE="https://github.com/eliben/pycparser"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="test" + +RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_compile() { + distutils-r1_python_compile + pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die + "${PYTHON}" _build_tables.py || die + popd > /dev/null || die +} + +python_test() { + nosetests || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: f81b66838f3193d94cf8beda6c2b22d163f6d685 Author: Michał Górny gentoo org> AuthorDate: Wed May 3 10:42:30 2017 + Commit: Michał Górny gentoo org> CommitDate: Wed May 3 11:02:30 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f81b6683 dev-python/pycparser: Clean old versions up dev-python/pycparser/Manifest | 1 - dev-python/pycparser/pycparser-2.16-r1.ebuild | 48 --- 2 files changed, 49 deletions(-) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index 6f6932018b2..a49e511554f 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,3 +1,2 @@ DIST pycparser-2.14.tar.gz 223295 SHA256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 WHIRLPOOL 4a541ce696298a355d4e3325a10dffd47bd26756b0164da82b70090310edfacf0428ed9e26de7be7e3d4c2c952ee664262a212562852fe29f909ab0631bfd79f -DIST pycparser-2.16.tar.gz 230060 SHA256 108f9ff23869ae2f8b38e481e7b4b4d4de1e32be968f29bbe303d629c34a6260 SHA512 854c93b8c75aeecf7b3df61ee181693e31e7cf59d6a695fd1b32ff8baf5916bc38f9574af6d0db888764eb756f1dc06555e83c8d990e1dc0ddad2b03db23ecab WHIRLPOOL 1fa47f0526ef892356fc7eaab6541825ce9ddb34033574926680c0983b070c8429ff9269d28e98d0bd47bd1964624fb9662b2b3433aaeca8ee172fe091d24796 DIST pycparser-2.17.tar.gz 231163 SHA256 0aac31e917c24cb3357f5a4d5566f2cc91a19ca41862f6c3c22dc60a629673b6 SHA512 c9caaa8d256748e0623d077b11931abb38d19367136c70a835f7587e1f7ceb64f3acb7a983dcb68bedd2cf187517762a5753844e8ed58d1d9ed6f364c55839b4 WHIRLPOOL 4d3585a8c95add8b607bb79b89f8c00d16ab9361cfc72b65a5112b756b8d965cdc9c19af36ab7a73647425788e9121eafd6b0da01c2ca8de6d2b00ed5d097bba diff --git a/dev-python/pycparser/pycparser-2.16-r1.ebuild b/dev-python/pycparser/pycparser-2.16-r1.ebuild deleted file mode 100644 index c5ee9a75ad0..000 --- a/dev-python/pycparser/pycparser-2.16-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="test" - -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -pkg_pretend() { - if has_version "=dev-python/pycparser-2.16"; then - eerror "You have a broken version of dev-python/pycparser installed." - eerror "Please remove the broken version before continuing." - eerror "eg. emerge --unmerge =dev-python/pycparser-2.16" - die "Broken dev-python/pycparser" - fi -} - -python_prepare_all() { - # Bad permissions in tarball - chmod -R go+rX "${S}" || die - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile - pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - nosetests || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: d67d9947b0fa5967dc13bcff4f8a7240c4386877 Author: Fabian Groffen gentoo org> AuthorDate: Sun Jan 29 17:12:58 2017 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Jan 29 17:15:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d67d9947 dev-python/pycparser: dropped ~x86-freebsd ~x86-interix Package-Manager: portage-2.3.3 dev-python/pycparser/pycparser-2.14.ebuild| 4 ++-- dev-python/pycparser/pycparser-2.16-r1.ebuild | 4 ++-- dev-python/pycparser/pycparser-2.17.ebuild| 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index 23cc248..1a730ec 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" diff --git a/dev-python/pycparser/pycparser-2.16-r1.ebuild b/dev-python/pycparser/pycparser-2.16-r1.ebuild index 7b5f559..0364750 100644 --- a/dev-python/pycparser/pycparser-2.16-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.16-r1.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 # $Id$ @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" diff --git a/dev-python/pycparser/pycparser-2.17.ebuild b/dev-python/pycparser/pycparser-2.17.ebuild index d201372..fcba9c5 100644 --- a/dev-python/pycparser/pycparser-2.17.ebuild +++ b/dev-python/pycparser/pycparser-2.17.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 # $Id$ @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: ff39bee0eeb27a3019e5895b0b7f4a33d19451b2 Author: Lars Wendler gentoo org> AuthorDate: Thu Nov 3 09:14:50 2016 + Commit: Lars Wendler gentoo org> CommitDate: Thu Nov 3 09:15:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff39bee0 dev-python/pycparser: Bump to version 2.17 Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler gentoo.org> dev-python/pycparser/Manifest | 1 + dev-python/pycparser/pycparser-2.17.ebuild | 43 ++ 2 files changed, 44 insertions(+) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index d1ca0fe..6f69320 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,2 +1,3 @@ DIST pycparser-2.14.tar.gz 223295 SHA256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 WHIRLPOOL 4a541ce696298a355d4e3325a10dffd47bd26756b0164da82b70090310edfacf0428ed9e26de7be7e3d4c2c952ee664262a212562852fe29f909ab0631bfd79f DIST pycparser-2.16.tar.gz 230060 SHA256 108f9ff23869ae2f8b38e481e7b4b4d4de1e32be968f29bbe303d629c34a6260 SHA512 854c93b8c75aeecf7b3df61ee181693e31e7cf59d6a695fd1b32ff8baf5916bc38f9574af6d0db888764eb756f1dc06555e83c8d990e1dc0ddad2b03db23ecab WHIRLPOOL 1fa47f0526ef892356fc7eaab6541825ce9ddb34033574926680c0983b070c8429ff9269d28e98d0bd47bd1964624fb9662b2b3433aaeca8ee172fe091d24796 +DIST pycparser-2.17.tar.gz 231163 SHA256 0aac31e917c24cb3357f5a4d5566f2cc91a19ca41862f6c3c22dc60a629673b6 SHA512 c9caaa8d256748e0623d077b11931abb38d19367136c70a835f7587e1f7ceb64f3acb7a983dcb68bedd2cf187517762a5753844e8ed58d1d9ed6f364c55839b4 WHIRLPOOL 4d3585a8c95add8b607bb79b89f8c00d16ab9361cfc72b65a5112b756b8d965cdc9c19af36ab7a73647425788e9121eafd6b0da01c2ca8de6d2b00ed5d097bba diff --git a/dev-python/pycparser/pycparser-2.17.ebuild b/dev-python/pycparser/pycparser-2.17.ebuild new file mode 100644 index ..d201372 --- /dev/null +++ b/dev-python/pycparser/pycparser-2.17.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE="https://github.com/eliben/pycparser"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="test" + +RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +pkg_pretend() { + if has_version "=dev-python/pycparser-2.16"; then + eerror "You have a broken version of dev-python/pycparser installed." + eerror "Please remove the broken version before continuing." + eerror "eg. emerge --unmerge =dev-python/pycparser-2.16" + die "Broken dev-python/pycparser" + fi +} + +python_compile() { + distutils-r1_python_compile + pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die + "${PYTHON}" _build_tables.py || die + popd > /dev/null || die +} + +python_test() { + nosetests || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: eebba2385e89f4390d45299d9b3aa48e87c13f53 Author: Mike Gilbert gentoo org> AuthorDate: Tue Oct 25 14:18:24 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Tue Oct 25 14:19:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eebba238 dev-python/pycparser: add pkg_pretend check for broken version Having the broken pycparser-2.16 installed breaks installation of all setuptools packages, including the 2.16-r1 revbump. Package-Manager: portage-2.3.2 dev-python/pycparser/pycparser-2.16-r1.ebuild | 9 + 1 file changed, 9 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.16-r1.ebuild b/dev-python/pycparser/pycparser-2.16-r1.ebuild index 05d488f..4a1f96d 100644 --- a/dev-python/pycparser/pycparser-2.16-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.16-r1.ebuild @@ -22,6 +22,15 @@ DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )" +pkg_pretend() { + if has_version "=dev-python/pycparser-2.16"; then + eerror "You have a broken version of dev-python/pycparser installed." + eerror "Please remove the broken version before continuing." + eerror "eg. emerge --unmerge =dev-python/pycparser-2.16" + die "Broken dev-python/pycparser" + fi +} + python_prepare_all() { # Bad permissions in tarball chmod -R go+rX "${S}" || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 97687fafc49b784243fbbfc2d911eb99d8f9423b Author: Mike Gilbert gentoo org> AuthorDate: Mon Oct 24 16:00:16 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Mon Oct 24 16:00:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97687faf dev-python/pycparser: tidy chmod slightly Package-Manager: portage-2.3.2 dev-python/pycparser/pycparser-2.16-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.16-r1.ebuild b/dev-python/pycparser/pycparser-2.16-r1.ebuild index 800fc5a..05d488f 100644 --- a/dev-python/pycparser/pycparser-2.16-r1.ebuild +++ b/dev-python/pycparser/pycparser-2.16-r1.ebuild @@ -24,7 +24,7 @@ DEPEND="${RDEPEND} python_prepare_all() { # Bad permissions in tarball - chmod -R g+rX,o+rX "${S}" || die + chmod -R go+rX "${S}" || die distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 24ecc278221551081caa262dd1187756414eac1a Author: Mike Gilbert gentoo org> AuthorDate: Mon Oct 24 15:56:05 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Mon Oct 24 15:56:59 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ecc278 dev-python/pycparser: fix file permissions Package-Manager: portage-2.3.2 .../pycparser/{pycparser-2.16.ebuild => pycparser-2.16-r1.ebuild} | 6 ++ 1 file changed, 6 insertions(+) diff --git a/dev-python/pycparser/pycparser-2.16.ebuild b/dev-python/pycparser/pycparser-2.16-r1.ebuild similarity index 88% rename from dev-python/pycparser/pycparser-2.16.ebuild rename to dev-python/pycparser/pycparser-2.16-r1.ebuild index d626ba1..800fc5a 100644 --- a/dev-python/pycparser/pycparser-2.16.ebuild +++ b/dev-python/pycparser/pycparser-2.16-r1.ebuild @@ -22,6 +22,12 @@ DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )" +python_prepare_all() { + # Bad permissions in tarball + chmod -R g+rX,o+rX "${S}" || die + distutils-r1_python_prepare_all +} + python_compile() { distutils-r1_python_compile pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: ed7e70fc726573c5e4307a806d2ea26ece70f44e Author: Lars Wendler gentoo org> AuthorDate: Mon Oct 24 11:47:15 2016 + Commit: Lars Wendler gentoo org> CommitDate: Mon Oct 24 11:47:15 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed7e70fc dev-python/pycparser: Bump to version 2.16 Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler gentoo.org> dev-python/pycparser/Manifest | 1 + dev-python/pycparser/pycparser-2.16.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index e30d687..d1ca0fe 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1 +1,2 @@ DIST pycparser-2.14.tar.gz 223295 SHA256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 WHIRLPOOL 4a541ce696298a355d4e3325a10dffd47bd26756b0164da82b70090310edfacf0428ed9e26de7be7e3d4c2c952ee664262a212562852fe29f909ab0631bfd79f +DIST pycparser-2.16.tar.gz 230060 SHA256 108f9ff23869ae2f8b38e481e7b4b4d4de1e32be968f29bbe303d629c34a6260 SHA512 854c93b8c75aeecf7b3df61ee181693e31e7cf59d6a695fd1b32ff8baf5916bc38f9574af6d0db888764eb756f1dc06555e83c8d990e1dc0ddad2b03db23ecab WHIRLPOOL 1fa47f0526ef892356fc7eaab6541825ce9ddb34033574926680c0983b070c8429ff9269d28e98d0bd47bd1964624fb9662b2b3433aaeca8ee172fe091d24796 diff --git a/dev-python/pycparser/pycparser-2.16.ebuild b/dev-python/pycparser/pycparser-2.16.ebuild new file mode 100644 index ..d626ba1 --- /dev/null +++ b/dev-python/pycparser/pycparser-2.16.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="C parser and AST generator written in Python" +HOMEPAGE="https://github.com/eliben/pycparser"; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="test" + +RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_compile() { + distutils-r1_python_compile + pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die + "${PYTHON}" _build_tables.py || die + popd > /dev/null || die +} + +python_test() { + nosetests || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 0e5989992daea2c461c25e08e2d910ba7e0e6827 Author: Tim Harder gentoo org> AuthorDate: Wed Sep 14 05:09:45 2016 + Commit: Tim Harder gentoo org> CommitDate: Wed Sep 14 05:19:39 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e598999 dev-python/pycparser: remove old dev-python/pycparser/Manifest | 1 - dev-python/pycparser/pycparser-2.10.ebuild | 32 -- 2 files changed, 33 deletions(-) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index b83f320..e30d687 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,2 +1 @@ -DIST pycparser-2.10.tar.gz 206166 SHA256 957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c SHA512 afe5079d6b0a39ea7f0df1ce74b1981c78d8687dbef50fb7a692395ca4a7e7a8119ec6abc0dfeb7a0535865ed2fac9dafca189bdbf6ff9205612205560e2d371 WHIRLPOOL 1b373997863001ba3b06376db1d175797c665ade273e75698edc3044713e411228f9f1c4daf0c61ffe01840d3d5e54a232fae729e42a8559e85b8db465e99b90 DIST pycparser-2.14.tar.gz 223295 SHA256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 WHIRLPOOL 4a541ce696298a355d4e3325a10dffd47bd26756b0164da82b70090310edfacf0428ed9e26de7be7e3d4c2c952ee664262a212562852fe29f909ab0631bfd79f diff --git a/dev-python/pycparser/pycparser-2.10.ebuild b/dev-python/pycparser/pycparser-2.10.ebuild deleted file mode 100644 index 98b76d9.. --- a/dev-python/pycparser/pycparser-2.10.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="test" - -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_compile() { - distutils-r1_python_compile - pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - nosetests || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 5b536139abbbd487f41e4be33f1dfd937f566b47 Author: Mike Frysinger gentoo org> AuthorDate: Tue Jun 21 02:38:33 2016 + Commit: Mike Frysinger gentoo org> CommitDate: Tue Jun 21 02:38:33 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b536139 dev-python/pycparser: mark 2.14 arm64/m68k/s390/sh/sparc stable #560894 dev-python/pycparser/pycparser-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index a988a05..daf42d5 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 2d4f44a1e2a2221454540a8918ad211b8b0851a9 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Oct 18 16:39:39 2015 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Oct 18 16:45:16 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d4f44a1 dev-python/pycparser: Add ~sparc keyword wrt bug #560894 Package-Manager: portage-2.2.20.1 dev-python/pycparser/pycparser-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index c7fc556..a988a05 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 1d2423422e0c82a58290fc2774a1983df76800f3 Author: Justin Lecher gentoo org> AuthorDate: Thu Sep 24 11:37:15 2015 + Commit: Justin Lecher gentoo org> CommitDate: Thu Sep 24 11:37:15 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d242342 dev-python/pycparser: Drop old Package-Manager: portage-2.2.21 Signed-off-by: Justin Lecher gentoo.org> dev-python/pycparser/Manifest | 2 -- dev-python/pycparser/pycparser-2.12.ebuild | 34 -- dev-python/pycparser/pycparser-2.13.ebuild | 34 -- 3 files changed, 70 deletions(-) diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index aef377f..b83f320 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -1,4 +1,2 @@ DIST pycparser-2.10.tar.gz 206166 SHA256 957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c SHA512 afe5079d6b0a39ea7f0df1ce74b1981c78d8687dbef50fb7a692395ca4a7e7a8119ec6abc0dfeb7a0535865ed2fac9dafca189bdbf6ff9205612205560e2d371 WHIRLPOOL 1b373997863001ba3b06376db1d175797c665ade273e75698edc3044713e411228f9f1c4daf0c61ffe01840d3d5e54a232fae729e42a8559e85b8db465e99b90 -DIST pycparser-2.12.tar.gz 297648 SHA256 da24c80aeb3c794ac64fe5503a01f65f13fece3e02513fd2e0761f93c96597b0 SHA512 7f46b3dbdf86115d58f0e467d3d4c80a32e56ebc6a6753417841e9e69ff537e1e0b86ab52816044048bf67522c5f32b53a5b9d6cd388da2fad48c6d2c897f945 WHIRLPOOL 8cebb9435f47cbe6cc63692789d5d7c6a6c8ce5bcff53f4c4647f55daa3816e6e3d1b9096dbaaf3ebab5a4bb4c81c9c1385b40cc85cb941c6ca541b8dc2d035e -DIST pycparser-2.13.tar.gz 299363 SHA256 b399599a8a0e386bfcbc5e01a38d79dd6e926781f9e358cd5512f41ab7d20eb7 SHA512 273abaea4998c61fcc9a01cccf3d6a20dd0446ccbdd4caeaef2d11af0492c8b11f67ff412bacd2a6d6057b612e9b8fd78111f69a07728f8cbf53725810eab8d2 WHIRLPOOL 5f9f9d3f5ccf45aa73f479968a998edf773ff75d49ac6449cfaaafc9d5bd6692497af79bf15d0f2c766ae49af58f84eb4f1144a7be00ee2c73a1b990676ae2d6 DIST pycparser-2.14.tar.gz 223295 SHA256 7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 SHA512 d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 WHIRLPOOL 4a541ce696298a355d4e3325a10dffd47bd26756b0164da82b70090310edfacf0428ed9e26de7be7e3d4c2c952ee664262a212562852fe29f909ab0631bfd79f diff --git a/dev-python/pycparser/pycparser-2.12.ebuild b/dev-python/pycparser/pycparser-2.12.ebuild deleted file mode 100644 index 0d9b377..000 --- a/dev-python/pycparser/pycparser-2.12.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="test" - -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_compile() { - distutils-r1_python_compile - pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - nosetests || die -} diff --git a/dev-python/pycparser/pycparser-2.13.ebuild b/dev-python/pycparser/pycparser-2.13.ebuild deleted file mode 100644 index 0d9b377..000 --- a/dev-python/pycparser/pycparser-2.13.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="C parser and AST generator written in Python" -HOMEPAGE="https://github.com/eliben/pycparser"; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="test" - -RDEPEND="dev-python/ply[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_compile() { - distutils-r1_python_compile - pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die - "${PYTHON}" _build_tables.py || die - popd > /dev/null || die -} - -python_test() { - nosetests || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 201f1a84a34586a7e47e4ae49b11b0a1d4a06888 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Sep 24 10:35:11 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Sep 24 10:35:11 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201f1a84 dev-python/pycparser: amd64 stable wrt bug #556428 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="amd64" dev-python/pycparser/pycparser-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index 835322d..0b29b2d 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 949b48e13410e1fd739ec4369880d10b54d8ba95 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Sep 20 09:28:00 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Sep 20 09:28:00 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949b48e1 dev-python/pycparser: x86 stable wrt bug #556428 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="x86" dev-python/pycparser/pycparser-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index db6f6eb..835322d 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 3474c78e1e088d87c12655cba3c6bf760ec52e98 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Aug 25 05:36:26 2015 + Commit: Jeroen Roovers gentoo org> CommitDate: Tue Aug 25 05:38:34 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3474c78e dev-python/pycparser: Stable for HPPA PPC64 (bug #556428). Package-Manager: portage-2.2.20.1 dev-python/pycparser/pycparser-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index 4d08264..0432c15 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha ~amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 73b3877d14bde17b227db5aae5693a7a0444f05f Author: Markus Meier gentoo org> AuthorDate: Fri Aug 21 16:47:51 2015 + Commit: Markus Meier gentoo org> CommitDate: Fri Aug 21 16:47:51 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b3877d dev-python/pycparser: arm stable, bug #556428 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="arm" dev-python/pycparser/pycparser-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index 7c2fe12..4d08264 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha ~amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/
commit: 568e6aad3ba85447331554fc47cd5a1703d780ff Author: Mikle Kolyada gentoo org> AuthorDate: Sun Aug 16 17:58:00 2015 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Aug 16 17:59:03 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568e6aad dev-python/pycparser: ia64 stable wrt bug #556428 Package-Manager: portage-2.2.20.1 dev-python/pycparser/pycparser-2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index ea18262..7c2fe12 100644 --- a/dev-python/pycparser/pycparser-2.14.ebuild +++ b/dev-python/pycparser/pycparser-2.14.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="test" RDEPEND="dev-python/ply[${PYTHON_USEDEP}]"