diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-18 08:07:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-18 08:07:22 +0000 |
commit | 88a7ab8599213acca9dd34eb21748ff54d7c190a (patch) | |
tree | 7b0906984ae3d3754da31f07f7c730f719d2f92a /dev-python/oslo-utils | |
parent | 942c9977e0273ee6c6bd3f9822263aaeab1b69a5 (diff) |
gentoo auto-resync : 18:01:2024 - 08:07:22
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-7.0.0.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index 4eb1012fcaf3..92f990b25eaa 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1,3 +1,5 @@ DIST oslo.utils-6.3.0.tar.gz 104397 BLAKE2B 1195363df16e103f49d783c644bb060719fa3b43a549e229bd1c6b8f682e36b6135fb33284f536c08460892ae441c276d9e0445f30c6a5bc6d260b9a0f4bef40 SHA512 d7d1f160865238d4dd49dec891d275455befcee1926920f22409142bbab47fe3e287ad280a72f11baa99c49beaf1d0dc52745307888b8a3edda4cb9052443336 +DIST oslo.utils-7.0.0.tar.gz 103879 BLAKE2B d07af70592faac1821dc60f1ed0cd72fe948b1e105b515f18711b11152898fb2ab494d7eef2db965c43e961696b5f43eaca9d1c106f960d1ce91a9b5bb6ff924 SHA512 44202ec5de818b52b335026fdb24d1f771c24451422ad6b8328d4d14a4566b6c27b3cf04ba564d45686c9a4104ba1eec9a0874227498a707c5e9039b1d5c706c EBUILD oslo-utils-6.3.0.ebuild 1506 BLAKE2B 3701ba4e9269d6d0262991c41966525a146c21cccf693a84795abb9865309f6840a533507e881d3502ec61d77a2ee7cdf1ba9c8178b043498c2f445c17f387a3 SHA512 a325b6409bd80b28b8cc4b1dcc8ecf8270bdc35f10280ce152970538e8cf23b89244ed88fce848ac4adf5013a63061dcefb9236888c7f69f45364a7bfc54041f +EBUILD oslo-utils-7.0.0.ebuild 1509 BLAKE2B 6d9c166b8b1ebf77a6f4118d1ff8e54e0e894f3914de45742ffeb1e94b49b583e98e666da273709edab826484c11b28dbf6ccd32eb1290fd243d51bc4079a81b SHA512 b33e601f2ef6faaca90e81559ca068cf3afe00ecf394c12ce297601b2d3c48b3de2fe3dd62590ea1f9344438658fd5bde19c55cdcede188d58be9c6167b55010 MISC metadata.xml 667 BLAKE2B 2d3b1f3c01b74c3db8239b0711f6b10488cc17b214509a64607f3112e7100eb39f2d8774639d47a40cbad6786e7dee1430327a78b357b516325e5d06babcdee5 SHA512 e97a4a1f3718a69d39706d816f17018a7d57fd81702cd88ee01f9b849405f2f08769d381c5e41be84d8ae0c69a2a977b0dcb3ee1a481502ebf49f5ad6a5d6a95 diff --git a/dev-python/oslo-utils/oslo-utils-7.0.0.ebuild b/dev-python/oslo-utils/oslo-utils-7.0.0.ebuild new file mode 100644 index 000000000000..2ec0e256f09e --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-7.0.0.ebuild @@ -0,0 +1,57 @@ +# 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..12} ) + +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/pytz-2013.6[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${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/pyyaml-3.13[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] + test? ( + >=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 + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}"/install -name '*eventletutils*' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} |