diff options
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-6.3.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 8244c567a19d..5d266199020c 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1,3 +1,5 @@ DIST oslo.utils-6.2.1.tar.gz 104079 BLAKE2B de29980ba15488005b20190b842a499ce5964a231c1350d2e6ed43fdb4cb21909f7a31fcd21761bf01c632b82966ffa8c73ffb69e42f278e7a65d2541ae6b08a SHA512 c72be6521fa15784064c114a972943a583033be6b53b81ab955cc0601c72ef0673e1e732c492bbd798270318ec89932d7a90725f477b1cc123b173f4660d4b2a +DIST oslo.utils-6.3.0.tar.gz 104397 BLAKE2B 1195363df16e103f49d783c644bb060719fa3b43a549e229bd1c6b8f682e36b6135fb33284f536c08460892ae441c276d9e0445f30c6a5bc6d260b9a0f4bef40 SHA512 d7d1f160865238d4dd49dec891d275455befcee1926920f22409142bbab47fe3e287ad280a72f11baa99c49beaf1d0dc52745307888b8a3edda4cb9052443336 EBUILD oslo-utils-6.2.1-r1.ebuild 1499 BLAKE2B 19f6956783be8e54512f2d292c29197bd09ca9a2775d9db4196b4b7754a98d2620bf812c6872a9c2981330fbeb91ed7be3250114b33e6df70383494820800996 SHA512 972d1408d196652bca3d91c3e2bbaaf7c22511201872f26696d4d6e024ac81f402cd7f895cd93ff7c8a2103f7c7cc7982eebc3f7e63c195a62abc4439d331356 +EBUILD oslo-utils-6.3.0.ebuild 1509 BLAKE2B 64a098a39c605daf1cf8766d49133d3aefce82406a38508e27d2e8bf6cc5f88aa4c7ca5dd011e48bd6b2a31bba2b5fc52d9123077779b3052a4a3ffe923ac1eb SHA512 d4bf0a6d081dc8ca3dea0d76d8e797073bf5cc7a6940715596e491b0730976928131fe5986f9b239a54c75d4d269627261bb953a61cac923003150fa1b50535f MISC metadata.xml 667 BLAKE2B 2d3b1f3c01b74c3db8239b0711f6b10488cc17b214509a64607f3112e7100eb39f2d8774639d47a40cbad6786e7dee1430327a78b357b516325e5d06babcdee5 SHA512 e97a4a1f3718a69d39706d816f17018a7d57fd81702cd88ee01f9b849405f2f08769d381c5e41be84d8ae0c69a2a977b0dcb3ee1a481502ebf49f5ad6a5d6a95 diff --git a/dev-python/oslo-utils/oslo-utils-6.3.0.ebuild b/dev-python/oslo-utils/oslo-utils-6.3.0.ebuild new file mode 100644 index 000000000000..0ea23aaa491c --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-6.3.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 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 +} |