commit:     0f55d44b569e4a49fcd958ba43962972a15ff799
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 19:02:23 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 19:12:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f55d44b

dev-python/oslo-concurrency: Bump to 6.1.0

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

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

diff --git a/dev-python/oslo-concurrency/Manifest 
b/dev-python/oslo-concurrency/Manifest
index 0f05f548d9c5..6a0814efa663 100644
--- a/dev-python/oslo-concurrency/Manifest
+++ b/dev-python/oslo-concurrency/Manifest
@@ -1 +1,2 @@
 DIST oslo.concurrency-6.0.0.tar.gz 60373 BLAKE2B 
24002c424894826f86d9fa7601d107ab04159ace9388944b615d4c1e35f54d5d8438b1a5021a3c3b0ef755d9b92382b9804fe8f7a84075feb7d7d523a4d1cbe9
 SHA512 
6a706e0590f6e29ab560e4133ffdb8dbd6c2cb2dc7cd16acd803ca93800a38223f57eec8c79698c9fe5bf47b1cdcbb89e1a98d3ea36f03a9ccee9da9ab39a0d9
+DIST oslo.concurrency-6.1.0.tar.gz 60320 BLAKE2B 
a1f4303b10e6e736395ee1597a35a26e7c959dc32895121e0576ddd4216b2edc5cd5383e7bedb776885f7d451e9232e08517b9b2bc92c0bfe8bef3c67541d3c7
 SHA512 
dfee864dae2f69d5e1ae32213bf09bffdd492131a04ba3df9ec9c9a793f2b1b6f4cae809977bf732bb310009116d762768adac4946afcfef49bd8dc993eee777

diff --git a/dev-python/oslo-concurrency/oslo-concurrency-6.1.0.ebuild 
b/dev-python/oslo-concurrency/oslo-concurrency-6.1.0.ebuild
new file mode 100644
index 000000000000..ee03a2c3008d
--- /dev/null
+++ b/dev-python/oslo-concurrency/oslo-concurrency-6.1.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2021-2024 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