From ec321939a77843497c860196ea06d7776d94b755 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Sep 2022 22:17:13 +0100 Subject: gentoo auto-resync : 02:09:2022 - 22:17:13 --- dev-python/python-swiftclient/Manifest | 2 ++ .../python-swiftclient-4.1.0.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-python/python-swiftclient/python-swiftclient-4.1.0.ebuild (limited to 'dev-python/python-swiftclient') diff --git a/dev-python/python-swiftclient/Manifest b/dev-python/python-swiftclient/Manifest index c281ad40831a..733046156c14 100644 --- a/dev-python/python-swiftclient/Manifest +++ b/dev-python/python-swiftclient/Manifest @@ -1,3 +1,5 @@ DIST python-swiftclient-4.0.1.tar.gz 201300 BLAKE2B 6a506ae8996a3937048f67e7b3f8e5185605f9e5fe955f23e1131eead4d3699fb01e7851ab632e3dfaa75c12e88ec17cec5b4c1b19c1663163a2ff95530561ec SHA512 0028bc12a9694047e31da3c05fe92ce846de8858743771281cc9b93f0826c596bb6ed5ee72f4e5c68c4bba2dbd9f311062dccdf13c9917536d2aaec7eaf33ef9 +DIST python-swiftclient-4.1.0.tar.gz 201954 BLAKE2B f81368dae2d0e56b178c00c9d4b0989fa9629fd909b8413a262103109a092bd8134679be41f8f8176d638f215d9e03b2e60013deed9f0b72d7ae4be181a1b4e0 SHA512 85b4ff0a49d149e6b42b257d8f815de48a549d377d7db807751f485d8a9636e4d4208c99cbd1cda3d9195c45d416911a4e8b65fc373e93d722cade0968515524 EBUILD python-swiftclient-4.0.1.ebuild 1056 BLAKE2B f238ad88b6d5af2b50a97ea8d9609223e051f9540e5d83ff1a59ef006609d4d9243e5ffcc7169ef8315cff903e36bf321fbaa0f8d1d81297eb9be4a591525dad SHA512 70a794f5441ba89d9fe557d532b7de99b0abddb415683023f0b8587cb187385ad6cc13773d5c87e9433b0e288f2248b5a6b9575e1c8df46da6878a6b4c0c9859 +EBUILD python-swiftclient-4.1.0.ebuild 1058 BLAKE2B 83a4bb09c10997147dca2778374df5182fc60d0f3f08a6d47c35b8df42a86beadfc5b5e79b66c6ddae722b32072eb2fbf896ee41a4dbcd6fdbd9b034c69e630c SHA512 7f956de72d2dca1a77ceb2c0f6f6b2c431ce47b7f4976e3b2564f334d142d177b63753f61e6c2bd02aab18bfac24c4379ec2dc6089204d92319bd778515deb63 MISC metadata.xml 623 BLAKE2B 168e5384739e27a69e799a4e94038a8b7ba8434a439f92f601657ab4404c2f610da2324364a73c982aadc39a691fc368099b0ed604209331e9d83a33da1ece67 SHA512 d3028eb4ff16c9baae166c749c40388d45627a583ce041ece508f66cd8eea2f5f1ab72eed930c860497d6cb1e3e7f03c20f165c661197c4e507bf5a2c6833d1d diff --git a/dev-python/python-swiftclient/python-swiftclient-4.1.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-4.1.0.ebuild new file mode 100644 index 000000000000..2336700dc435 --- /dev/null +++ b/dev-python/python-swiftclient/python-swiftclient-4.1.0.ebuild @@ -0,0 +1,40 @@ +# 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="Python bindings to the OpenStack Object Storage API" +HOMEPAGE="https://launchpad.net/python-swiftclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] + dev-python/python-keystoneclient[${PYTHON_USEDEP}] + >=dev-python/mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.11.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_prepare_all() { + sed -e 's/test_password_prompt/_&/' -i test/unit/test_shell.py || die + # fix duplicate script/entry point + # https://bugs.launchpad.net/python-swiftclient/+bug/1975361 + sed -i -e '/bin\/swift/d' setup.cfg || die + distutils-r1_python_prepare_all +} -- cgit v1.2.3