1 |
commit: 57816de1b5fd8671a92ff45d17ce7e3bca13a773 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 18 18:45:22 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 18 19:09:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57816de1 |
7 |
|
8 |
dev-python/python-neutronclient: 6.12.1 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
dev-python/python-neutronclient/Manifest | 1 + |
14 |
.../python-neutronclient-6.12.1.ebuild | 87 ++++++++++++++++++++++ |
15 |
2 files changed, 88 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/python-neutronclient/Manifest b/dev-python/python-neutronclient/Manifest |
18 |
index 9ee71140f1d..3ca613ff659 100644 |
19 |
--- a/dev-python/python-neutronclient/Manifest |
20 |
+++ b/dev-python/python-neutronclient/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST python-neutronclient-6.12.0.tar.gz 290025 BLAKE2B f863826a531708fda1b9ddb43f8bfd8f66fbba99ce3fe4afc1135d20fe4718dc7f11789c3e75cf52089690ce0286bf5339c9253d1e7e35916befb52ed905448a SHA512 c7e69e263b37aa14b59b08ecc12f13210e1bd6f10cde10d8b4d5b8b9f912d604e23ff41eed684baf09bb6dc278393a55ca87d6e41e0986235cd3366d321dd85f |
23 |
+DIST python-neutronclient-6.12.1.tar.gz 290511 BLAKE2B 046de903c30539183c5650e3f666ba1f24c311d0a9848cbc7c79d64f0d35a0c380917453bf7c8251a1099fc13a15da2ecd5facacde26ec46d859510ba4203dff SHA512 cae17fbffb4f0e78aeff07e90a1d08e5f2aaa3221192be8bf66ad8ed108ee01b0307f7a9a862c685061c77ceb831a7eac4c8343a8b5a71d1380277cdddd90b07 |
24 |
|
25 |
diff --git a/dev-python/python-neutronclient/python-neutronclient-6.12.1.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.12.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e6783c8e132 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/python-neutronclient/python-neutronclient-6.12.1.ebuild |
30 |
@@ -0,0 +1,87 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6,7} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A client for the OpenStack Quantum API" |
40 |
+HOMEPAGE="https://launchpad.net/neutron" |
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 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
50 |
+ !~dev-python/pbr-2.1.0" |
51 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
+ ${CDEPEND} |
53 |
+ test? ( |
54 |
+ >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/coverage-4.0[${PYTHON_USEDEP}] |
56 |
+ !~dev-python/coverage-4.4[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/mox3-0.20.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/osprofiler-2.3.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
70 |
+ )" |
71 |
+ |
72 |
+RDEPEND=" |
73 |
+ ${CDEPEND} |
74 |
+ >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}] |
75 |
+ !~dev-python/cliff-2.9.0[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] |
83 |
+ !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
92 |
+ !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]" |
93 |
+ |
94 |
+python_prepare_all() { |
95 |
+ # built in... |
96 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
97 |
+ sed -i '/^flake8-import-order/d' test-requirements.txt || die |
98 |
+ distutils-r1_python_prepare_all |
99 |
+} |
100 |
+ |
101 |
+python_test() { |
102 |
+ testr init |
103 |
+ testr run || die "tests failed under python2.7" |
104 |
+ flake8 neutronclient/tests || die "run by flake8 over tests folder yielded error" |
105 |
+} |
106 |
+ |
107 |
+python_install() { |
108 |
+ distutils-r1_python_install |
109 |
+ #stupid stupid |
110 |
+ local SITEDIR="${D}$(python_get_sitedir)" || die |
111 |
+ cd "${SITEDIR}" || die |
112 |
+ local egg=( python_neutronclient*.egg-info ) |
113 |
+ #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found" |
114 |
+ ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die |
115 |
+ ln -s neutronclient quantumclient || die |
116 |
+ ln -s neutron quantumclient/quantum || die |
117 |
+} |