commit:     104eda11162b9657bc7cb18ade972dd11a3261c9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 03:16:12 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 03:16:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104eda11

dev-python/stevedore: Bump to 5.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/stevedore/Manifest               |  1 +
 dev-python/stevedore/stevedore-5.2.0.ebuild | 45 +++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest
index def9f3dde355..e2c81089cec6 100644
--- a/dev-python/stevedore/Manifest
+++ b/dev-python/stevedore/Manifest
@@ -1 +1,2 @@
 DIST stevedore-5.1.0.tar.gz 514100 BLAKE2B 
f12e0eaa0c3d4bfa334a89ced740277bd2979e7ff48c7bc36bd85d801d0d2dd92f2f8cf7ef29b8fb61a5361a655c6a5303ad6f6aa2666fb57ebcee209ac0c344
 SHA512 
d7ad920961c9f4055cb145c84578f09f0af93eadf82f60bd7903dfc909cc2cdb64159d9b9b1469eb04569705f4208b667ded5aab17e97bba5dd7310263f449de
+DIST stevedore-5.2.0.tar.gz 513817 BLAKE2B 
598e479c18a01fb315f43d0257d555ab7d5c3a67833d3af1f38ac2d0e911e14c3927381b50827d40ae63bdd189c0095daec73daa8bd3cf815aacc6b2d6c813c6
 SHA512 
ab7afe7d238b7cf1ecdc0cce0b60f0bddc1b59c28c126006bc49c7dbdfa7991fc3813822502ecb4952226b9caf5a80a2809f3b5bd910525c1feab336a5017d26

diff --git a/dev-python/stevedore/stevedore-5.2.0.ebuild 
b/dev-python/stevedore/stevedore-5.2.0.ebuild
new file mode 100644
index 000000000000..64ffe67fe6c8
--- /dev/null
+++ b/dev-python/stevedore/stevedore-5.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Manage dynamic plugins for Python applications"
+HOMEPAGE="
+       https://opendev.org/openstack/stevedore/
+       https://github.com/openstack/stevedore/
+       https://pypi.org/project/stevedore/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+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
+
+       # Also known problem, inside venv
+       sed -i -e 's:test_disable_caching_file:_&:' \
+               stevedore/tests/test_cache.py || die
+
+       distutils-r1_python_prepare_all
+}

Reply via email to