commit: 598fa2043e9f4714d0a19ff4d8ae514f0fac6e60 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Feb 22 06:50:56 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Feb 22 07:49:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=598fa204
dev-python/oslo-concurrency: Bump to 7.1.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/oslo-concurrency/Manifest | 1 + .../oslo-concurrency/oslo-concurrency-7.1.0.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/oslo-concurrency/Manifest b/dev-python/oslo-concurrency/Manifest index 18b5a7ad48bc..5e4f390acb1e 100644 --- a/dev-python/oslo-concurrency/Manifest +++ b/dev-python/oslo-concurrency/Manifest @@ -1 +1,2 @@ DIST oslo.concurrency-7.0.0.tar.gz 59671 BLAKE2B f8462d9d2ca7b5b665fe92572775c0b9ca7b35eb7a48256b25f7df9038305a3ee1898cc3f7a3d0236c9959f30410d83f807a93f46941feb932bd80de4460afe4 SHA512 1bb310b4804c1c7f55d699d04281a1926b6f9414bc73ddafd7904180603243b324b82a45d2d1a637db740aa910e87c225e543e23866933a7e592120a19fa079e +DIST oslo_concurrency-7.1.0.tar.gz 60111 BLAKE2B 049a2328d0085872d3d4369792af7a93bf29fdc94a11f254d33d262b219c10bdfbe3bb24759b82a473ea8941e3f73f72660aadcbc8710d75f878fb08c6d5db0f SHA512 4c69cab1f40f550d7308be8a7488aeac06bb11ec56585819a6518fffe42ff240299b8eeee02b9907a0e3822a4f2323c1658abe2e406508a8f2e28faf70ad34b3 diff --git a/dev-python/oslo-concurrency/oslo-concurrency-7.1.0.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-7.1.0.ebuild new file mode 100644 index 000000000000..f15d6794a93b --- /dev/null +++ b/dev-python/oslo-concurrency/oslo-concurrency-7.1.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_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/debtcollector-3.0.0[${PYTHON_USEDEP}] + >=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 +}