From e005dbc0ff389dccbd7a0630f5f29689a68a2e33 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Wed, 15 Apr 2015 09:46:22 +0000 Subject: [PATCH] Version Bump; drop old Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB! --- dev-python/pbr/ChangeLog | 9 ++- dev-python/pbr/Manifest | 45 +++++++------- dev-python/pbr/metadata.xml | 1 - .../{pbr-0.8.0.ebuild => pbr-0.10.8.ebuild} | 35 ++++++++--- dev-python/pbr/pbr-0.5.23-r2.ebuild | 61 ------------------- dev-python/pbr/pbr-0.5.23.ebuild | 49 --------------- dev-python/pbr/pbr-0.7.0.ebuild | 61 ------------------- 7 files changed, 54 insertions(+), 207 deletions(-) rename dev-python/pbr/{pbr-0.8.0.ebuild => pbr-0.10.8.ebuild} (53%) delete mode 100644 dev-python/pbr/pbr-0.5.23-r2.ebuild delete mode 100644 dev-python/pbr/pbr-0.5.23.ebuild delete mode 100644 dev-python/pbr/pbr-0.7.0.ebuild diff --git a/dev-python/pbr/ChangeLog b/dev-python/pbr/ChangeLog index 9a2abe85893f..c09954b8404e 100644 --- a/dev-python/pbr/ChangeLog +++ b/dev-python/pbr/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/pbr # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/ChangeLog,v 1.32 2015/04/14 12:50:24 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/ChangeLog,v 1.33 2015/04/15 09:46:21 jlec Exp $ + +*pbr-0.10.8 (15 Apr 2015) + + 15 Apr 2015; Justin Lecher +pbr-0.10.8.ebuild, + -pbr-0.5.23-r2.ebuild, -pbr-0.5.23.ebuild, -pbr-0.7.0.ebuild, + -pbr-0.8.0.ebuild, metadata.xml: + Version Bump; drop old 14 Apr 2015; Agostino Sarubbo pbr-0.8.2-r1.ebuild: Stable for ia64, wrt bug #540290 diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest index a7b2804dbf4c..c19fc654973d 100644 --- a/dev-python/pbr/Manifest +++ b/dev-python/pbr/Manifest @@ -1,32 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 -DIST pbr-0.5.23.tar.gz 128773 SHA256 032903366eabe6a388dfd6fdc1f4ef72558d7b9be6313bc24619c2a8d71b6087 SHA512 91889672e8c7cc6949c6e1180728f04242d546d112ac5dbe1d3b63e3a6c293072d68a1c95fdfd4d68404261d459270768e5d77b1a5596f3f0547e246c52a585d WHIRLPOOL 744b12fae6292f90330b81459b046ca91031918ad2ea0d56baebe40671f5bde85ab13d83263899d3a36b424788f9e15f5bc427a00dd0eb899def0c8a46cc2d7f -DIST pbr-0.7.0.tar.gz 78021 SHA256 1680e9add47561abf6aed6c18d5d9bf3c8b8f22bd9931373f28348e10c5b9fce SHA512 14ff8996aa3ea20c65c8a9121efc8b7ef0c75b352994ac6aeba11b4bac4a4dc07015b31dbcb0f27097b02a3725f4b999d7967908db25ff6f93b9fa684e3c1095 WHIRLPOOL 77dd7840924edcc5c93294e495f6b5ccd6d9ae7024324f20ca2a124b19ef07d15d491aabede7daf51e830512e31918d403509e6804d5518e95b32285c781949f -DIST pbr-0.8.0.tar.gz 75217 SHA256 799cbdd896806ffa736bca0021aa61619fee5813148f8418366c690af80ee94a SHA512 feae0eab60a5f64ac8dda519af6b9e671014d42a3ae77cd15080b034872d1d69e87f754caf082479943def7ff5bfb11a3b1524de236e189bc496e3688791aff4 WHIRLPOOL 9dc0b71af8a358e3924cf171d21d0150b4866fcde5352ba65259890f5fcce048c2c974b6f956114be31374893c9fdc56268fc156014db3a3e1dcbbbb67128bd9 +DIST pbr-0.10.8.tar.gz 82952 SHA256 a741650c697abe9dd3da00039a57a45a15a6eed017a16f6b7e4c0161fae2b4b2 SHA512 d79455288657ca07e38a64393d54bda8f88b75242b929ea9f88ac809ba88fffa4793eba0459cae368d822164de5a89721c77fadd05ab624db5897f6cf447b1f4 WHIRLPOOL 621f34852dc31cd149422a36fc0416fdc8640f9103439267f9b6f117a80c5dd949fab18287c10c5d5022248812b792f83766b32a62608d42d8b08066c890753e DIST pbr-0.8.2.tar.gz 77790 SHA256 eef2ace8d65d5902582cbc9ad3b2ecff0e86a6f90ad4837d8b17d568dd9dd20e SHA512 76d7d4c97660d5a6bbe9a33498a93b32528073024520e570739c511c0138ba1af7e35139bf77ca2a94063e5979baccd6252619449d6aed546fd1331be81ab52a WHIRLPOOL d6331fcd6e7d4eb750e3285e92fd21dfdfbb054b880f954156d1e781025a0c0e1c464e0c23cad587799ceba787928af092d34071eb0a5c4595b0e8aa6db52ff0 -EBUILD pbr-0.5.23-r2.ebuild 2248 SHA256 a05c338ec0f196d446f32a5f4547b6d5a1c44631098d74639ab6a63d164f5b92 SHA512 8d2cae114481180d05631130e9ef55894cc875ad4385dc1f40645d0c5bd250c8380b5c790a932d1a50087353e00da325c1aaec6f1c171356d6af55845b428cc8 WHIRLPOOL cf270ab728343233317b0d1ddd4d46caaa1e88341a574fcdb4e2c8a5dc59387ab79d3784d234e2e3196d4a3523b19013695e3ea2ac1dade7b6bdeb3300862e2e -EBUILD pbr-0.5.23.ebuild 1880 SHA256 a70f66b8b7864c691ad3e058b45802b5f7af6b79ff86c932bac3c6b0a58f793e SHA512 97e52d8bb2f55c3692775ee9849f6a77c48ae7d84c007717bf906b85069868ef6571c58adb4eba497b10560baa9cb138dbdd2eda65e58ad091e7b865019830b5 WHIRLPOOL 349ce8b48722a0b598673b1c51058768bb34cb5ebcd7b8399893dcfbce6ca5f4cacd74d09da97a4ccca50ede31b291c86a936acd324e7c364a9574d2de51f822 -EBUILD pbr-0.7.0.ebuild 2250 SHA256 c2cda743607e174cd2b85327b066e8cff6e7b110643c6902c889ff72033c8127 SHA512 3afb5adb1b616125e31602139bce13c991335f5877dd72008416ef26c7845f377352dbc4200adba3afe31a8fc1843af54da96c2b271fe4f2a01650a2eab8de40 WHIRLPOOL eb7b9f688e67ad082daf5d5aa27c3a843dc650b202044dd62c1d6cd4655fd8df8e61d0e06622aa1917dd2b197110b38d1442a97173d9b307e987126eb1dde901 -EBUILD pbr-0.8.0.ebuild 1685 SHA256 ee2703b08fb61cd840c6c4885ad4a0a9052400570dd5433c25c46db409822789 SHA512 d040b6495ddd478fe83ceae307acf9dedf040047f7844e8d393f1a122b27e5e688a36c80e356e04cd2ea439dc1f230054a8e7956bd21e42bff0e86018c925f07 WHIRLPOOL 54a341540d211b3d4947d6585df1961cd0b5e69c17a74b8d94b70405f021155c6fa5a08615d8ea2f6b10e8da4e9f834f1300490aa78560c67f2aedc8a4a551f8 +EBUILD pbr-0.10.8.ebuild 2172 SHA256 a3a2feaad987a4faad3215485bc59e40db85c326a7bad9f475799eb1367e7649 SHA512 b15b073c158948ffdc1b48fa0c774d4a219a90af0cddabfd1d22d2bec52b77586dcb154110c4bcb185c735487e08961154b4d3987ebc00939cfc224b43b31eb7 WHIRLPOOL 4fd48c58a26c13197b2d5e6d23712cc731d67cee0e26d7833c0204b34df9a0063f8dfaeacfe310e0f1a3c811651281611ef80c104c22ddda95003e8c0e51a1ff EBUILD pbr-0.8.2-r1.ebuild 2184 SHA256 41329ab00d8b35c914c4423a967f501ee072e6cad565ba0c3e860708b9138bb7 SHA512 8ae1c5325c3b69491560a7b6b30c364b66613b1bada63e075610c64d2c12d84be2cc156cae765b71d6cfa12d2883306d139aa0c6363267b20f82181b13a45cb6 WHIRLPOOL a17168ce5ff9e9b5c70e1901202c9ef9ee0c3a5569f7c3056d69c698612da3cd837dd3a0b80798882c95e0917783f4b61a7816ebf0167729b87d19943624e67b EBUILD pbr-0.8.2.ebuild 1940 SHA256 ae6ca89c3fb6f543bcab8ad888d7d76416cd800e1987c8117279c0d781710a5d SHA512 951795dacfab7905dad8cb299abc1b7acca60ca364d996b9305ab8aa6fe0ba9ef765d02af33d2630bf7a48af51015181f2a086a45367f4c14e25535d2dfc1efd WHIRLPOOL 3c1bd1271abb6a93e32f402274a202d34867fab8e9541be5bb25bbe590e3d938c77fb0f606414f8d27174b625d63ee4bca191bf87913b4f1b07128972f060f72 -MISC ChangeLog 4147 SHA256 c1486d8acd08a5fda5b2fc6d14dd982c136537bc0a37885b11a029d61aade9fa SHA512 2d721b37ddb2f8f13224dca582bb95cd88e46e20f1b896a4d057c4e45a45cd5eb291c7d083bc2261afeadd22352ae45495535b0fee4f38f3d142ea0400e79b24 WHIRLPOOL 9f9b4cbd9199c161f8b96b7ae79bfdd6f1bfe9d067804ea0bc6167dfb4989500af7809fa68e690b4bcfddc64d3d451a71c6bc358c336956757d7349b1424a3cc -MISC metadata.xml 455 SHA256 9c48b9696884d16afd8f5c2e6af02a1cf3d5c295d33979fe9a7733ecfab2a83e SHA512 e81a53ebb90c189faed750506e27932c0e9bd87a90356a47fa0a7fbe69c142ef34010fc4a7175c2804d942754519a3f8a72f27845791aed82a82d517b50f3567 WHIRLPOOL 0f50c128817c9f3bc0fe5762758c1e23528f7b94d8ad25f0397ec083f368886a8c202133bcd94d79bb66869c62fa2d327778c275dffcd4a4a79e70bc797b6cef +MISC ChangeLog 4367 SHA256 1844e9ccb6d51291eb356297b237bfbf64e5b14a8d611f639ca7d2ab2c500c8c SHA512 f510045bf256f138dedc3629ae11d804662757fd841419fab38ec05ee3becf6cb459c4db998894ce81d7106ba45d60e0e0a1288de8ea4c20836f4ff97de858ad WHIRLPOOL 8357962ca915a26f96d897262af6e601713fe48257f725950682fe704c7cd9be621a946ecf358feda4abc94d8a1b26fc2e09a62634a8af9962f2fade4bdd714a +MISC metadata.xml 454 SHA256 950ae08cb68881bbcf7a66a9a786133a887412a217de35ebb2d99a718ef047cc SHA512 3b0b60047831a08e2fe46b654610dc22fb3f8f49057b977ba1ac70d09f1b1edb76c4dce24168dbd7e5f88c48ad976895528c5fca8fdb9429b5c32f233240f050 WHIRLPOOL 31a30b4c552007a353a7abb4dcb5198aaf47e4e1878019555bbeeb0b8092a96bf9550496952ce58b348285be72566629a2a0cab57a16f7a44175327252320e8f -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.1 -iQIcBAEBCAAGBQJVLQ0QAAoJELp701BxlEWf60kP/A1jTKkCKy889cLAvfcpFkSd -sRD7RLPAVE7om3J3FN6pAIBilj3c13Y8HLu2QJYJSrb25u5uyDAkNpz8twfUbyPT -acQ3q20xMrJxjZV/LhYiGhihN4urudTida+fmh8Sf9vub0MS9fFJ8Uwkd5AobxWz -i7NyZcybkGbKHxv5ta5IrEJvlz+hNdf8X5/Dw+qmUmtydUwdiodEOTVuxyEhZfbZ -fBfr7AIK/3/5ovI0EF2Poy/JOgvzmejqoMaxU3+viymzSucBZZcMiR+gRwiSmvUH -NDv1mqlK1x71Tm99SjjeGRUoOdtjT/NG1t1wW5sOWc12+EUfxTC8PN1PgXx67A4F -ttJ8aNxOGT/f2YSm63BMGUR8kb97kC1senvIhN3XCj4dOzMjw2spCBvusxoLAG/O -ZrXaZTwiCeigEHmfi9qtXUR+3AlqvtWA/jUSQ2K/Nuk/y9xDCP0Es3j0gH65DkDr -LzA/1oJZ477cFqIS9qPE1tpeWFLpk7KGRqyFgxbW7hSb/vNcSIMZi5amBlhFsSe5 -cc8iE84I3kw/OuRvRaKavp23VSEu872PWnGYU0LwVBFyXdbT16E0SUJ9ZkWwVzlX -KteHb4yaCitk7kK1AyPHiAHzleINIOT7RgxFSgu7AxymhlH+YJU1vhKPCh06cgcC -Fzj8gx/O2IQkYIxxZ6iw -=UjL7 +iQJ8BAEBCgBmBQJVLjNuXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC +OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirtsAP/0XQXNqIysBcceLcSLnrsHQ1 +9lH7KzeqqgJI+qNycw2n01UaROGjvYGgIrwzlVf0VoCL1vu/o4J1BHxmnwAJy3R0 +ZsPsVK3Ccvmj+08dC3DIuqqinwzpXfvUIQ+2gIKBmYXuvMUG1s4CVcRXSaDMgsZ2 +tMITFlzWfBWNf7aeUbwRRHo2VSF9TYDef0lgjMUvicHnGnm2si1L6CHaxmFKFPz5 +pE/MKEwC7UchFO4Wzl0jTGxlndPDq/q4J/z/Qmp8IichAKhfZLiLp3fqgZljM6Ox +oDzA73nCY0TpfPHr2PRnaQjqY6koZC6CXlQqh3R1BJol8PyMJ56Qh5FIJSBRsve6 +tmx5EyX3aswvuWnejObZRura257gvMH2MpeetHUdUvYLurHEKqul/QW0kJv6B+bC +ynnSQSs2rYJITTGUlRNjCmSUCxrD0lPQUVdrWap7cP+iv3lhe8W2ry7v9Htde2RM ++wkW9QMIfGiGSXXZoxsPw3GRGVfvMBGRr7tGHj0jhbkU/iHb8NquyAtR9lT8pgmx +ig0w84lDIMHdYfwt4pLQxjylPmxhpoPbrdAJQeBqxKbJV4A7BXHDSMUeyeU516b8 +utt4yW4ux3WCb658NLLyFgBV6Qe3C2rO5bZtiydKwpe3CjAYh3IYZnUf7jLwA51J +bbKDx2HyeIc0I6otjFsL +=IIcz -----END PGP SIGNATURE----- diff --git a/dev-python/pbr/metadata.xml b/dev-python/pbr/metadata.xml index 9718107b6638..c5dd206e78da 100644 --- a/dev-python/pbr/metadata.xml +++ b/dev-python/pbr/metadata.xml @@ -11,4 +11,3 @@ PBR is a library that injects some useful and sensible default behaviors into your setuptools run. - diff --git a/dev-python/pbr/pbr-0.8.0.ebuild b/dev-python/pbr/pbr-0.10.8.ebuild similarity index 53% rename from dev-python/pbr/pbr-0.8.0.ebuild rename to dev-python/pbr/pbr-0.10.8.ebuild index 4b235883c6d6..b16eba755072 100644 --- a/dev-python/pbr/pbr-0.8.0.ebuild +++ b/dev-python/pbr/pbr-0.10.8.ebuild @@ -1,14 +1,14 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.8.0.ebuild,v 1.7 2015/01/25 05:06:09 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.10.8.ebuild,v 1.1 2015/04/15 09:46:21 jlec Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3} ) + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) inherit distutils-r1 -DESCRIPTION="PBR is a library that injects some useful and sensible default -behaviors into your setuptools run." +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" @@ -17,14 +17,16 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="test" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}] +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/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/testrepository-0.0.18[${PYTHON_USEDEP}] >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] @@ -38,11 +40,24 @@ DISTUTILS_IN_SOURCE_BUILD=1 python_prepare_all() { # This test passes when run within the source and doesn't represent a failure, but rather # a gentoo sandbox constraint - sed -e s':test_console_script_develop:_&:' -i pbr/tests/test_core.py || die + # 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() { - testr init + # Note; removed tests pass once package is emerged, + # it's the suite's design that breaks form, not the tests' intended purpose + testr init || die testr run || die "Testsuite failed under ${EPYTHON}" } diff --git a/dev-python/pbr/pbr-0.5.23-r2.ebuild b/dev-python/pbr/pbr-0.5.23-r2.ebuild deleted file mode 100644 index f9fec38c2f2c..000000000000 --- a/dev-python/pbr/pbr-0.5.23-r2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.5.23-r2.ebuild,v 1.4 2015/04/08 08:05:16 mgorny Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit distutils-r1 - -DESCRIPTION="PBR is a library that injects some useful and sensible default -behaviors into your setuptools run." -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 ~ppc ~ppc64 ~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.12[${PYTHON_USEDEP}] - ~dev-python/flake8-2.0[${PYTHON_USEDEP}] - dev-python/subunit[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}] - =dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - =dev-python/testtools-0.9.32[${PYTHON_USEDEP}] )" -RDEPEND=">dev-python/pip-1.0[${PYTHON_USEDEP}]" - -python_prepare() { - if [[ "${EPYTHON}" == "python3.2" ]]; then - 2to3-3.2 -f unicode -nw --no-diffs pbr - fi -} - -python_test() { - # These tests pass run within the source and don't represent failures but rather - # work outside the sandbox constraints - sed -e s':test_changelog:_&:' -i pbr/tests/test_packaging.py || die - sed -e s':test_console_script_develop:_&:' -i pbr/tests/test_core.py || die - - sed -e s':test_authors:_&:' -i pbr/tests/test_packaging.py || die - sed -e s':test_global_setup_hooks:_&:' -i pbr/tests/test_hooks.py \ - -e s':test_custom_commands_known:_&:' \ - -e s':test_command_hooks:_&:' \ - -i pbr/tests/test_hooks.py - sed -e s':test_setup_py_keywords:_&:' \ - -e s':test_sdist_git_extra_file:_&:' \ - -e s':test_sdist_extra_file:_&:' \ - -e s':test_console_script_install:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_custom_build_py_command:_&:' \ - -i pbr/tests/test_commands.py || die - - testr init - testr run || die "Testsuite failed under ${EPYTHON}" - flake8 "${PN}"/tests || die "Run over tests folder by flake8 drew error" -} diff --git a/dev-python/pbr/pbr-0.5.23.ebuild b/dev-python/pbr/pbr-0.5.23.ebuild deleted file mode 100644 index 40d144282784..000000000000 --- a/dev-python/pbr/pbr-0.5.23.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.5.23.ebuild,v 1.5 2014/08/20 20:37:21 blueness Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="PBR is a library that injects some useful and sensible default -behaviors into your setuptools run." -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 ~ppc ~ppc64 ~x86" -IUSE="test" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}] - >=dev-python/fixtures-0.3.12[${PYTHON_USEDEP}] - ~dev-python/flake8-2.0[${PYTHON_USEDEP}] - dev-python/subunit[${PYTHON_USEDEP}] - dev-python/mimeparse[${PYTHON_USEDEP}] - >=dev-python/mock-1.0[${PYTHON_USEDEP}] - ~dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}] - ~dev-python/pep8-1.4.5[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - =dev-python/testrepository-0.0.17[${PYTHON_USEDEP}] - =dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - =dev-python/testtools-0.9.32[${PYTHON_USEDEP}] - )" -#dev-python/python-subunit[${PYTHON_USEDEP}] -#!dev-python/subunit[${PYTHON_USEDEP}] -RDEPEND=">dev-python/pip-1.0[${PYTHON_USEDEP}]" - -python_test() { - # These tests pass run within the source and don't represent failures but rather - # work outside the sandbox constraints - sed -e s':test_changelog:_&:' -i pbr/tests/test_packaging.py || die - sed -e s':test_console_script_develop:_&:' -i pbr/tests/test_core.py || die - testr init - testr run || die "Testsuite failed under ${EPYTHON}" - flake8 "${PN}"/tests || die "Run over tests folder by flake8 drew error" -} diff --git a/dev-python/pbr/pbr-0.7.0.ebuild b/dev-python/pbr/pbr-0.7.0.ebuild deleted file mode 100644 index 8f32e9291a4e..000000000000 --- a/dev-python/pbr/pbr-0.7.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.7.0.ebuild,v 1.3 2015/04/08 08:05:16 mgorny Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit distutils-r1 - -DESCRIPTION="PBR is a library that injects some useful and sensible default -behaviors into your setuptools run." -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 ~ppc ~ppc64 ~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/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${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}] )" -RDEPEND=">dev-python/pip-1.4[${PYTHON_USEDEP}]" - -python_prepare() { - if [[ "${EPYTHON}" == "python3.2" ]]; then - 2to3-3.2 -f unicode -nw --no-diffs pbr - fi -} - -python_test() { - # These tests pass run within the source and don't represent failures but rather - # work outside the sandbox constraints - sed -e s':test_changelog:_&:' -i pbr/tests/test_packaging.py || die - sed -e s':test_console_script_develop:_&:' -i pbr/tests/test_core.py || die - - sed -e s':test_authors:_&:' -i pbr/tests/test_packaging.py || die - sed -e s':test_global_setup_hooks:_&:' -i pbr/tests/test_hooks.py \ - -e s':test_custom_commands_known:_&:' \ - -e s':test_command_hooks:_&:' \ - -i pbr/tests/test_hooks.py - sed -e s':test_setup_py_keywords:_&:' \ - -e s':test_sdist_git_extra_file:_&:' \ - -e s':test_sdist_extra_file:_&:' \ - -e s':test_console_script_install:_&:' \ - -i pbr/tests/test_core.py || die - sed -e s':test_custom_build_py_command:_&:' \ - -i pbr/tests/test_commands.py || die - - testr init - testr run || die "Testsuite failed under ${EPYTHON}" - #flake8 "${PN}"/tests || die "Run over tests folder by flake8 drew error" -} -- 2.26.2