1 |
commit: 4780a5941eb2c5779898237f66b7c35e56f094ae |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 13:57:45 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 14:17:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4780a594 |
7 |
|
8 |
dev-python/pbr: Bump to 5.4.5 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pbr/Manifest | 1 + |
13 |
dev-python/pbr/pbr-5.4.5.ebuild | 73 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 74 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest |
17 |
index 585bf23c8a1..72e332c1fc6 100644 |
18 |
--- a/dev-python/pbr/Manifest |
19 |
+++ b/dev-python/pbr/Manifest |
20 |
@@ -2,4 +2,5 @@ DIST pbr-3.1.1.tar.gz 102665 BLAKE2B 301515d50f8550f5553a29faacb1daef589b41b8116 |
21 |
DIST pbr-4.1.1.tar.gz 108683 BLAKE2B 5c0157ff14590113e7baae0bdca1ff46108a7a10d6eae8bd0a2d06bee62b4aa65eed25c900ae1b67324ac6b416641081c63a274c9694db1877b5d9073c1c04d9 SHA512 ed739901b3a2d1eafa1d4d408a39f1e5d967776571efe0913877145aaccee3114558e107a4e5704403288324c63a08cfbca07a3409bd1baafcbc33105abdf3e4 |
22 |
DIST pbr-4.2.0.tar.gz 107958 BLAKE2B 716283ceb7b1a8da41e77441c7526bf8cbdb5be7c710013630d3bbddf7de0ce37f3abd063f6103f3ec27fc5c09796f6452d8117df3b533b3c7377bf6dce7d37f SHA512 d46d93333b4d0d3fd5c14e0a474ca7beceddf794a5dbcf66f810993b8d33b48602518072effcd429566f4eede2a38c4aec289df262c2c0e7ab4b82474e14f14d |
23 |
DIST pbr-5.1.1.tar.gz 113476 BLAKE2B 9e4857f13eba2e18abffa3d7c56f05eb5a5997b855f02770a807cec110e6eb4596b333b67beba2a507bb8cb55fcd3ed87a012b4a3a245b81d0a74737c010f157 SHA512 cd6f8bdc6db80841e948dbb278423556861aa681b970050a40c920dd00e32704a29cfdd28aabd4d14e0e577fff1bc816f0646a62c9450d0d85233ab5802606f1 |
24 |
+DIST pbr-5.4.5.tar.gz 120510 BLAKE2B f0f22a25e41820a0848aface6c241e38d8c4500d14ac3c8abf3d3b5f3f2d88680505d43f045589d700e9c07ade1643712274b156832246ca3f2050f44e4cda26 SHA512 b53ca10b7af7e365ff99ecf11942d3f047112d69f7e963716d07bc156077b08d79bb708bb93aae342e5e03c83278507b6990137dc34d0ebc11de53bd57ab3654 |
25 |
DIST pbr-wheel.patch 2781 BLAKE2B f36ac5bfe22e97dd93735581461f5ac79753543e0e03bcf569d95a3bfac70362c50af8bfc745e5d29ff07092e9669782ddaf3f8edd70501966c4d4682a5bfa33 SHA512 3c89eb9ea617da1d3e2eca3fadff6f5be9f55e4a258e1fbcdd221f3c0ec3cbfd13abe401bdfdb4b464baf74b8111e981f2dab4fb2839a4b52aee65212d1589f5 |
26 |
|
27 |
diff --git a/dev-python/pbr/pbr-5.4.5.ebuild b/dev-python/pbr/pbr-5.4.5.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..df887424540 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/pbr/pbr-5.4.5.ebuild |
32 |
@@ -0,0 +1,73 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
39 |
+PYTHON_REQ_USE="threads(+)" |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" |
44 |
+HOMEPAGE="https://github.com/openstack-dev/pbr" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux" |
50 |
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux" |
51 |
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
52 |
+IUSE="test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 |
56 |
+# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848 |
57 |
+# stestr is run as external tool |
58 |
+DEPEND=" |
59 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
60 |
+ test? ( |
61 |
+ $(python_gen_cond_dep ' |
62 |
+ >=dev-python/wheel-0.32.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
69 |
+ <dev-python/virtualenv-20[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/stestr-2.1.0 |
71 |
+ dev-vcs/git |
72 |
+ ' -3) |
73 |
+ )" |
74 |
+PDEPEND="" |
75 |
+ |
76 |
+# This normally actually belongs here. |
77 |
+python_prepare_all() { |
78 |
+ # TODO: investigate |
79 |
+ sed -e s':test_console_script_develop:_&:' \ |
80 |
+ -e s':test_console_script_install:_&:' \ |
81 |
+ -i pbr/tests/test_core.py || die |
82 |
+ # broken on pypy3 |
83 |
+ # https://bugs.launchpad.net/pbr/+bug/1881479 |
84 |
+ sed -e 's:test_generates_c_extensions:_&:' \ |
85 |
+ -i pbr/tests/test_packaging.py || die |
86 |
+ rm pbr/tests/test_wsgi.py || die "couldn't remove wsgi network tests" |
87 |
+ |
88 |
+ distutils-r1_python_prepare_all |
89 |
+} |
90 |
+ |
91 |
+python_test() { |
92 |
+ if ! python_is_python3; then |
93 |
+ ewarn "Skipping tests on ${EPYTHON} to unblock circular deps." |
94 |
+ ewarn "Please run tests manually." |
95 |
+ return |
96 |
+ fi |
97 |
+ |
98 |
+ distutils_install_for_testing |
99 |
+ local -x PATH=${TEST_DIR}/scripts:${PATH} |
100 |
+ |
101 |
+ rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" |
102 |
+ |
103 |
+ stestr init || die "stestr init failed under ${EPYTHON}" |
104 |
+ stestr run || die "stestr run failed under ${EPYTHON}" |
105 |
+} |