dev-python: Drop unused packages

The dev-python/unittest2 package seems to be only pulled by
dev-python/funcsigs, but it is hidden behind a test use flag, which we
don't enable. The other packages (traceback2, linecache2 and pbr) were
only pulled in by unittest2, so drop them too.
This commit is contained in:
Krzesimir Nowak 2021-09-14 15:28:08 +02:00
parent 10e3c0052e
commit 143bdb58ce
20 changed files with 0 additions and 713 deletions

View File

@ -1,5 +0,0 @@
DIST linecache2-1.0.0.tar.gz 11013 SHA256 4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c SHA512 e585a6e4c054c1965bc4241a1e36b57cb04f32b2d778df0ae4381975700497975251f509354d3622e36c82973c726a207b815f8b12060d9d583b6669a9eb279e WHIRLPOOL 2968c4d82a8655bd91d487c814eef00f0edfdbb2c41642fcce78826efb467554f06e9951ce6bf6a9b2ed92ce4cf3edbaa77fe3b51c557aae561c486a62dabbb0
EBUILD linecache2-1.0.0.ebuild 757 SHA256 ad52d1e799b9a046d476c1941988d398e778b39f582279e7cdbabf7a313c4c1f SHA512 439566c0a38b67f3f0dab02ac0f0a572dc9cfecc1316af0ea1c8e9a0c156e8912c692bc7d66a82e589c1d89464280180c8956c74e6d4f5c45367bf43ab90f039 WHIRLPOOL 426d9009bc3472727c0406ed8c9e64119447ef5c5f47ef0321dbdf1f24ee31645cdc9c547b31405ebc8e168fb4bcf401a41fd59ec900e97d855d029504da90b8
MISC ChangeLog 5141 SHA256 54c6daf6983005199bd82c64b3d362663056275018fe485016f216b6ad93a195 SHA512 6f1313f42d76f88e521ed6263739b0e5dd998364b7deecffe9026eae09b2c16769479d48448b653d7b1b839f3a3beb444235fbc13707fc857fb7421564bd018e WHIRLPOOL b192982a9a88e3d2fb63d90d94c6f2a97bdea07a088ed2b23a7f2cc710a304899ff9866059aa0d4e77de2a6bb4d71bc9ae45126d5d0b745a2367bc594a81284d
MISC ChangeLog-2015 1104 SHA256 a088c3225e9cc697175bebf51c91fdc375f6c5006a50a300b416f7fa1178c132 SHA512 ffd4fe3b90b0244e13dd67ed89783b138448b38fa3ab2c35d77e926aa1b9512bc2381aef8138ba4ffe62204adab411a1ca25cc9899ec1c4696c48fa09c09ff0d WHIRLPOOL 4950a68e352070f4de5a7cd8eca898301b4a910a8e0b05a0c2ffbf5e0eb720b71c1e9cea3132c3220e815e6c42c2212ffed7daa80596969586b7556644af28d0
MISC metadata.xml 432 SHA256 622a2639dfa07024cf229eae64a412e4e856631fd932c8ed229b38f741265ce7 SHA512 04b822a4bf70c0186a23fd09acabb74c473edc2ae8e1d19830ef3d309c5341407961d08275e61a38804d92de36d5ed3e18d2366cfd8f4aaea7f8d0e15c17da63 WHIRLPOOL cb475a842fa7c9d8f4105a5adfe90bcb459ba4d1eee5d81209bad2038ebcbd500f66c1b87a69416a8d03ea3db21258ebc354280457df0c42f666174b9bf06c26

View File

