commit:     b2ff034eeff15c20b1d1955f4504267f46940080
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue May 24 19:35:30 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue May 24 19:36:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ff034e

dev-python/pbr: bup

Package-Manager: portage-2.2.28

 dev-python/pbr/Manifest          |  1 +
 dev-python/pbr/pbr-1.10.0.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest
index f014c68..f83ffa6 100644
--- a/dev-python/pbr/Manifest
+++ b/dev-python/pbr/Manifest
@@ -1,3 +1,4 @@
 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

diff --git a/dev-python/pbr/pbr-1.10.0.ebuild b/dev-python/pbr/pbr-1.10.0.ebuild
new file mode 100644
index 0000000..64ff796
--- /dev/null
+++ b/dev-python/pbr/pbr-1.10.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,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/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}"
+}

Reply via email to