Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pbr/
Date: Thu, 08 Oct 2015 02:08:50
Message-Id: 1444270093.49b9ab141d5deda5fef33a7928ba73eb9f7ae14d.prometheanfire@gentoo
1 commit: 49b9ab141d5deda5fef33a7928ba73eb9f7ae14d
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 8 02:08:13 2015 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 8 02:08:13 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b9ab14
7
8 dev-python/pbr: bup mitaka
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/pbr/Manifest | 1 +
13 dev-python/pbr/pbr-1.8.1.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest
17 index ef07123..c3325d6 100644
18 --- a/dev-python/pbr/Manifest
19 +++ b/dev-python/pbr/Manifest
20 @@ -8,3 +8,4 @@ DIST pbr-1.3.0.tar.gz 99701 SHA256 1a6f8d514fc11d2571c75c207d932c106f024f199b5f1
21 DIST pbr-1.6.0.tar.gz 99945 SHA256 4eaee8ff5544703edd1951ed1dc0b283da99a74f740d9f9055eeefcf329de1d1 SHA512 a0393cc7774ea3e181ba75c976f5961686afeb214d8c16f3fdd3838154323cd856ded759cae1c6a25b0371c72d95e579b04de0902d56c432ef137f820032c0fd WHIRLPOOL f0a4c4744a86ee1285490ec78fa8e9dc910d926b05746ccf1be5342fe4369bf33a6373ff4fc9981f2547fa83dbc743de4b204a79c9eee8bd4396a983c5509686
22 DIST pbr-1.7.0.tar.gz 99850 SHA256 d6e696dbd2b311225e3a21fe11d611989434cb366ff7919cef5ef1add859526e SHA512 333c99132008997b988f93488b1c4d42a30e14ee179866ee4624bdaae3c11ea2bd321d15c86ee435d325dd80fe1de64ff75113c2c8f5f7b31248188c9e3719fe WHIRLPOOL 62effaec7fb99c89dbba36af71208472c4cfb7fbbb2549440f995048b1ff0b0b2899b099774574c5501bc2d575253a6c8e5df7afccd449f3052a0ebf07f1269e
23 DIST pbr-1.8.0.tar.gz 102868 SHA256 44a0ef9295bb59698f461124741a21a0f7f76d42e160d8a0a4bf1693338036fc SHA512 e1c1e7f0ebff7d7dc8af6c3a6fe1841ee80a9620b25f4146bd30ccbd2212e6332fa8c2aa1ca044cda2915a8bad6df468bd1dc365c330508fa8f07b8fa231736f WHIRLPOOL 9fe6546bef29a3f19d3e8f1ca09ce6f004e17bcadfb3fb5460d9a0db382f3e76218637ad8e34f4e5b6ae7caa8c38a54563ec1193b0ea7e5a56da71c48681dd3c
24 +DIST pbr-1.8.1.tar.gz 104584 SHA256 e2127626a91e6c885db89668976db31020f0af2da728924b56480fc7ccf09649 SHA512 909b3ef463787d68f75f300b483ffb7d1e54ef246ed893ab5cf84e5489e171b67b77c90a1f90259ca274eeb286a66a3f221d5e0c17df5d14d0aa263d36ba6eb4 WHIRLPOOL 69bf79cc322583b17e86ccb130894dbd5aed4b0b6c8c273c977a3a5ac79190cd15b96b28d76995021eb69c30b76bcf7e9a061c0280483da9ec0c69d33e9f0822
25
26 diff --git a/dev-python/pbr/pbr-1.8.1.ebuild b/dev-python/pbr/pbr-1.8.1.ebuild
27 new file mode 100644
28 index 0000000..9b26c1e
29 --- /dev/null
30 +++ b/dev-python/pbr/pbr-1.8.1.ebuild
31 @@ -0,0 +1,68 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
43 +HOMEPAGE="https://github.com/openstack-dev/pbr"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux"
49 +IUSE="test"
50 +
51 +# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
52 +DEPEND="
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + test? (
55 + >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
56 + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
57 + >=dev-python/mock-1.2[${PYTHON_USEDEP}]
58 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
59 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
60 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
61 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
62 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
63 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
64 + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
65 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
66 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
67 + dev-python/virtualenv[${PYTHON_USEDEP}]
68 + dev-vcs/git
69 + )"
70 +PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
71 +
72 +# This normally actually belongs here.
73 +python_prepare_all() {
74 + # This test passes when run within the source and doesn't represent a failure, but rather
75 + # a gentoo sandbox constraint
76 + # Rm tests that rely upon the package being already installed and fail
77 + sed -e s':test_console_script_develop:_&:' \
78 + -e s':test_console_script_install:_&:' \
79 + -e s':test_sdist_extra_files:_&:' \
80 + -e s':test_command_hooks:_&:' \
81 + -e s':test_sdist_git_extra_files:_&:' \
82 + -i pbr/tests/test_core.py || die
83 + sed -e s':test_command_hooks:_&:' \
84 + -e s':test_global_setup_hooks:_&:' \
85 + -i pbr/tests/test_hooks.py || die
86 + einfo "rogue tests disabled"
87 + sed -i '/^hacking/d' test-requirements.txt || die
88 +
89 + distutils-r1_python_prepare_all
90 +}
91 +
92 +python_test() {
93 + distutils_install_for_testing
94 +
95 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}"
96 +
97 + testr init || die "testr init failed under ${EPYTHON}"
98 + testr run || die "testr run failed under ${EPYTHON}"
99 +}