commit: 51216b4f3375833c65918879b6c928e6f4d088d8 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Dec 5 05:12:38 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Dec 5 05:37:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51216b4f
dev-python/oslo-utils: Bump to 8.0.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/oslo-utils/Manifest | 1 + dev-python/oslo-utils/oslo-utils-8.0.0.ebuild | 55 +++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index 7f8ef96a09c6..c266583047ce 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1 +1,2 @@ DIST oslo.utils-7.4.0.tar.gz 135993 BLAKE2B 39e23fd850756ff4336d579ca9e3d1ca15de8370298b8bcba6adfc4dc4227c5e8d154347b5f8272ffe7b3f737317fae20f46fc6431cc5d1307b7b2a8d6d51f85 SHA512 b743778529c4da4889737aa249102dd6d7215ce7e794bfb8fb8a48fc448fe34d6a091a8afb551b46b53e2556015bf51ac75d12955a6582972bc7355b68a8799f +DIST oslo.utils-8.0.0.tar.gz 137260 BLAKE2B cb172de17e4e219b46bf862fbb9c9ca30f48cbc56d3967f4a1efe7c0a84485e81cae552a84683982480578acd5018df70caa07be71eda82e9331b40a5a89c0f6 SHA512 aa874638e8de5917de79e71b5f78213248ff079217f9c418a289dc8c3be17eec995e3787bc414e232ef78d0ce66cb3c2f7be84760a382066d2729fd8e3daf406 diff --git a/dev-python/oslo-utils/oslo-utils-8.0.0.ebuild b/dev-python/oslo-utils/oslo-utils-8.0.0.ebuild new file mode 100644 index 000000000000..9a8e2700c1e1 --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-8.0.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-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 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/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-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 + +src_prepare() { + distutils-r1_src_prepare + + # require eventlet + rm oslo_utils/tests/test_eventletutils.py || die +}