dev-python/python-novaclient: bup

Package-Manager: portage-2.2.28
This commit is contained in:
Matthew Thode
2016-09-14 08:21:19 -05:00
parent bfa6b94398
commit f1ddf25507
2 changed files with 74 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST python-novaclient-3.3.0.tar.gz 270526 SHA256 3674e9a9e3d2d9cff4a7e625e299780195e04df52361a58d94e7db4fda88739c SHA512 218e176f105211c77e34ade6ab88012d880f836afcb60628eb470d07f36cba4f051fee92f9068e41cb07124a36d4ca4db48b96ac52edd36963489ded5e974741 WHIRLPOOL d719debd25151b19b7b308dc498faea247c51dcea3ba79f0d803be5114f888dd412ab10d49c5c34018890df7b51a7eba8c15b1c59ac831f6bf80a33a87b120e3
DIST python-novaclient-3.3.2.tar.gz 271509 SHA256 6eba078c998d676f598925d9e6160f781e56f4b4d2afa0116c0134c326d5df49 SHA512 b2aa678aedad60e168b6adf5eb79ae403b1d6723ba1ff5c88bd51097b67bcbd5b1aac06f68f2040059b16bb39951399c1ced7033f8f6f9c271173b2d0ca921e5 WHIRLPOOL cf472691851340c69c1cd53987b4cfe3fe290ec64c14a939badcbe92ecddfcf06a68056badea5732d1a96b0aaad2fe828a02b34038f90c573f2dcf0dd23f9dea

View File

@@ -0,0 +1,73 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_3 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-1.6[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}
test? (
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
<dev-python/fixtures-2.0[${PYTHON_USEDEP}]
>=dev-python/keyring-5.5.1[${PYTHON_USEDEP}]
>=dev-python/mock-1.2[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
!~dev-python/python-keystoneclient-1.8.0[${PYTHON_USEDEP}]
!~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}]
<dev-python/python-keystoneclient-3.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-0.7.0[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
>=dev-python/os-client-config-1.13.1[${PYTHON_USEDEP}]
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
!~dev-python/oslo-sphinx-3.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/tempest-lib-0.14.0[${PYTHON_USEDEP}]
>=dev-python/reno-0.1.1[${PYTHON_USEDEP}]
)"
RDEPEND="
>=dev-python/keystoneauth-2.1.0[${PYTHON_USEDEP}]
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
>=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.5.0[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
>=dev-python/requests-2.8.1[${PYTHON_USEDEP}]
!~dev-python/requests-2.9.0[${PYTHON_USEDEP}]
>=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
!~dev-python/Babel-2.3.0[${PYTHON_USEDEP}]
!~dev-python/Babel-2.3.1[${PYTHON_USEDEP}]
!~dev-python/Babel-2.3.2[${PYTHON_USEDEP}]
!~dev-python/Babel-2.3.3[${PYTHON_USEDEP}]"
python_prepare_all() {
# built in...
sed -i '/^argparse/d' requirements.txt || die
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"
}