1 |
commit: 59313069d41bd40b74a11674f31ec0274b4887c6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 31 20:31:52 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 20:33:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59313069 |
7 |
|
8 |
dev-python/python-swiftclient: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-swiftclient/Manifest | 1 - |
13 |
.../python-swiftclient-3.10.1.ebuild | 48 ---------------------- |
14 |
2 files changed, 49 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/python-swiftclient/Manifest b/dev-python/python-swiftclient/Manifest |
17 |
index e0a9a3ae067..171c7e6507c 100644 |
18 |
--- a/dev-python/python-swiftclient/Manifest |
19 |
+++ b/dev-python/python-swiftclient/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST python-swiftclient-3.10.1.tar.gz 199466 BLAKE2B 4230f0fbff0e61a8172344df1cfc32f07628ac0b3784f5b8456d1b43b962e1d8561eec55c530ea94c615d46cd9454963fe0e21c54d1f4097016459e1460795c9 SHA512 f47444243f1968fdbba0643bcb4f05fc10a201b38ad83522e842bbad2221d0893a72147f9fbdc13e7f56469b049bbf11479fd9f41a9706119287543e0587f696 |
22 |
DIST python-swiftclient-3.12.0.tar.gz 201199 BLAKE2B 36a5bc0ed7855b8ec8df51635ed6a2afba405c73809f3ab17c77e07dc362a2578816e63adf6c8da3b81ba8bfa8973326004c09bf980961b3c90987ecfdf95e30 SHA512 00e2b1b4d950396fba9232c251dbdf6949ea60e1f9de8f633ffcdeaa51339c5487fbccf9d9f337ef7aecba30e504338c592f9ed64d1d5c6798307a35b806f684 |
23 |
|
24 |
diff --git a/dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild b/dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild |
25 |
deleted file mode 100644 |
26 |
index b012263150d..00000000000 |
27 |
--- a/dev-python/python-swiftclient/python-swiftclient-3.10.1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,48 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-PYTHON_COMPAT=( python3_{7,8} ) |
35 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
- |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-DESCRIPTION="Python bindings to the OpenStack Object Storage API" |
40 |
-HOMEPAGE="https://launchpad.net/python-swiftclient" |
41 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="Apache-2.0" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" |
46 |
-IUSE="test" |
47 |
-RESTRICT="!test? ( test )" |
48 |
- |
49 |
-DEPEND="dev-python/pbr[${PYTHON_USEDEP}] |
50 |
- test? ( |
51 |
- >=dev-python/coverage-4.0[${PYTHON_USEDEP}] |
52 |
- !~dev-python/coverage-4.4[${PYTHON_USEDEP}] |
53 |
- >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] |
54 |
- dev-python/python-keystoneclient[${PYTHON_USEDEP}] |
55 |
- >=dev-python/mock-1.2.0[${PYTHON_USEDEP}] |
56 |
- >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] |
57 |
- !~dev-python/stestr-3.0.0[${PYTHON_USEDEP}] |
58 |
- >=dev-python/openstacksdk-0.11.0[${PYTHON_USEDEP}] |
59 |
- )" |
60 |
-RDEPEND=" |
61 |
- >=dev-python/requests-1.1.0[${PYTHON_USEDEP}] |
62 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}]" |
63 |
- |
64 |
-#PATCHES=( "${FILESDIR}/CVE-2013-6396.patch" ) |
65 |
- |
66 |
-python_prepare_all() { |
67 |
- sed -i '/hacking/d' "${S}/test-requirements.txt" || die "sed failed" |
68 |
- sed -i 's/\,pep8//g' "${S}/tox.ini" || die "sed failed" |
69 |
- distutils-r1_python_prepare_all |
70 |
-} |
71 |
- |
72 |
-python_test() { |
73 |
- stestr init |
74 |
- stestr run || die "tests failed under ${EPYTHON}" |
75 |
- flake8 tests && einfo "run of tests folder by flake8 passed" |
76 |
- flake8 bin/swift && einfo "run of ./bin/swift by flake8 passed" |
77 |
-} |