diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2017-08-28 16:13:46 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2017-08-28 16:51:21 -0500 |
commit | 35134f46fd59743d17c4025f27ad0e0939e2adb5 (patch) | |
tree | b0442f084eec086e96386a879a71d3827fe399ec /dev-python | |
parent | dev-python/python-cinderclient: 3.1.0 bup (diff) | |
download | gentoo-35134f46fd59743d17c4025f27ad0e0939e2adb5.tar.gz gentoo-35134f46fd59743d17c4025f27ad0e0939e2adb5.tar.bz2 gentoo-35134f46fd59743d17c4025f27ad0e0939e2adb5.zip |
dev-python/python-novaclient: 9.1.0 bup
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-novaclient/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-novaclient/metadata.xml | 32 | ||||
-rw-r--r-- | dev-python/python-novaclient/python-novaclient-9.1.0.ebuild | 70 |
3 files changed, 87 insertions, 16 deletions
diff --git a/dev-python/python-novaclient/Manifest b/dev-python/python-novaclient/Manifest index 17b9e5f00f3f..1e25be058490 100644 --- a/dev-python/python-novaclient/Manifest +++ b/dev-python/python-novaclient/Manifest @@ -1,2 +1,3 @@ DIST python-novaclient-6.0.1.tar.gz 288613 SHA256 2b7d4c660f46d8d7f4eb454fa9da4e8d838a81abc45834891c756393beeb264e SHA512 20bbd40bed2328c6bceba6e0057b541e949d1ea1f7c37190d2ef07bed164a2cf20927b2e7a1b26c349038fca625873e189dad150b4a3e801f9211388ab3996c7 WHIRLPOOL 5cce33c00730cf5e3c81a3c9e3207331161650340bf5b240bfbd687cdf5f2301c81be194b0e19d62e8660b9f4b3622dd241ce4fee511e83afb1769e6a101bb52 DIST python-novaclient-7.1.2.tar.gz 284152 SHA256 f342470514fd2ac3553e8b7b5967f0f63905bc062202926c5c3a7c87a035a18a SHA512 6b7e4bc80e07b09756f61624d2cf7b81dccd1d102f22cb9609b7e1de6f091061c513691095467e293b742c40a62c8cabc2d3ff8cbc5492d07763655de4d6c516 WHIRLPOOL 719f77ca3c341e446d46ea132ddb698945a806fa8629e20bce95ef5fa0817a2d216381907b07e7fb3e6bc980a1ef30ab6d95a3fcc047601f5cd7989868959f79 +DIST python-novaclient-9.1.0.tar.gz 278196 SHA256 0666571b72cd7a056187795c274838d1b0d2f0d80ef2f1c8ca6924e49660375c SHA512 c71b125fa4a10312ab28eb3929a749d8f3a2fa42b49921f3cd93458f3e00548542e88c25b13e36010ce8bfd68d68028bc5f076cc0081cd05c7dc9a4481d1bb02 WHIRLPOOL 8c0c7bab28c681cbb368cb0c945ee16b7ee56ab0e24b775e5e37aab5fc545998cf1ff6280baa69a201c31c6ebaea8f70ec7428d37aa7a53048a1a5622b723893 diff --git a/dev-python/python-novaclient/metadata.xml b/dev-python/python-novaclient/metadata.xml index 3b8051180f09..4a42bfb639f1 100644 --- a/dev-python/python-novaclient/metadata.xml +++ b/dev-python/python-novaclient/metadata.xml @@ -1,22 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>prometheanfire@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> - <maintainer type="project"> - <email>openstack@gentoo.org</email> - <name>Openstack</name> - </maintainer> - <longdescription lang="en"> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>openstack@gentoo.org</email> + <name>Openstack</name> + </maintainer> + <longdescription lang="en"> This is a client for the OpenStack Nova API. - There's a Python API (the novaclient module), - and a command-line script (nova). - Each implements 100% of the OpenStack Nova API. + There's a Python API (the novaclient module), + and a command-line script (nova). + Each implements 100% of the OpenStack Nova API. </longdescription> - <upstream> - <remote-id type="pypi">python-novaclient</remote-id> - <remote-id type="github">openstack/python-novaclient</remote-id> - </upstream> + <upstream> + <remote-id type="pypi">python-novaclient</remote-id> + <remote-id type="github">openstack/python-novaclient</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/python-novaclient/python-novaclient-9.1.0.ebuild b/dev-python/python-novaclient/python-novaclient-9.1.0.ebuild new file mode 100644 index 000000000000..8e02a5636777 --- /dev/null +++ b/dev-python/python-novaclient/python-novaclient-9.1.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) + +inherit distutils-r1 + +DESCRIPTION="A client for the OpenStack Nova API" +HOMEPAGE="https://github.com/openstack/python-novaclient" +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="test" + +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/keyring-5.5.1[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-3.0.0[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-2.7.0[${PYTHON_USEDEP}] + >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.1[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] + >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}] + >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + >=dev-python/reno-2.3.1[${PYTHON_USEDEP}] + )" +RDEPEND=" + >=dev-python/keystoneauth-3.0.1[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + !~dev-python/oslo-i18n-3.15.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.20.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + <dev-python/prettytable-0.8[${PYTHON_USEDEP}] + >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] + !~dev-python/requests-2.12.2[${PYTHON_USEDEP}] + >=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.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 + distutils-r1_python_prepare_all +} + +python_test() { + testr init + testr run --parallel || die "testsuite failed under python2.7" +} |