diff options
Diffstat (limited to 'dev-python/pbr')
-rw-r--r-- | dev-python/pbr/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pbr/pbr-4.2.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/pbr/pbr-4.2.0-r2.ebuild | 73 |
3 files changed, 76 insertions, 2 deletions
diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest index aa1a64be951f..79bca2672b5d 100644 --- a/dev-python/pbr/Manifest +++ b/dev-python/pbr/Manifest @@ -7,5 +7,6 @@ EBUILD pbr-0.8.2-r1.ebuild 2101 BLAKE2B 4e85eb993ab7e6dc05687c531145441b1627fa61 EBUILD pbr-1.10.0-r1.ebuild 2602 BLAKE2B fcd63f45eba4952178bea076c77e5d6880c27f310a8e2043867bc1f278f5d450f9a75832f90dc482c709d4bad4eadf3c1f150092e546e624a03290fea7390664 SHA512 d516a6d42efebe51e2846721e8292fb402d9ee5a88cea385a281f8f7d828da30c59df9582fac1174c2100f8943b318a52d208d6ee10d294a9a3e915e95c1a589 EBUILD pbr-3.1.1.ebuild 2828 BLAKE2B 7fc677aa10ce15627e6e6f6857f0d5b1fc336fe139e42b3ff1aa62d2d898eeb6a92a8e7c22e06e5f597025a4ad16e60dfdec60758b6b5f36569bdd67a39566c1 SHA512 58894ca83de7006ee6486d75ee1673c970ccb207d50c84332b215086468e3288b10a38245a92c8a6330f2a26fddd001b70a9d89b8144009459180474774c1cc1 EBUILD pbr-4.1.1.ebuild 2601 BLAKE2B a2945d95e1ba37c28d86fdd0bff32f0a880c801eeddb2f3f70f6b21fbac7c0bb869021ccb389888c146f5920b7350af1d0c53d34784f9dd0e0934eb937ff1f55 SHA512 c71925bd2db17d18a625ea6510f589c8bf7df9f10031659f7a6c4a63432826639ba6a93c99be229b5f62933051fc00532d53bb0660f89e0d0c804b8bc7af44dc -EBUILD pbr-4.2.0-r1.ebuild 2752 BLAKE2B 00b6503f19bdab76fa00451bcb0253eca38b407f8d75cd6b1bc8a3f1ffea6086c7aad0abd999dbb0514f77b2a244f6039c07a70290c03a0f6b162ae401fff197 SHA512 27cf34e621f474af7f668b88ad0d70ab39714826248186a34c54a68452435fa08f2afdb2904374dbd464aab8ee00bd0a6ebd9cdd51317f33e91d21917ec787d7 +EBUILD pbr-4.2.0-r1.ebuild 2747 BLAKE2B b1f4ae987da3a891fe95f9d059b089acb8f75bee89dcfadd981db41de800fdc9432e24530f2f638e0804eef9c0a316244e8b3059074fe797513373d4cfa5640f SHA512 d0cf43215fecf025910e51f22d92fd11501f8d649c31292a1623605f3536552fbb5ecfd84650e8788ec30248ea72c85b8a725a80cda0e4a1207ab8d0ad5318d9 +EBUILD pbr-4.2.0-r2.ebuild 2790 BLAKE2B 7abb3158a404d077fe0742c9ae542db9141b9de42a3c2537ef6ee0bfc7d9f542e2909e3351bdf9a6988cc08603cb24ce07044e49b08ac1f0c438cd8c6320fee5 SHA512 83903d15a678cc80171e0cd49e6bfedaebfa245494d4c2875bc6679d4647e65a816c9f41181f49739fd035b4c93a92a06db899b5a44f0688420035480c111bb5 MISC metadata.xml 686 BLAKE2B e7638d779ac7aa46c074cf4060bbca595c8e555e972da8b418762bb40237ef0f6d89125f3c0e8f5201a362b2425247ed5a7ecd9d26afe9981f9e51dd005c28fc SHA512 b4bff66d2f42e08f93d723e43bd1b6b32d8bd01a45136a741992af07c11da7fe0db847e46316e5bd237f47cb844fb481e09bff0c6df3d071197686d7dfaa7bc9 diff --git a/dev-python/pbr/pbr-4.2.0-r1.ebuild b/dev-python/pbr/pbr-4.2.0-r1.ebuild index b000008290fc..93fe666760f9 100644 --- a/dev-python/pbr/pbr-4.2.0-r1.ebuild +++ b/dev-python/pbr/pbr-4.2.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="~amd64 ~arm64 ~hppa ~mips ~s390 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 hppa ~mips s390 x86 ~amd64-linux ~x86-linux" #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-fbsd ~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" diff --git a/dev-python/pbr/pbr-4.2.0-r2.ebuild b/dev-python/pbr/pbr-4.2.0-r2.ebuild new file mode 100644 index 000000000000..563dfa50cd30 --- /dev/null +++ b/dev-python/pbr/pbr-4.2.0-r2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} 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 ~arm64 ~hppa ~mips ~s390 ~x86 ~amd64-linux ~x86-linux" +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-fbsd ~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-1.0.0[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-14.0.6[${PYTHON_USEDEP}] + >=dev-python/stestr-2.1.0[$(python_gen_usedep python{2_7,3_4,3_5,3_6})] + dev-python/sphinx[${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 + rm pbr/tests/test_wsgi.py || die "couldn't remove wsgi network tests" + 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}" + + stestr init || die "stestr init failed under ${EPYTHON}" + stestr run || die "stestr run failed under ${EPYTHON}" +} |