From 9038232e683aa47a5b866a380f79d9ea0cfa31be Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 24 May 2022 18:47:13 +0200 Subject: [PATCH] dev-python/glance_store: add 4.0.0 Signed-off-by: Alessandro Barbieri --- dev-python/glance_store/Manifest | 1 + .../glance_store/glance_store-4.0.0.ebuild | 73 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 dev-python/glance_store/glance_store-4.0.0.ebuild diff --git a/dev-python/glance_store/Manifest b/dev-python/glance_store/Manifest index 7e7b83111b..68b9883d56 100644 --- a/dev-python/glance_store/Manifest +++ b/dev-python/glance_store/Manifest @@ -1 +1,2 @@ DIST glance_store-3.0.0.tar.gz 234086 BLAKE2B 781b9aa0913c355d898b7c05ed8807bb92bf08b371380c1f308bd4a3f8749dc91e53f6c817cc56621ce3fd7be748eee1cc5f5b1764d4167606733e7ef9176abd SHA512 4bae5ed37031902e0c47c7fa0bae2703bf21ab41226df3b2786d4679497500caeed91507e55f83512afa5ad57b73a153f901577ffa33c9d103c45622f07494c3 +DIST glance_store-4.0.0.tar.gz 234413 BLAKE2B 76d01398626e2883f6557b1b59f6abf9a39c98c8269bc2dd9468b670706b33496f1f0a4ef961af26a6422645ea52768de4ad0e7ec114d5348f44cc5c6606d6f1 SHA512 6f3e9740a213636dc188afbc84247c80603f10729a35e56f719aa29aa5fa9bf6b2d94332aac323182992f3b786bbf47204fcfe32cbb9f6b3f5fbc16e385033af diff --git a/dev-python/glance_store/glance_store-4.0.0.ebuild b/dev-python/glance_store/glance_store-4.0.0.ebuild new file mode 100644 index 0000000000..ab7242f742 --- /dev/null +++ b/dev-python/glance_store/glance_store-4.0.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="A library for glance" +HOMEPAGE=" + https://github.com/openstack/glance_store + https://opendev.org/openstack/glance_store + https://pypi.org/project/glance-store/ + https://launchpad.net/glance-store +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cinder swift vmware" + +RDEPEND=" + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}] + >=dev-python/six-1.11.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + cinder? ( + >=dev-python/python-cinderclient-4.1.0[${PYTHON_USEDEP}] + >=dev-python/os-brick-2.6.0[${PYTHON_USEDEP}] + >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-privsep-1.23.0[${PYTHON_USEDEP}] + ) + swift? ( + >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] + >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] + ) + vmware? ( >=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/retrying-1.3.3[${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/boto3-1.9.199[${PYTHON_USEDEP}] + ) +" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + test? ( cinder swift vmware ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +}