commit:     239bf38cf925199a11bdc2e0a1d95eb907fb7295
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 05:32:55 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 05:40:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239bf38c

dev-python/stevedore: Bump to 5.4.0

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

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

diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest
index b95d33200c53..f3d3d424c6bc 100644
--- a/dev-python/stevedore/Manifest
+++ b/dev-python/stevedore/Manifest
@@ -1 +1,2 @@
 DIST stevedore-5.3.0.tar.gz 513768 BLAKE2B 
7220e422b4b84bfc236d77707ff79eefab3724f98f253f9d94761941cdc7d47f7a2a9cd428810d16189bf1bbd51f899c3c5d6492f06397a422efc4067fdd0558
 SHA512 
b08ba776a03ea5776d73ff6ef2aa0bca7de05c3228172bcec6eb438cec8f64ff821d7fe5b34873822522d51f71532ba9c182a396a915459966ffdbc3cada20bb
+DIST stevedore-5.4.0.tar.gz 513899 BLAKE2B 
6fda4d24f51ef9dd25db8adf28832ff30308415feaac0416c4fa93d3cdc185ed99ee82b8d6f93c8fbf4ef747827dff4f95494dccd4c89bc926727a1964380570
 SHA512 
b377f79c3d467fc910b6a85bb1788f85982f6e0df561b5187ac06652301ca357d274048e1538b0d641d1159c1de973edfa2146561946a965ac86015a88b7cce0

diff --git a/dev-python/stevedore/stevedore-5.4.0.ebuild 
b/dev-python/stevedore/stevedore-5.4.0.ebuild
new file mode 100644
index 000000000000..aff3b1bee66c
--- /dev/null
+++ b/dev-python/stevedore/stevedore-5.4.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 ~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