commit:     f45c06a98e3cd3d38e62c3f93600ace8d6c81121
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 03:55:03 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 04:22:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f45c06a9

dev-python/oslo-concurrency: Bump to 7.0.0

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

 dev-python/oslo-concurrency/Manifest               |  1 +
 .../oslo-concurrency/oslo-concurrency-7.0.0.ebuild | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/oslo-concurrency/Manifest 
b/dev-python/oslo-concurrency/Manifest
index eda3e3c74754..4940482f43f1 100644
--- a/dev-python/oslo-concurrency/Manifest
+++ b/dev-python/oslo-concurrency/Manifest
@@ -1 +1,2 @@
 DIST oslo.concurrency-6.2.0.tar.gz 60573 BLAKE2B 
f5ddfbf0f566e6bc4925526738e6823732c8acb1552929009423f87e8766295a5be578bb82dffb2d0b756fb15089616788228dca7abb91fb6e9fbac290294eb2
 SHA512 
d15dd2049a717e4530c778a3dfb41f9df538835d2f4ea47fbea1fc8f584981b1cbd54a3d5eca273f0202dc4bb8b19b6c59b377690420aa471cf3006f246be8c2
+DIST oslo.concurrency-7.0.0.tar.gz 59671 BLAKE2B 
f8462d9d2ca7b5b665fe92572775c0b9ca7b35eb7a48256b25f7df9038305a3ee1898cc3f7a3d0236c9959f30410d83f807a93f46941feb932bd80de4460afe4
 SHA512 
1bb310b4804c1c7f55d699d04281a1926b6f9414bc73ddafd7904180603243b324b82a45d2d1a637db740aa910e87c225e543e23866933a7e592120a19fa079e

diff --git a/dev-python/oslo-concurrency/oslo-concurrency-7.0.0.ebuild 
b/dev-python/oslo-concurrency/oslo-concurrency-7.0.0.ebuild
new file mode 100644
index 000000000000..bb1a060724d5
--- /dev/null
+++ b/dev-python/oslo-concurrency/oslo-concurrency-7.0.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Oslo Concurrency library"
+HOMEPAGE="
+       https://opendev.org/openstack/oslo.concurrency/
+       https://github.com/openstack/oslo.concurrency/
+       https://pypi.org/project/oslo.concurrency/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+       >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
+       >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
+       >=dev-python/fasteners-0.7.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
+       test? (
+               >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+               >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+       # fails, then hangs
+       rm oslo_concurrency/tests/unit/test_lockutils_eventlet.py || die
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+       eunittest
+}

Reply via email to