@ -1,31 +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 )
inherit distutils-r1
DESCRIPTION="Backports of the linecache module"
HOMEPAGE="https://github.com/testing-cabal/linecache2"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="test"
DEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/fixtures[${PYTHON_USEDEP}]
dev-python/unittest2[${PYTHON_USEDEP}]
)
"
RDEPEND=""
python_test() {
"${PYTHON}" -m unittest2 discover || die "tests failed under ${EPYTHON}"
}

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alunduil@gentoo.org</email>
<name>Alex Brandt</name>
</maintainer>
<longdescription lang="en">
</longdescription>
<upstream>
<remote-id type="pypi">linecache2</remote-id>
<remote-id type="github">testing-cabal/linecache2</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,16 +0,0 @@
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
EBUILD pbr-0.8.2-r1.ebuild 2094 SHA256 78880bf3fb8c10237b3e8a962519482aeaab802f13292f45b47e09773182a2b3 SHA512 990fc8f337bf3b71864498945ce57e36fdbb38b6b6907bd7493071c18278e3d89249d48d50a2edb134a193b38f04ddfe0dba51e183dc4453063f5ecb7a0d2a24 WHIRLPOOL 5bc5db098aee3225511fbafa447d66577a50222a2947b97a2173196dff8c53cdb79097a2f940f016bebb183493b75635c80d8d11cc3dd920fb29f8fa22cf8e15
EBUILD pbr-1.10.0-r1.ebuild 2615 SHA256 76fb37162545e27601a642dd9f462b10296075585e131cf26e6a4905ad62616f SHA512 fd64e9ff983863212d8421e05fafc0c0ea0aa8bc0276bc7ba6b2cb88badaa392c871563f0a06c61bc84636e442a86d3ecab9854b42d2231f3fb6d2f8c06c30d3 WHIRLPOOL 33d79bf772fa14c9f323f30797962ef25982584ed27446144fd6acb13f5ad48da4f10ae5f28ce6d6c3e206082a53984d42a9a502431abd336f332a4066567708
EBUILD pbr-1.10.0.ebuild 2473 SHA256 fe09fa943d6662a72b7f47b59a494c3bb0f78eadee72519e74f323061efa0bac SHA512 aa19c47ffcee7e427f604d7622a647fc66931e9adcc940f898c8471cd12e2654985cb92b6e40ee703fb738e570d2887970ddb6b8c3ecd0836b09bd8803641fbc WHIRLPOOL 78535ba34058bbab6cfc048219cb7769e2fa43b1463746220cde2997219d4876bb4ca3adb0e48456b6c813e2fba9bc71884f33493908149c7764232f2efb9e20
EBUILD pbr-1.8.1.ebuild 2460 SHA256 b575437ed354bf38e1239fdc098ceead381f87356169a79bc676b4f1fe9221b0 SHA512 75509f2a75d726d3b3eced26ee1dae0e223ff035ecb44e650ce9382e053495518a43b2fcd31e88519d59b7b8dc29cc52eac3c5f614059622b38cb689f1c0c9f0 WHIRLPOOL e8baadc842724abc0d7321d51f6d3c0ff7ddd3fbac2747174de64d0dc78582528c8ad19db2fdb58b7ce6f0e96ed324e7ef2e9f141e55807d23eea8b3a0190c81
EBUILD pbr-1.9.1.ebuild 2476 SHA256 7106487bafb173201146b5116d390985e9a8f8b5872042db63d7f4921c1dcc6b SHA512 e95d0703aebf2489e09b9bfaabf9a4bb9a34a54a002b26ed2b83d8c1664139e07b965894ede3a2a1bfc05a223728296475b3ec5e03ad692f8b8b4e1c11ee304e WHIRLPOOL 8ef9b5bc1e6658fc9c0511b1b386ffa944e96e31ee7fd6956ddc35a4bce0d987b3d7411bb0bcb613a47a69101a28e19def729bd3705f12dd48c9d9b8726227a6
EBUILD pbr-2.0.0.ebuild 2491 SHA256 cec91368ce6ee9dd307207deca83a18e59bbfcd6a419066cf714117b37f7df7d SHA512 dec575951184a2eb5e8a96b9b16ee8a84399316b9f0bd37cf08c0e52b41b0aa554e3e0a33ac0ef5adbd2a9309ce8f0d90571f1255de0f49546394b37f0453471 WHIRLPOOL 08680f504a07d8026d740745b21a06e75a40ac8b5edfd315856d2fb7dbc470a227ebb4ea2057bcd3b4bd96410fa2f80afffeaa4858e84d74683e159ae4dd220c
EBUILD pbr-2.1.0.ebuild 2491 SHA256 cec91368ce6ee9dd307207deca83a18e59bbfcd6a419066cf714117b37f7df7d SHA512 dec575951184a2eb5e8a96b9b16ee8a84399316b9f0bd37cf08c0e52b41b0aa554e3e0a33ac0ef5adbd2a9309ce8f0d90571f1255de0f49546394b37f0453471 WHIRLPOOL 08680f504a07d8026d740745b21a06e75a40ac8b5edfd315856d2fb7dbc470a227ebb4ea2057bcd3b4bd96410fa2f80afffeaa4858e84d74683e159ae4dd220c
MISC ChangeLog 13221 SHA256 a4af12198c971393e35bf92ad0bfd0dcc3ed28081a3df3358b777d1a6066857b SHA512 4b32bea10ff883d7f06ee65b973c35948bdb25c618a13b9ff9cb72ef24c59a3106f9e099a9fc67e434726f45db10f11fb0a06abf969c0bad93a465a514e10007 WHIRLPOOL 4e2987539586e61cb7f09c1969bc8c5c449fdfd98893f13dcf8160932a3363f47f1daf6d685397431d2dce7f2bec9df27e45f61643e3f2940601135feeba87cc
MISC ChangeLog-2015 6172 SHA256 cee510aea25869253d026d9ae8a1e951d50b4afd6f7768a26cf0f8412817e7d3 SHA512 fb417b21495e848f6ceeeb547f12e5258e4970314e7f7627cc28d91a9ba75c77bd28d5cc6deee7be6bc2e110686fc56a5ca7e1ce48a81478920889dc6249e753 WHIRLPOOL 3a5912e34b9ce1c831d42fe5f8d781296a84fd2a60c60979d7097e12cbc38a03a719a809a492ea301c9b73c77af75ec76805b04c01b076e6a7bfe79e76553b75
MISC metadata.xml 666 SHA256 47d2160826e1787ce86282a2dfa2ace448adee466a67173997b7bab81bc5048d SHA512 f2ccf617dc2a1b01389c5299686dedc09d0ffe71c8bdb40f1c3c91b193f3d1598423ef2f5c84f3ca4c769747f14ecae98abeb0ceba10c051a00ebf6acff870dc WHIRLPOOL 143659d58d528a44280e54e9669ac5998dddd99d303dec16c15fde5d029ac9ff0c8c59f05cc8cbd1cfdd7961921285c09fd38e7c8f6941a1b686e4bb17c9defe

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<maintainer type="project">
<email>openstack@gentoo.org</email>
<name>Openstack</name>
</maintainer>
<longdescription lang="en">
Python Build Reasonableness
PBR is a library that injects some useful and sensible default behaviors into your setuptools run.
</longdescription>
<upstream>
<remote-id type="pypi">pbr</remote-id>
<remote-id type="github">openstack-dev/pbr</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,64 +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} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Injects 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 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
>=dev-python/flake8-2.0[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
dev-python/sphinx[${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-0.9.34[${PYTHON_USEDEP}]
)"
PDEPEND=">dev-python/pip-1.4[${PYTHON_USEDEP}]"
# Requ'd for testsuite
DISTUTILS_IN_SOURCE_BUILD=1
# 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
einfo "rogue tests disabled"
distutils-r1_python_prepare_all
}
python_test() {
# Note; removed tests pass once package is emerged,
# it's the suite's design that breaks form, not the tests' intended purpose
testr init
testr run || die "Testsuite failed under ${EPYTHON}"
}

View File

@ -1,74 +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
# 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-3.6[${PYTHON_USEDEP}]
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
<dev-python/fixtures-2.0[${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-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}"
}

View File

@ -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/fixtures-2.0[${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}"
}

View File

@ -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/sphinx-1.3[${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}"
}

View File

@ -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/fixtures-2.0[${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/sphinx-1.3[${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}"
}

View File

@ -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 ~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}"
}

View File

@ -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 ~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}"
}

