commit:     7466e19eaeadccde21c223dafaae7c70fd59da65
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 22 06:32:40 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 07:49:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7466e19e

dev-python/oslo-config: Bump to 9.7.1

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

 dev-python/oslo-config/Manifest                 |  1 +
 dev-python/oslo-config/oslo-config-9.7.1.ebuild | 58 +++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest
index 401a8cef47a9..7700aee51d0f 100644
--- a/dev-python/oslo-config/Manifest
+++ b/dev-python/oslo-config/Manifest
@@ -1 +1,2 @@
 DIST oslo.config-9.7.0.tar.gz 164544 BLAKE2B 
25e8ff7697878447a9b6e22802322378eadc0e0a519b5bc61daf4913c818189c6a5ccc100b9920e862cc102a7a8250566466cfc09968e9f58abe5caccc84b8e8
 SHA512 
573376d1fe0ea8ba2a0e3d681eb89524746da4287795b2373591be55cad0bd6bec59e593a61d9e6df27bded47207261d18855acddc81d4b1cc5cad27e4eaec82
+DIST oslo_config-9.7.1.tar.gz 164787 BLAKE2B 
c6bf683ff175130d6772e1ff80362b1aae7f03564c2970778ceb51b64292d9dbfd5f75043348e17552a376c3dd183d81027a2005767cfa2924e3c51a6ff3e136
 SHA512 
a2e7e47f28533cbfea41940be6c6e5eafcf86b96ebcdbc5d911f7955845abf8049865f5959a25b37a9b6d949607fe9544a9ad7660cc39463100dec7879021e3c

diff --git a/dev-python/oslo-config/oslo-config-9.7.1.ebuild 
b/dev-python/oslo-config/oslo-config-9.7.1.ebuild
new file mode 100644
index 000000000000..193085b0a5fc
--- /dev/null
+++ b/dev-python/oslo-config/oslo-config-9.7.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Oslo Configuration API"
+HOMEPAGE="
+       https://opendev.org/openstack/oslo.config/
+       https://github.com/openstack/oslo.config/
+       https://pypi.org/project/oslo.config/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+       >=dev-python/pbr-1.3[${PYTHON_USEDEP}]
+       >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
+       >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
+       >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
+       >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       >=dev-python/pbr-1.3[${PYTHON_USEDEP}]
+       test? (
+               >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+               >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
+               >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+               >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}]
+               >=dev-python/sphinx-1.8.0[${PYTHON_USEDEP}]
+               >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+               >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+       # broken by some dep upgrade
+       sed -i -e '/DeprecationWarningTestsNoOsloLog/,$d' \
+               oslo_config/tests/test_cfg.py || di
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       local -x COLUMNS=80
+       eunittest -b
+}

Reply via email to