From f1f0e599874d6032f6bd1c42a3b6bd539acc5ce4 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Sat, 29 Jul 2017 20:56:50 -0500 Subject: [PATCH] dev-python/pbr: 1.10.1-r1 stable allarches with cleanup Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- dev-python/pbr/Manifest | 5 -- dev-python/pbr/pbr-1.10.0-r1.ebuild | 2 +- dev-python/pbr/pbr-1.10.0.ebuild | 72 ---------------------------- dev-python/pbr/pbr-1.8.1.ebuild | 71 --------------------------- dev-python/pbr/pbr-1.9.1.ebuild | 72 ---------------------------- dev-python/pbr/pbr-2.0.0.ebuild | 72 ---------------------------- dev-python/pbr/pbr-2.1.0.ebuild | 72 ---------------------------- dev-python/pbr/pbr-3.0.1.ebuild | 74 ----------------------------- 8 files changed, 1 insertion(+), 439 deletions(-) delete mode 100644 dev-python/pbr/pbr-1.10.0.ebuild delete mode 100644 dev-python/pbr/pbr-1.8.1.ebuild delete mode 100644 dev-python/pbr/pbr-1.9.1.ebuild delete mode 100644 dev-python/pbr/pbr-2.0.0.ebuild delete mode 100644 dev-python/pbr/pbr-2.1.0.ebuild delete mode 100644 dev-python/pbr/pbr-3.0.1.ebuild diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest index a71215b4393f..56bcde3fc6f9 100644 --- a/dev-python/pbr/Manifest +++ b/dev-python/pbr/Manifest @@ -1,8 +1,3 @@ DIST pbr-0.8.2.tar.gz 77790 SHA256 eef2ace8d65d5902582cbc9ad3b2ecff0e86a6f90ad4837d8b17d568dd9dd20e SHA512 76d7d4c97660d5a6bbe9a33498a93b32528073024520e570739c511c0138ba1af7e35139bf77ca2a94063e5979baccd6252619449d6aed546fd1331be81ab52a WHIRLPOOL d6331fcd6e7d4eb750e3285e92fd21dfdfbb054b880f954156d1e781025a0c0e1c464e0c23cad587799ceba787928af092d34071eb0a5c4595b0e8aa6db52ff0 DIST pbr-1.10.0.tar.gz 111425 SHA256 186428c270309e6fdfe2d5ab0949ab21ae5f7dea831eab96701b86bd666af39c SHA512 f7f6ce2f70324e2d287f58c3d12e0be2e33ef9ed32311ad2c56410eb67cda20732adff2058ba2fc244249a17a4c95b0d589ba913db4777e63ff1023ae888c864 WHIRLPOOL d70893921cabccf0e147ba1203cc2838feb47afcda90f7b584eb997dc4ae7e30e47b93b04ddaae8215bfa78351a5a2a53bfca5dc9fbb1ee7a268ae166c73c222 -DIST pbr-1.8.1.tar.gz 104584 SHA256 e2127626a91e6c885db89668976db31020f0af2da728924b56480fc7ccf09649 SHA512 909b3ef463787d68f75f300b483ffb7d1e54ef246ed893ab5cf84e5489e171b67b77c90a1f90259ca274eeb286a66a3f221d5e0c17df5d14d0aa263d36ba6eb4 WHIRLPOOL 69bf79cc322583b17e86ccb130894dbd5aed4b0b6c8c273c977a3a5ac79190cd15b96b28d76995021eb69c30b76bcf7e9a061c0280483da9ec0c69d33e9f0822 -DIST pbr-1.9.1.tar.gz 113439 SHA256 3997406c90894ebf3d1371811c1e099721440a901f946ca6dc4383350403ed51 SHA512 02c05652ee7504ec45330ab281be5880d70aa8017b1181446323d811b97e0c2deb6b3ff693516e32dd9ba2ecc653b13dbe33114e52414e78a478f5374b195cf1 WHIRLPOOL 73b87af217dc6af2bc14b2235a5d7f5f4ac1dd3fe3c0ede5730961e65aa0bd04194731c22cdf66567401f04600f5258dc9d3006e3ac9bc89e3743fa1415c099c -DIST pbr-2.0.0.tar.gz 98568 SHA256 0ccd2db529afd070df815b1521f01401d43de03941170f8a800e7531faba265d SHA512 39540f54de674d4e50d6e9239328c0ac11ae6218a1483b023ab282efb797fc143d22334f60697ba81e2309c525860525ed0ce4858d66b187d2581fab9fae6b7d WHIRLPOOL 049df8e4fee3c65c04362cbbcda88047f9fa672caa1d1319bac5dfdf2452ddfd442e9e46bc832fad57831844eed1f0da4267fe3ae40b148948a9413aa5b155a2 -DIST pbr-2.1.0.tar.gz 100858 SHA256 f71359a7e2de2f5ea1eceea7c1e3222f2560ee48e21eef6f96957bb5c2ebb94a SHA512 a4a7b1c96545bd25f63a439608f22bc04309c518f78f0044d18f10ce7c9ceeca3da97be527f0330c65d875900a3729dea99dade95787fb2ea75c3ae387b36938 WHIRLPOOL f82152ebb34ed21438853289c66ce326d39a57f6da7c28a31b9e43c26ab2a54ed9978cd398d5e7f28cdd94abcdc0017557d15af3458ec8f66b181fd5ef6de836 -DIST pbr-3.0.1.tar.gz 100518 SHA256 d7e8917458094002b9a2e0030ba60ba4c834c456071f2d0c1ccb5265992ada91 SHA512 30ffb8f0c0184c7613add7094ff065d709d9c83e829f7e65ea60f5d1e0fbd267c3067aed8eff0c7767110b079e118141743f4f63185f8617925566ff14a40412 WHIRLPOOL eca2d4335399c2fe10ba7d5dd0ccda28d57d6c0ce8890f625765eab1e593c5b1a200a3cf433355ef898a9d2d5b9a67ce99ab88a13591a9cc363b0c6ee8b4fb40 DIST pbr-3.1.1.tar.gz 102665 SHA256 05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1 SHA512 c01fb83678f8fc3acddc153dd341a17ed9d602b6770f0ff244b1c5b54c37d4ddcbd0c3d726f7d7020865819e02797c1c79a0c15e9ee2ae5c1510fce7112b2a3a WHIRLPOOL 00c980b8499c2418e4e2847cbb85fccf921ffa15e1c32c3b3053a46468efd2578faf224334ce81c24177705d66c1c1a2f9d5d8de7c0a0ce4b45adddd017e02da diff --git a/dev-python/pbr/pbr-1.10.0-r1.ebuild b/dev-python/pbr/pbr-1.10.0-r1.ebuild index 3985dcc51aa4..e5734de89bba 100644 --- a/dev-python/pbr/pbr-1.10.0-r1.ebuild +++ b/dev-python/pbr/pbr-1.10.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" IUSE="test" # git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 diff --git a/dev-python/pbr/pbr-1.10.0.ebuild b/dev-python/pbr/pbr-1.10.0.ebuild deleted file mode 100644 index d8750e2d72ef..000000000000 --- a/dev-python/pbr/pbr-1.10.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" - -# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/coverage-3.6[${PYTHON_USEDEP}] - >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] - =dev-python/mock-1.2[${PYTHON_USEDEP}] - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - dev-vcs/git - )" -PDEPEND="" - -# This normally actually belongs here. -python_prepare_all() { - # This test passes when run within the source and doesn't represent a failure, but rather - # a gentoo sandbox constraint - # Rm tests that rely upon the package being already installed and fail - sed -e s':test_console_script_develop:_&:' \ - -e s':test_console_script_install:_&:' \ - -e s':test_sdist_extra_files:_&:' \ - -e s':test_command_hooks:_&:' \ - -e s':test_sdist_git_extra_files:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_command_hooks:_&:' \ - -e s':test_global_setup_hooks:_&:' \ - -i pbr/tests/test_hooks.py || die - sed \ - -e "s:test_wsgi_script_install:_&:" \ - -i pbr/tests/test_wsgi.py || die - einfo "rogue tests disabled" - sed -i '/^hacking/d' test-requirements.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" - - testr init || die "testr init failed under ${EPYTHON}" - testr run || die "testr run failed under ${EPYTHON}" -} diff --git a/dev-python/pbr/pbr-1.8.1.ebuild b/dev-python/pbr/pbr-1.8.1.ebuild deleted file mode 100644 index b5c46313d772..000000000000 --- a/dev-python/pbr/pbr-1.8.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" - -# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/coverage-3.6[${PYTHON_USEDEP}] - >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] - >=dev-python/mock-1.2[${PYTHON_USEDEP}] - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] - =dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-vcs/git - )" -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]" - -# This normally actually belongs here. -python_prepare_all() { - # This test passes when run within the source and doesn't represent a failure, but rather - # a gentoo sandbox constraint - # Rm tests that rely upon the package being already installed and fail - sed -e s':test_console_script_develop:_&:' \ - -e s':test_console_script_install:_&:' \ - -e s':test_sdist_extra_files:_&:' \ - -e s':test_command_hooks:_&:' \ - -e s':test_sdist_git_extra_files:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_command_hooks:_&:' \ - -e s':test_global_setup_hooks:_&:' \ - -i pbr/tests/test_hooks.py || die - sed \ - -e "s:test_wsgi_script_install:_&:" \ - -i pbr/tests/test_wsgi.py || die - einfo "rogue tests disabled" - sed -i '/^hacking/d' test-requirements.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" - - testr init || die "testr init failed under ${EPYTHON}" - testr run || die "testr run failed under ${EPYTHON}" -} diff --git a/dev-python/pbr/pbr-1.9.1.ebuild b/dev-python/pbr/pbr-1.9.1.ebuild deleted file mode 100644 index b1aab2d55a3b..000000000000 --- a/dev-python/pbr/pbr-1.9.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" - -# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/coverage-3.6[${PYTHON_USEDEP}] - >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] - =dev-python/mock-1.2[${PYTHON_USEDEP}] - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] - =dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-vcs/git - )" -PDEPEND="" - -# This normally actually belongs here. -python_prepare_all() { - # This test passes when run within the source and doesn't represent a failure, but rather - # a gentoo sandbox constraint - # Rm tests that rely upon the package being already installed and fail - sed -e s':test_console_script_develop:_&:' \ - -e s':test_console_script_install:_&:' \ - -e s':test_sdist_extra_files:_&:' \ - -e s':test_command_hooks:_&:' \ - -e s':test_sdist_git_extra_files:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_command_hooks:_&:' \ - -e s':test_global_setup_hooks:_&:' \ - -i pbr/tests/test_hooks.py || die - sed \ - -e "s:test_wsgi_script_install:_&:" \ - -i pbr/tests/test_wsgi.py || die - einfo "rogue tests disabled" - sed -i '/^hacking/d' test-requirements.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" - - testr init || die "testr init failed under ${EPYTHON}" - testr run || die "testr run failed under ${EPYTHON}" -} diff --git a/dev-python/pbr/pbr-2.0.0.ebuild b/dev-python/pbr/pbr-2.0.0.ebuild deleted file mode 100644 index 5b330c361aed..000000000000 --- a/dev-python/pbr/pbr-2.0.0.ebuild +++ /dev/null @@ -1,72 +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 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~x86" -IUSE="test" - -# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 -# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848 -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/coverage-4.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.5.1[$(python_gen_usedep 'python2_7' 'python3_4' 'python3_5' 'python3_6')] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-13.1.0[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-vcs/git - )" -PDEPEND="" - -# This normally actually belongs here. -python_prepare_all() { - # This test passes when run within the source and doesn't represent a failure, but rather - # a gentoo sandbox constraint - # Rm tests that rely upon the package being already installed and fail - sed -e s':test_console_script_develop:_&:' \ - -e s':test_console_script_install:_&:' \ - -e s':test_sdist_extra_files:_&:' \ - -e s':test_command_hooks:_&:' \ - -e s':test_sdist_git_extra_files:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_command_hooks:_&:' \ - -e s':test_global_setup_hooks:_&:' \ - -i pbr/tests/test_hooks.py || die - sed \ - -e "s:test_wsgi_script_install:_&:" \ - -i pbr/tests/test_wsgi.py || die - einfo "rogue tests disabled" - sed -i '/^hacking/d' test-requirements.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" - - testr init || die "testr init failed under ${EPYTHON}" - testr run || die "testr run failed under ${EPYTHON}" -} diff --git a/dev-python/pbr/pbr-2.1.0.ebuild b/dev-python/pbr/pbr-2.1.0.ebuild deleted file mode 100644 index 5b330c361aed..000000000000 --- a/dev-python/pbr/pbr-2.1.0.ebuild +++ /dev/null @@ -1,72 +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 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~x86" -IUSE="test" - -# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 -# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848 -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/coverage-4.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.5.1[$(python_gen_usedep 'python2_7' 'python3_4' 'python3_5' 'python3_6')] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-13.1.0[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-vcs/git - )" -PDEPEND="" - -# This normally actually belongs here. -python_prepare_all() { - # This test passes when run within the source and doesn't represent a failure, but rather - # a gentoo sandbox constraint - # Rm tests that rely upon the package being already installed and fail - sed -e s':test_console_script_develop:_&:' \ - -e s':test_console_script_install:_&:' \ - -e s':test_sdist_extra_files:_&:' \ - -e s':test_command_hooks:_&:' \ - -e s':test_sdist_git_extra_files:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_command_hooks:_&:' \ - -e s':test_global_setup_hooks:_&:' \ - -i pbr/tests/test_hooks.py || die - sed \ - -e "s:test_wsgi_script_install:_&:" \ - -i pbr/tests/test_wsgi.py || die - einfo "rogue tests disabled" - sed -i '/^hacking/d' test-requirements.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" - - testr init || die "testr init failed under ${EPYTHON}" - testr run || die "testr run failed under ${EPYTHON}" -} diff --git a/dev-python/pbr/pbr-3.0.1.ebuild b/dev-python/pbr/pbr-3.0.1.ebuild deleted file mode 100644 index a78a44288c94..000000000000 --- a/dev-python/pbr/pbr-3.0.1.ebuild +++ /dev/null @@ -1,74 +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 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" -HOMEPAGE="https://github.com/openstack-dev/pbr" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ia64 ~x86 ~amd64-linux ~x86-linux" -#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 -# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848 -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - >=dev-python/coverage-4.0[${PYTHON_USEDEP}] - !~dev-python/coverage-4.4[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.5.1[$(python_gen_usedep 'python2_7' 'python3_4' 'python3_5' 'python3_6')] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-13.1.0[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-vcs/git - )" -PDEPEND="" - -# This normally actually belongs here. -python_prepare_all() { - # This test passes when run within the source and doesn't represent a failure, but rather - # a gentoo sandbox constraint - # Rm tests that rely upon the package being already installed and fail - sed -e s':test_console_script_develop:_&:' \ - -e s':test_console_script_install:_&:' \ - -e s':test_sdist_extra_files:_&:' \ - -e s':test_command_hooks:_&:' \ - -e s':test_sdist_git_extra_files:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_command_hooks:_&:' \ - -e s':test_global_setup_hooks:_&:' \ - -i pbr/tests/test_hooks.py || die - sed \ - -e "s:test_wsgi_script_install:_&:" \ - -i pbr/tests/test_wsgi.py || die - einfo "rogue tests disabled" - sed -i '/^hacking/d' test-requirements.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" - - testr init || die "testr init failed under ${EPYTHON}" - testr run || die "testr run failed under ${EPYTHON}" -} -- 2.26.2