View File

@ -1,5 +0,0 @@
DIST traceback2-1.4.0.tar.gz 15872 SHA256 05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030 SHA512 84c7fc291c8f2d4cee10441cdef1820aa453e631dfa91ed58e40fc205e97a9dd2101388d5689e4fdf10edfbf06bdb5b895d1635ae7218ba0c9b697d3f95f9342 WHIRLPOOL a2bcc135f1585d777dc94992bfb5bab3ce36f00f84ab3aceefba4a0864a1b51ee523d2095906d57321e8ff22ea534b1b559a192270a154fc7c674ad6725d68d5
EBUILD traceback2-1.4.0.ebuild 605 SHA256 509ebea46a450ee0b888012d504261bc85d206e0760507188e365aa57ef9ec00 SHA512 0f456b77ab555e8db5ecf4c574811a915865a3bb4d0680ed82c152d50bcca2839fb7a582b203fbf198aea14ad53b81a6b5be003a4fde72f1148cc9abff742b21 WHIRLPOOL d48eccd85432067ed07515d38e8c3e8474d651a2c46f71092b3430a8771599e1fadd29e6a60fb6c2b4a1e29f6069660d8ffe5f69da491bd145be6770b0ca1fca
MISC ChangeLog 5141 SHA256 0d1e40b70edd357f60fb7a83a65a8402239401e2803b6de40755dcf5f9a345a5 SHA512 394ac2413b97f1eca00c0de08e68d2498a8a89d6937be2cd80c651755cc89510f95342867cd5cf6fc76a9bbf9329a9422357907e16fd23af506b05c9d9e2d683 WHIRLPOOL 650bc5432fa8b53273314721daa8e93eebb3d9b24913e6c3c0c6882c8a9901c125a0f964999c2ba30a4abdc53611a0ef4d3b846e49736df055ca351cbd583cae
MISC ChangeLog-2015 1229 SHA256 7a41cde5234e3eea4014cb8fe885dc47547fb3f6f1a2c54af6d79ddd69b2d8be SHA512 daf44443d5d72ebf9997e10432d2925e1a136bc5941d1c02c1b129bc0630b4bcaf31ec8659cf693ccaea33ef9c352ddaae1df1bcce95c61f8af7086542b55391 WHIRLPOOL a781bf1c5e1acc1992acb2fc665b6c79b01e6b17d8f6cdf0f04b12a2721b9b4a1b3a9c2d528ae6b39f6008c5693cea6085113c820b5fecffe26482b68148f27b
MISC metadata.xml 432 SHA256 0a43d545b662a1b71b4b2abe40aca25da6119d1c0c1624451b80391e3ad63b06 SHA512 5e6b4191eb2d9702e8eda9a4a9f4cf2ab7a7ece8898560bbdf9e0a36de4068f7e64c8aecebf017b8c80944f9f351ad6545695708f91d4c177d667bee1e8e79cb WHIRLPOOL 848ffdae854c46c715454a8899fd127e9f68d6733a6c8de3f527bb9817eab1f6d6714896176476a5e7049b30b24f7c96c189a7f085546c3638f4cf4a358aa7a6

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alunduil@gentoo.org</email>
<name>Alex Brandt</name>
</maintainer>
<longdescription lang="en">
</longdescription>
<upstream>
<remote-id type="pypi">traceback2</remote-id>
<remote-id type="github">testing-cabal/traceback2</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,23 +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 )
inherit distutils-r1
DESCRIPTION="Backports of the traceback module"
HOMEPAGE="https://github.com/testing-cabal/traceback2"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE=""
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pbr[${PYTHON_USEDEP}]
"
RDEPEND="dev-python/linecache2[${PYTHON_USEDEP}]"

