diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-06 02:07:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-06 02:07:39 +0000 |
commit | d285f0ab4ab38d4ea1cd0757a465db5f06764e06 (patch) | |
tree | 1fec673dcd26669902404a2986868912c5b41860 /dev-python/oslo-utils | |
parent | a6764d56b1c85c8272783500983011c143c72d80 (diff) |
gentoo auto-resync : 06:12:2024 - 02:07:38
Diffstat (limited to 'dev-python/oslo-utils')
-rw-r--r-- | dev-python/oslo-utils/Manifest | 2 | ||||
-rw-r--r-- | dev-python/oslo-utils/oslo-utils-8.0.0.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index 8992f1c2ab84..26d1a71f09da 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1,3 +1,5 @@ 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 EBUILD oslo-utils-7.4.0.ebuild 1418 BLAKE2B 2c8579d67b9f0929d31f45dea0313d7993fd503da7174e8cc73c4c66a69545f346ed23b900cac60bec014ab54339f9744cbef600abeea4e6aa80f7581ab3be66 SHA512 05267bb9bb01143b2d7dccb3179c5bbc3ef433fec7c85b261dafa07ea334f0410b9a1007bb028ef4c8b228246c4a442e78b7060059f158c84db0ff012a755b8d +EBUILD oslo-utils-8.0.0.ebuild 1619 BLAKE2B a1a66cc3bb5ff525259c0cb304bee3b02fc1e9d3031f06e6a344380abe5f05b8caaaa34eb9e09b4ee1642893db85e16d0561bc24da0cb473d69a9a81492a8bbc SHA512 96ea6a802e4d24fca6a21cc213aef536dfbd9d93e0cba8d966e4f6d9edd1ea4e365ae020979875bb53c0c86393002a300db2787456484bb6c8cea79373a3f1a7 MISC metadata.xml 667 BLAKE2B 2d3b1f3c01b74c3db8239b0711f6b10488cc17b214509a64607f3112e7100eb39f2d8774639d47a40cbad6786e7dee1430327a78b357b516325e5d06babcdee5 SHA512 e97a4a1f3718a69d39706d816f17018a7d57fd81702cd88ee01f9b849405f2f08769d381c5e41be84d8ae0c69a2a977b0dcb3ee1a481502ebf49f5ad6a5d6a95 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..187cae23b9d5 --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-8.0.0.ebuild @@ -0,0 +1,67 @@ +# 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 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/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 +} |