commit: 9b6c6b4d274e18dc905d79566c55f6b13e74e4e0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat May 17 04:46:51 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat May 17 05:21:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b6c6b4d
dev-python/oslo-utils: Bump to 9.0.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/oslo-utils/Manifest | 1 + dev-python/oslo-utils/oslo-utils-9.0.0.ebuild | 67 +++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index c7a17c6f517e..5833411d66f7 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1 +1,2 @@ DIST oslo_utils-8.2.0.tar.gz 137934 BLAKE2B cd2f0bb776da2e83964c0bc0f9e860cd595d4e0affbdf8b887fd79ec3142cb388863dcbfed9c6ecb74d944d8f62be76cfc506b8f346d82d60009c19d8e4b828d SHA512 fb9c0b74893a747c4f78c29fa8e55a5b1690f0b2eef6a1f17088b054b865ff8dc5b8b32dc89d2a7ee9b8134904cc933a0acdad8023437451e75905771d86496b +DIST oslo_utils-9.0.0.tar.gz 138107 BLAKE2B 5541b7574193be246c155a585fe0efebeef8717b9eba9a7ddd504c2ef74b7c6c1b58b2ed5949cb5782992ce2a17edee418bde205ee7b39bdc206356033b50336 SHA512 e548825210406a5efefc6f7f0ab8e2e4120b352002b935a7a6f917e524d2c395826390b121d80642113524525b6f8901a0dbd66cb4b4dfc0f0eab332048e5d6b diff --git a/dev-python/oslo-utils/oslo-utils-9.0.0.ebuild b/dev-python/oslo-utils/oslo-utils-9.0.0.ebuild new file mode 100644 index 000000000000..b32cdc8ccb7e --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-9.0.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-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_{11..13} ) + +inherit check-reqs distutils-r1 pypi + +DESCRIPTION="Oslo Utility library" +HOMEPAGE=" + https://opendev.org/openstack/oslo.utils/ + https://github.com/openstack/oslo.utils/ + https://pypi.org/project/oslo.utils/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.10.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + >=dev-python/pbr-6.1.0[${PYTHON_USEDEP}] + >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +# qemu needed for qemu-img +BDEPEND=" + >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] + test? ( + app-cdr/cdrtools + app-emulation/qemu + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +# note this only applies to USE=test +CHECKREQS_DISK_BUILD=8G + +pkg_pretend() { + use test && check-reqs_pkg_pretend +} + +pkg_setup() { + use test && check-reqs_pkg_setup +} + +src_prepare() { + distutils-r1_src_prepare + + # require eventlet + rm oslo_utils/tests/test_eventletutils.py || die +}