diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-02-24 19:11:47 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-02-24 19:11:47 +0100 |
commit | e54f5b72723eb26da4009d339e3005aa3a5d1b71 (patch) | |
tree | 9e280a77224167ef54418b61c637e4e5ca4c5e71 /dev-python/python-keystoneclient | |
parent | dev-python/python-glanceclient: Tested on py3.10 (diff) | |
download | gentoo-e54f5b72723eb26da4009d339e3005aa3a5d1b71.tar.gz gentoo-e54f5b72723eb26da4009d339e3005aa3a5d1b71.tar.bz2 gentoo-e54f5b72723eb26da4009d339e3005aa3a5d1b71.zip |
dev-python/python-keystoneclient: EAPI 8, PEP517, py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-keystoneclient')
-rw-r--r-- | dev-python/python-keystoneclient/python-keystoneclient-4.4.0-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/python-keystoneclient/python-keystoneclient-4.4.0-r1.ebuild b/dev-python/python-keystoneclient/python-keystoneclient-4.4.0-r1.ebuild new file mode 100644 index 000000000000..c7ca29f24d85 --- /dev/null +++ b/dev-python/python-keystoneclient/python-keystoneclient-4.4.0-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Client Library for OpenStack Identity" +HOMEPAGE="https://www.openstack.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] + >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest keystoneclient/tests/unit +} |