View File

@ -1 +0,0 @@
DIST unittest2-1.1.0.tar.gz 81432 SHA256 22882a0e418c284e1f718a822b3b022944d53d2d908e1690b319a9d3eb2c0579 SHA512 3fba15728905f437767416ab4fd3573d3fb2319486ef84c52a9fa930ea84aa1f2ae29d6f58993e3509083625790e17b1ef8d9ac5de0e166c254897a3e7a202fa WHIRLPOOL d375c59aed23e4fce14499df2fb64d185facc1e25378805045c66eef9c2fa14de81d7580020300c374f7842d38aaf6ccb26df4ff9a430f6ad497863e2766dc83

View File

@ -1,12 +0,0 @@
diff -r 8928fb47c3a9 setup.py
--- a/setup.py Thu Mar 12 15:55:36 2015 +1300
+++ b/setup.py Sun Apr 05 09:06:44 2015 -0500
@@ -57,7 +57,7 @@
# Both install and setup requires - because we read VERSION from within the
# package, and the package also exports all the APIs.
# six for compat helpers
-REQUIRES = ['argparse', 'six>=1.4', 'traceback2'],
+REQUIRES = ['six>=1.4', 'traceback2'],
params = dict(
name=NAME,

View File

@ -1,28 +0,0 @@
diff --git a/unittest2/test/test_loader.py b/unittest2/test/test_loader.py
index 683f662..347eea5 100644
--- a/unittest2/test/test_loader.py
+++ b/unittest2/test/test_loader.py
@@ -509,6 +509,7 @@ class Test_TestLoader(unittest2.TestCase):
#
# What happens when an impossible name is given, relative to the provided
# `module`?
+ @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here")
def test_loadTestsFromName__relative_malformed_name(self):
loader = unittest.TestLoader()
@@ -811,6 +812,7 @@ class Test_TestLoader(unittest2.TestCase):
# TestCase or TestSuite instance."
#
# What happens when presented with an impossible module name?
+ @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here")
def test_loadTestsFromNames__malformed_name(self):
loader = unittest2.TestLoader()
@@ -918,6 +920,7 @@ class Test_TestLoader(unittest2.TestCase):
# "The method optionally resolves name relative to the given module"
#
# What happens when presented with an impossible attribute name?
+ @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here")
def test_loadTestsFromNames__relative_malformed_name(self):
loader = unittest.TestLoader()

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">unittest2</remote-id>
<remote-id type="github">testing-cabal/unittest-ext</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,35 +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 )
inherit distutils-r1
DESCRIPTION="The new features in unittest backported to Python 2.4+"
HOMEPAGE="https://pypi.python.org/pypi/unittest2 https://github.com/testing-cabal/unittest-ext"
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 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE=""
CDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/linecache2[${PYTHON_USEDEP}]
>=dev-python/six-1.4[${PYTHON_USEDEP}]
dev-python/traceback2[${PYTHON_USEDEP}]
"
DEPEND="${CDEPEND}"
RDEPEND="${CDEPEND}"
PATCHES=(
"${FILESDIR}"/remove-argparse-dependence.patch
"${FILESDIR}"/${P}-python3.5-test.patch
)
python_test() {
"${PYTHON}" -m unittest2 discover --verbose || die "tests failed under ${EPYTHON}"
}