diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-08-26 07:06:43 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-08-26 07:06:43 +0200 |
| commit | d18d34b1738b1003a1925d8d0093e3a677b3d66a (patch) | |
| tree | 75ec805b1c3a8185b8cb4c83a08c66d3cf470f24 /dev-python/oslo-concurrency/oslo-concurrency-7.2.0.ebuild | |
| parent | 7d2c5d784f44cfb05b967ae7e18636af0a5123d7 (diff) | |
| download | gentoo-d18d34b1738b1003a1925d8d0093e3a677b3d66a.tar.gz gentoo-d18d34b1738b1003a1925d8d0093e3a677b3d66a.tar.bz2 gentoo-d18d34b1738b1003a1925d8d0093e3a677b3d66a.zip | |
dev-python/oslo-concurrency: Bump to 7.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-concurrency/oslo-concurrency-7.2.0.ebuild')
| -rw-r--r-- | dev-python/oslo-concurrency/oslo-concurrency-7.2.0.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/oslo-concurrency/oslo-concurrency-7.2.0.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-7.2.0.ebuild new file mode 100644 index 000000000000..ae75ec7d7c95 --- /dev/null +++ b/dev-python/oslo-concurrency/oslo-concurrency-7.2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021-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 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=" + 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 +} |
