From b284a3168fa91a038925d2ecf5e4791011ea5e7d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Nov 2019 10:15:03 +0000 Subject: gentoo resync : 18.11.2019 --- dev-python/pycparser/Manifest | 6 ++-- dev-python/pycparser/pycparser-2.14.ebuild | 1 + dev-python/pycparser/pycparser-2.18-r1.ebuild | 1 + dev-python/pycparser/pycparser-2.19-r1.ebuild | 45 +++++++++++++++++++++++++ dev-python/pycparser/pycparser-2.19.ebuild | 48 --------------------------- 5 files changed, 50 insertions(+), 51 deletions(-) create mode 100644 dev-python/pycparser/pycparser-2.19-r1.ebuild delete mode 100644 dev-python/pycparser/pycparser-2.19.ebuild (limited to 'dev-python/pycparser') diff --git a/dev-python/pycparser/Manifest b/dev-python/pycparser/Manifest index 67d3f2818e1b..cf8ab9fc7a08 100644 --- a/dev-python/pycparser/Manifest +++ b/dev-python/pycparser/Manifest @@ -2,7 +2,7 @@ AUX pycparser-2.18-OO.patch 2224 BLAKE2B 38955919380a0ec7dbaacde434a327b9842be02 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 -EBUILD pycparser-2.14.ebuild 918 BLAKE2B da7ca289cab033f31a07589e380d1e164ff7a4c875eea4843aa657c57dc0539b1066ed87aff3151f4891f8f36400317ae22ff9f7fe153f87f511b4beac5ef024 SHA512 e24cafa3b0886a3c02dcf0e8ce6fd15d0317c54295843092a9efcc2fa697debbb4717ac4b5033a7632bb1a20f935e5efbefc7f96c47cf7acc1bef4a7e87e564e -EBUILD pycparser-2.18-r1.ebuild 1526 BLAKE2B 19cf18b188e0dc277f8d14f4345c56fe16aa77b09d185b46a9ca84d4d4f99a75fdf32e086ff150afabfe580349451efeee4f9088e6f83acee04a98c502e5f885 SHA512 89813b8b6d3469e11bf8b12ce52be558e07f9aa6de53a84ed10e1049d0a3fc6ccb1c93f41c8ed83bb93c47ca48feeed9925c0bdf012d15fd5d76922fb526141b -EBUILD pycparser-2.19.ebuild 1474 BLAKE2B ad2bc248d34387270443c764cd2f4b6c1cc2fdcd5996f82ddaeb5c03e320a48e6dbcc23f85361e8674d1e3f17746f5c36eb213d4946794946c56623eab14fd33 SHA512 bd6dfde171e3bfef1cc5a666e60fd4b986fbb3c95996c40afb8a37b0f550f18e2276109051cbedc89b0a5bcfd7b063860a847609220a40657c9b87f7fe87248f +EBUILD pycparser-2.14.ebuild 945 BLAKE2B ef895369eff300105a13c9d08312ca1b8554513cd6b08f16b82e049ad71f5eb2b4c4fecd164aa740b44d02e391039d0f87bf545bc93545acacb29848f72c1855 SHA512 cd8aa1fcd9a2c05765792779d22b32501c0425e4d3c8c72e42368a92f61b08cff5e5c6bcf738661d7bedeaff0d90d4037ebeff4ed686042300762537cabd3066 +EBUILD pycparser-2.18-r1.ebuild 1553 BLAKE2B 464b805e100ee40ecef759dd7042e82e6bb18813205b1570bb34a589266b3176fd8a1a7bb09257b17dfa756b73729575184921db08afb8af2f2e318627187c4f SHA512 1bd76d00ffbdb933925c35b813c7c7f83d2869ada6d7d6d654040207b836002e7678b26703ebd9e44eb04c370bbce8dc354148b1d80c3db438b09989b8779979 +EBUILD pycparser-2.19-r1.ebuild 1291 BLAKE2B 090a20f83d34ba22df15c0e6b2baca86c6be1e7ff1b88c2409cfea4b0a789d41137a3ed9e209320f63c77c5168370e3c14f3980b034f3bb0880405823f36df73 SHA512 b1aa7d7e23986c5b4d4c25fcc530b10c22c9e7b51bfa1b3827725b23a7dfa99be99833958942ee2571a329debb6dc809de1cdab1024de46df3d18c0693a7422c MISC metadata.xml 380 BLAKE2B b013fa2cb5c61b39b122c1c051ce40a8c002d4d4c6995ab78e0f3a35cec07d2f81cb5b05326ddac9c2526eb3ebcf90bc2660f588c4ebe5bacbd1a861fcf91985 SHA512 98ca8c63733123ae6a1d1c8b338d5f98a679b8f84b1e0abed8dc7fefa5549735a7f4de9a5851a26507a6169336fa46689616e46a49df0e9a52f6efb669eac865 diff --git a/dev-python/pycparser/pycparser-2.14.ebuild b/dev-python/pycparser/pycparser-2.14.ebuild index 9f24a5f8d7fa..15ff90da3761 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 db28bf774359..508a13602ef4 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} diff --git a/dev-python/pycparser/pycparser-2.19-r1.ebuild b/dev-python/pycparser/pycparser-2.19-r1.ebuild new file mode 100644 index 000000000000..3b8d5a5df7df --- /dev/null +++ b/dev-python/pycparser/pycparser-2.19-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} 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-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_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 +} diff --git a/dev-python/pycparser/pycparser-2.19.ebuild b/dev-python/pycparser/pycparser-2.19.ebuild deleted file mode 100644 index 3fee4c55f691..000000000000 --- a/dev-python/pycparser/pycparser-2.19.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{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-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 -} -- cgit v1.2.3