diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-06-06 07:30:51 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-06-06 07:30:51 +0200 |
commit | 81731145602f0b9964ec7f4974e89e65cbdc3ca7 (patch) | |
tree | c4ea188c46cd64068404965cae86c5b79f32bfb8 /dev-python/stevedore | |
parent | dev-python/slackclient: Remove python@ (diff) | |
download | gentoo-81731145602f0b9964ec7f4974e89e65cbdc3ca7.tar.gz gentoo-81731145602f0b9964ec7f4974e89e65cbdc3ca7.tar.bz2 gentoo-81731145602f0b9964ec7f4974e89e65cbdc3ca7.zip |
dev-python/stevedore: Bump to 3.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/stevedore')
-rw-r--r-- | dev-python/stevedore/Manifest | 1 | ||||
-rw-r--r-- | dev-python/stevedore/stevedore-3.5.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest index e21c5217f75d..977bd26b16d0 100644 --- a/dev-python/stevedore/Manifest +++ b/dev-python/stevedore/Manifest @@ -1 +1,2 @@ DIST stevedore-3.4.0.tar.gz 513360 BLAKE2B 17030d1aa3cfb566e6f589120eeb6241a1bc0a0dbac0825c48fc96b16316348e7b5e87c6c7fe428faf46cb9e2abbb0da6465f404d5a1fb767fb07c5d8078e481 SHA512 a63897c65fe8deb1b900c4279ce38856863a2581f8e0dec3fc082d0bd6daa5f346bfc6af978b73c3ac24215953c1376a973b800ff8dbbdc1a99f52c99bed7d6d +DIST stevedore-3.5.0.tar.gz 513548 BLAKE2B bb9b1968dbfdbce0764b0c2030e5d555e159e04a88d8fbdb151d3146e7940643c761ff476f7d950c2e83501b9b125e8323a8463d8b4b93b79cc76ddf2f71a362 SHA512 be0f82230d7d4d3cf18dd913e11093ad90744e32a3021d9f88f0be244f56d0e3606af0adef67674c569c41d885837be3f0fc4d58009e036151cc67963a4f2ab3 diff --git a/dev-python/stevedore/stevedore-3.5.0.ebuild b/dev-python/stevedore/stevedore-3.5.0.ebuild new file mode 100644 index 000000000000..1f6940496911 --- /dev/null +++ b/dev-python/stevedore/stevedore-3.5.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Manage dynamic plugins for Python applications" +HOMEPAGE=" + https://opendev.org/openstack/stevedore/ + https://github.com/openstack/stevedore/ + https://pypi.org/project/stevedore/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest +distutils_enable_sphinx 'doc/source' \ + '>=dev-python/openstackdocstheme-1.18.1' \ + '>=dev-python/reno-2.5.0' \ + '>=dev-python/sphinx-2.0.0' + +python_prepare_all() { + # Delete spurious data in requirements.txt + sed -e '/^pbr/d' -i requirements.txt || die + + # Known bug in tests + # https://bugs.launchpad.net/python-stevedore/+bug/1966040 + sed -i -e 's:test_extras:_&:' stevedore/tests/test_extension.py || die + + # Also known problem, inside venv + sed -i -e 's:test_disable_caching_file:_&:' \ + stevedore/tests/test_cache.py || die + + distutils-r1_python_prepare_all +} |