Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stevedore/
Date: Mon, 06 Jun 2022 05:32:22
Message-Id: 1654493451.81731145602f0b9964ec7f4974e89e65cbdc3ca7.mgorny@gentoo
1 commit: 81731145602f0b9964ec7f4974e89e65cbdc3ca7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 6 05:30:51 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 6 05:30:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81731145
7
8 dev-python/stevedore: Bump to 3.5.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/stevedore/Manifest | 1 +
13 dev-python/stevedore/stevedore-3.5.0.ebuild | 53 +++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest
17 index e21c5217f75d..977bd26b16d0 100644
18 --- a/dev-python/stevedore/Manifest
19 +++ b/dev-python/stevedore/Manifest
20 @@ -1 +1,2 @@
21 DIST stevedore-3.4.0.tar.gz 513360 BLAKE2B 17030d1aa3cfb566e6f589120eeb6241a1bc0a0dbac0825c48fc96b16316348e7b5e87c6c7fe428faf46cb9e2abbb0da6465f404d5a1fb767fb07c5d8078e481 SHA512 a63897c65fe8deb1b900c4279ce38856863a2581f8e0dec3fc082d0bd6daa5f346bfc6af978b73c3ac24215953c1376a973b800ff8dbbdc1a99f52c99bed7d6d
22 +DIST stevedore-3.5.0.tar.gz 513548 BLAKE2B bb9b1968dbfdbce0764b0c2030e5d555e159e04a88d8fbdb151d3146e7940643c761ff476f7d950c2e83501b9b125e8323a8463d8b4b93b79cc76ddf2f71a362 SHA512 be0f82230d7d4d3cf18dd913e11093ad90744e32a3021d9f88f0be244f56d0e3606af0adef67674c569c41d885837be3f0fc4d58009e036151cc67963a4f2ab3
23
24 diff --git a/dev-python/stevedore/stevedore-3.5.0.ebuild b/dev-python/stevedore/stevedore-3.5.0.ebuild
25 new file mode 100644
26 index 000000000000..1f6940496911
27 --- /dev/null
28 +++ b/dev-python/stevedore/stevedore-3.5.0.ebuild
29 @@ -0,0 +1,53 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Manage dynamic plugins for Python applications"
41 +HOMEPAGE="
42 + https://opendev.org/openstack/stevedore/
43 + https://github.com/openstack/stevedore/
44 + https://pypi.org/project/stevedore/
45 +"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86"
51 +
52 +RDEPEND="
53 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
54 +"
55 +BDEPEND="
56 + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
57 + test? (
58 + dev-python/sphinx[${PYTHON_USEDEP}]
59 + dev-python/testtools[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +distutils_enable_tests unittest
64 +distutils_enable_sphinx 'doc/source' \
65 + '>=dev-python/openstackdocstheme-1.18.1' \
66 + '>=dev-python/reno-2.5.0' \
67 + '>=dev-python/sphinx-2.0.0'
68 +
69 +python_prepare_all() {
70 + # Delete spurious data in requirements.txt
71 + sed -e '/^pbr/d' -i requirements.txt || die
72 +
73 + # Known bug in tests
74 + # https://bugs.launchpad.net/python-stevedore/+bug/1966040
75 + sed -i -e 's:test_extras:_&:' stevedore/tests/test_extension.py || die
76 +
77 + # Also known problem, inside venv
78 + sed -i -e 's:test_disable_caching_file:_&:' \
79 + stevedore/tests/test_cache.py || die
80 +
81 + distutils-r1_python_prepare_all
82 +}