commit:     d0bed184dc6b961e3a17e2b6dc773ab811851be8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 23 16:00:21 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 23 16:00:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bed184

dev-python/stevedore: Bump to 5.3.0

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

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

diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest
index d9d4b9225c92..583f3bfa01aa 100644
--- a/dev-python/stevedore/Manifest
+++ b/dev-python/stevedore/Manifest
@@ -1 +1,2 @@
 DIST stevedore-5.2.0.tar.gz 513817 BLAKE2B 
598e479c18a01fb315f43d0257d555ab7d5c3a67833d3af1f38ac2d0e911e14c3927381b50827d40ae63bdd189c0095daec73daa8bd3cf815aacc6b2d6c813c6
 SHA512 
ab7afe7d238b7cf1ecdc0cce0b60f0bddc1b59c28c126006bc49c7dbdfa7991fc3813822502ecb4952226b9caf5a80a2809f3b5bd910525c1feab336a5017d26
+DIST stevedore-5.3.0.tar.gz 513768 BLAKE2B 
7220e422b4b84bfc236d77707ff79eefab3724f98f253f9d94761941cdc7d47f7a2a9cd428810d16189bf1bbd51f899c3c5d6492f06397a422efc4067fdd0558
 SHA512 
b08ba776a03ea5776d73ff6ef2aa0bca7de05c3228172bcec6eb438cec8f64ff821d7fe5b34873822522d51f71532ba9c182a396a915459966ffdbc3cada20bb

diff --git a/dev-python/stevedore/stevedore-5.3.0.ebuild 
b/dev-python/stevedore/stevedore-5.3.0.ebuild
new file mode 100644
index 000000000000..728e6e2f6ec6
--- /dev/null
+++ b/dev-python/stevedore/stevedore-5.3.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..13} )
+
+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