summaryrefslogtreecommitdiff
path: root/dev-python/pycparser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/pycparser
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/pycparser')
-rw-r--r--dev-python/pycparser/Manifest5
-rw-r--r--dev-python/pycparser/metadata.xml1
-rw-r--r--dev-python/pycparser/pycparser-2.21-r1.ebuild2
-rw-r--r--dev-python/pycparser/pycparser-2.21.ebuild76
4 files changed, 4 insertions, 80 deletions
diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest
index 25b7790eeede..00a081f844ee 100644
--- a/dev-python/pycparser/Manifest
+++ b/dev-python/pycparser/Manifest
@@ -1,4 +1,3 @@
DIST pycparser-2.21.tar.gz 170877 BLAKE2B ae6bf42dfc552bf1e3bfb5430cdb0c15b5e011ec53cbd03e0e2507c08a1a78690cefce2de134bd984caccc5dbde90661cb4c18df5c289217967213aac4d52404 SHA512 e61fbdde484d1cf74d4b27bdde40cf2da4b7028ca8ecd37c83d77473dab707d457321aecaf97da3b114c1d58a4eb200290b76f9c958044b57e5fed949895b5f0
-EBUILD pycparser-2.21-r1.ebuild 1787 BLAKE2B 1d0134066fa9431a1604c02e1a85071e7a9fcc1dc22ffb682bd9ea2f91f50691b6417ce40bedbdea6198c498b5051bd8d07dde74a611b58082357a7ab5419432 SHA512 f26a4019b1b5625eb67cc604ff0b7749d23d2b2d835ef9d362135dcc3fe7e7439e81ba90b1cad91ab4e36b39fc9bdff173c3cab31b60032b7c7b92a055b0bf20
-EBUILD pycparser-2.21.ebuild 2235 BLAKE2B 1873c8ff3a31533402bf8ef729f3bc3fdd8e3b0cb7f9377c1da50a428988270081448c8b6be81a1a4a8b28315cc66e7a676daa3d080f9b1a000914a838b35cd6 SHA512 f36d5e8e22a3c7a3e854c41273c10dc27f2996bdbcbc948ee5d80b1db040e23a8e238ae67ad6a6b19688e915c621229ae80e3a617c2a832bbdead779402f197b
-MISC metadata.xml 381 BLAKE2B ceed0b1da227f2b8016d51e7a6d6b9980d29c1dd930c9c5843c66ab62e3366f48f943bfd06155e9884fe08ab13da1844f7193a142d9d3f8f1db1a0ea5a9d3474 SHA512 e2603fae46f989057b80f13828825388f54f179b6dd9beeaad64e0eaa97ebd753e5eac752d79df460c31e9cfeb795998887964bdf92b364f5b7d7b6b2d65a21f
+EBUILD pycparser-2.21-r1.ebuild 1779 BLAKE2B 25ff869f5c361d91e8a6fa39ee7ea276b2cea2d1fb61e4ebf0db9b4c3c6fd007528be2f85d69114187b2b4a9550784a273b5c69d61975d79b00bae0cb83a843f SHA512 207417e9ddcf8a33b6f0cee6bbc6d0d8fda0bb9c2add19f03dbde29d52c8f99533909e2e502d0a5732b01ce00cb76dba29a9dc7338863c60c0d9c80e3d40fc3c
+MISC metadata.xml 406 BLAKE2B 61cb250ac460c4ea05f47bd8d208e44706bc80965ca1982e490d759d3a63652e5e13bf357532afb599ecea491f3c9a4cd315b97250b115bb7e8fa769b2ef03ff SHA512 b2d4ffde31f97a98e4a74bdd70751519d1339bbf3384e9e671760506fc2dac9d92bf6f7a743973002b4ae6da1cd2bb11abbfe63cbb330a1c32702b3eef24a62b
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 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
+ <stabilize-allarches/>
<upstream>
<remote-id type="pypi">pycparser</remote-id>
<remote-id type="github">eliben/pycparser</remote-id>
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}]
diff --git a/dev-python/pycparser/pycparser-2.21.ebuild b/dev-python/pycparser/pycparser-2.21.ebuild
deleted file mode 100644
index c54b32f9dd37..000000000000
--- 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
-}