diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /dev-python/python-neutronclient | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-python/python-neutronclient')
5 files changed, 112 insertions, 9 deletions
diff --git a/dev-python/python-neutronclient/Manifest b/dev-python/python-neutronclient/Manifest index 2e50f871bc73..965f642dd856 100644 --- a/dev-python/python-neutronclient/Manifest +++ b/dev-python/python-neutronclient/Manifest @@ -1,7 +1,9 @@ +DIST python-neutronclient-6.12.0.tar.gz 290025 BLAKE2B f863826a531708fda1b9ddb43f8bfd8f66fbba99ce3fe4afc1135d20fe4718dc7f11789c3e75cf52089690ce0286bf5339c9253d1e7e35916befb52ed905448a SHA512 c7e69e263b37aa14b59b08ecc12f13210e1bd6f10cde10d8b4d5b8b9f912d604e23ff41eed684baf09bb6dc278393a55ca87d6e41e0986235cd3366d321dd85f DIST python-neutronclient-6.5.0.tar.gz 255893 BLAKE2B f7e6f6225e476c200b82bb4ca224b500078bd8357377a7d5d8a331531647ddce9df4bbc42e9d9cebee689d031bd47216c8fc9bce0ad2b3228890b8cbfd8979f8 SHA512 77d4f86f2bc066026c903c9c694dfe2de747dc7caec268853a3d2ae8e27a47b39695b33bd81b182334717fbab7817873ae468b928e85622204c348e5b18e0930 DIST python-neutronclient-6.7.0.tar.gz 286482 BLAKE2B db64746641ce58cff379ea131f05c37e962cbb64323d4e76436f4b0b9169a954396b13530894e0c09c439072d7d040286f0face1e12ae537b417e7e14ddc600d SHA512 4201ce10173c91ade8b4699d54136e583da1cdd74ac340cad9f419c56d71e0cdcdb78a70795e69a8c5e13d2feba240315b976f32fd96f6561b696425f3c69885 DIST python-neutronclient-6.9.0.tar.gz 284879 BLAKE2B 720d26489dae7e50617ec83c266ac1197dc1934a3b8f5e8a0e285227421cf8814d96d57ab30710b63eb92406663aafb29fe8d8d7efa1e1d2e74c116eaac5902c SHA512 89f5a2004c7888f11a1a17f4287ddf6942e083fc3871be4a8590a5bb86ec557584165a75cb6470ea3f19526eea882b0174746b20800211d11d10fea1210df74f -EBUILD python-neutronclient-6.5.0.ebuild 3520 BLAKE2B ae0899bd61670e99895f2cf9be92808d08419fe2cf78264a46081540fed837013539de70087602a7e5446b67ec1a66a0dbc97a6f23d45cbf129f06b9762a0448 SHA512 16699805dda247b841832c04a72ac940405cf623bb40a5560f421e8495ddf70f7ea32da24c54d8b0b877528a55f6641aed4f8a7ddde670876888c211dcface95 -EBUILD python-neutronclient-6.7.0.ebuild 3360 BLAKE2B d2e4d5dffcbb4e7ef05c8cef4f4cc9799687cea690b93898c8d5e8f4b782f9d6d14121d16bb749aa5bd61f2ac02a527856a4aa507b97e5d126c851442462f6da SHA512 83c050febff542bb8cd7bf1a943d94c2b4e7837988ffcb1d531cdb1b2c81d8f204356125ba9d3879f6c46fcb503de1bc1e45f9176538b6603ff8835ff124b678 -EBUILD python-neutronclient-6.9.0.ebuild 3408 BLAKE2B 442daad58b5c3bbb771e2814749ea979a2f6d937f495289ab800eb2aa6963e68c118a7ac98d735f9f890ec5f883f89d383cb6ce41d4ca411885e252086da74a3 SHA512 706479e57c97694dd727358fff99831993e6edb600fc20f463664c739c2c1ad42ee0b3aa1c86b8b750a213ee68af49fff6e0078eee2ddf07cd2ee7cdb7e56241 +EBUILD python-neutronclient-6.12.0.ebuild 3444 BLAKE2B 115dded061e2f98297e0b8792bb8a20e2d32b33f5767a09f188d78e1f943aa46a62a7edfb5d295fa6af22bc08d70bb9c72898fdb10d2bea58f3047a643fb21ac SHA512 25cac80ac92b1ea202fdf12c835b41aaafc887d14c094450a41b6cb52af4c7ff7dac0397b608956e977c7635324e3e6e4141e0661290689a3d137c5a06449581 +EBUILD python-neutronclient-6.5.0.ebuild 3507 BLAKE2B 8108c8b421182bd12500de959cd673871c997929a3078f09fdb1363c70a854488504286d8322a71351be3b31d83db2888713f97891b52e6079bd690d707f97ad SHA512 55afcd347f6c2367ea8f3d56b8478f0e33172228d80109af08059cf7955536d9b110d7bfb76d4fb35d0c60197e01b0eb83edfe0f1f8b9507d1aebc33b683ae80 +EBUILD python-neutronclient-6.7.0.ebuild 3355 BLAKE2B 35fc16d26b73bd10ad33afb8cb03c6b467229c186aec8560782782f2cd667058a31b404047649403387a888a55418364c08455f3fcc6381147693913eec6aa9a SHA512 d95127f775a06639b63fe2bfff19d132b608e14176a20756143e89cad236454eba2cc250b5e68da39f0c8bbb040a7e35843bbe925d3601811d31f80b735b0818 +EBUILD python-neutronclient-6.9.0.ebuild 3403 BLAKE2B 3b5926e2f084ccf9d89ffe40ff8d065c9e5a6c61f318faeeaaf2d92b09422bea1a8d9d3b49fb3c1c9b0811904429524c0c8cfe3634e6469e09667cef79f13e7b SHA512 38a9637444651dc0938efaca1c00bd1aee201fa1bcf376da9d81a7be99563bb22adb39d56acd0876bc50d39a1c63cbdf93390866c2750408482a73614ac255af MISC metadata.xml 619 BLAKE2B 441c1d5a2f0b4d0cd6469cf8626e6895fd4dc36dae8db594a2f2364abcd1ea77c9f51f0c85b2deec8ae51a8464eddb00f71c57d2d11558523720caa8fb317dd3 SHA512 d99562185b29417c559143d8fe8102a062dfda0cd7c07f9f01d1c5f11a75eac521e98c9048a23ce74ed34e198ed06bbe2a40990651caf7f9ecfa98975a8fb91f diff --git a/dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild new file mode 100644 index 000000000000..47a9ef198b2c --- /dev/null +++ b/dev-python/python-neutronclient/python-neutronclient-6.12.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A client for the OpenStack Quantum API" +HOMEPAGE="https://launchpad.net/neutron" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" +REQUIRED_USE="test? ( doc )" + +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}] + >=dev-python/coverage-4.0[${PYTHON_USEDEP}] + !~dev-python/coverage-4.4[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/mox3-0.20.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/osprofiler-2.3.0[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}] + )" + +RDEPEND=" + ${CDEPEND} + >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}] + !~dev-python/cliff-2.9.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.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}] + >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]" + +python_prepare_all() { + # built in... + sed -i '/^hacking/d' test-requirements.txt || die + sed -i '/^flake8-import-order/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && "${PYTHON}" setup.py build_sphinx +} + +python_test() { + testr init + testr run || die "tests failed under python2.7" + flake8 neutronclient/tests || die "run by flake8 over tests folder yielded error" +} + +python_install() { + distutils-r1_python_install + #stupid stupid + local SITEDIR="${D%/}$(python_get_sitedir)" || die + cd "${SITEDIR}" || die + local egg=( python_neutronclient*.egg-info ) + #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found" + ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die + ln -s neutronclient quantumclient || die + ln -s neutron quantumclient/quantum || die +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/python-neutronclient/python-neutronclient-6.5.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.5.0.ebuild index 326d7efcfba3..02bb3151f80d 100644 --- a/dev-python/python-neutronclient/python-neutronclient-6.5.0.ebuild +++ b/dev-python/python-neutronclient/python-neutronclient-6.5.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) +PYTHON_COMPAT=( python2_7 python3_5 ) inherit distutils-r1 diff --git a/dev-python/python-neutronclient/python-neutronclient-6.7.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.7.0.ebuild index d3168319511b..a1155db039e3 100644 --- a/dev-python/python-neutronclient/python-neutronclient-6.7.0.ebuild +++ b/dev-python/python-neutronclient/python-neutronclient-6.7.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_COMPAT=( python2_7 python3_{5,6} ) inherit distutils-r1 diff --git a/dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild index ea1e7bfe6421..47b674027b38 100644 --- a/dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild +++ b/dev-python/python-neutronclient/python-neutronclient-6.9.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_COMPAT=( python2_7 python3_{5,6} ) inherit distutils-r1 |