diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-03 09:21:15 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-03 09:25:41 +0200 |
commit | 026fdc6937d7cc935f67722cac505d1c6255e2e8 (patch) | |
tree | a33cf08889151c271ec4e3c9f73fa2f8694dd191 /dev-python/oslo-utils | |
parent | app-arch/xz-utils: depend on >=sec-keys/openpgp-keys-lassecollin-20230213 for... (diff) | |
download | gentoo-026fdc6937d7cc935f67722cac505d1c6255e2e8.tar.gz gentoo-026fdc6937d7cc935f67722cac505d1c6255e2e8.tar.bz2 gentoo-026fdc6937d7cc935f67722cac505d1c6255e2e8.zip |
dev-python/oslo-utils: Install eventletutils again
They are now required by dev-python/oslo-log.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/oslo-utils')
-rw-r--r-- | dev-python/oslo-utils/oslo-utils-7.1.0-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/oslo-utils/oslo-utils-7.1.0-r1.ebuild b/dev-python/oslo-utils/oslo-utils-7.1.0-r1.ebuild new file mode 100644 index 000000000000..60d0877fcfcc --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-7.1.0-r1.ebuild @@ -0,0 +1,54 @@ +# 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/netaddr-1[${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 + +src_prepare() { + # require eventlet + rm oslo_utils/tests/test_eventletutils.py || die + + distutils-r1_src_prepare +} |