commit:     bd7b2413aeea75343b30f8527488a77b27ad150a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 17 04:56:38 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 17 05:21:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd7b2413

dev-python/oslo-config: Bump to 9.8.0

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

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

diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest
index 2aa5bc97391a..4d5b6a11037f 100644
--- a/dev-python/oslo-config/Manifest
+++ b/dev-python/oslo-config/Manifest
@@ -1 +1,2 @@
 DIST oslo_config-9.7.1.tar.gz 164787 BLAKE2B 
c6bf683ff175130d6772e1ff80362b1aae7f03564c2970778ceb51b64292d9dbfd5f75043348e17552a376c3dd183d81027a2005767cfa2924e3c51a6ff3e136
 SHA512 
a2e7e47f28533cbfea41940be6c6e5eafcf86b96ebcdbc5d911f7955845abf8049865f5959a25b37a9b6d949607fe9544a9ad7660cc39463100dec7879021e3c
+DIST oslo_config-9.8.0.tar.gz 165087 BLAKE2B 
7b04abceefb078a69554dc1d61264227a7ce1d169ec985ffc7d44f4ebc5b8e80024955328c4cea89e00e082aa2e490ce58607596c2d0690d1bc470a2cee6c875
 SHA512 
44cded1e949f76578d0ed73328a3d81e51d665dc15a1ff9d8b04e7987b6003d5d10f5f5cbdf11a6861a9e2d14f98519bcc3ad01b8749dd759712b0f0016ec7c4

diff --git a/dev-python/oslo-config/oslo-config-9.8.0.ebuild 
b/dev-python/oslo-config/oslo-config-9.8.0.ebuild
new file mode 100644
index 000000000000..09eedfbb3a99
--- /dev/null
+++ b/dev-python/oslo-config/oslo-config-9.8.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pbr
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{11..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="
+       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