diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2016-10-03 15:01:36 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-10-03 15:36:13 -0500 |
commit | b7e54efb90a2c60e46c0331e245443326704a921 (patch) | |
tree | 653779483988094df3c36833d283025e52e77741 /dev-python/python-troveclient | |
parent | dev-python/python-ceilometerclient: bup (diff) | |
download | gentoo-b7e54efb90a2c60e46c0331e245443326704a921.tar.gz gentoo-b7e54efb90a2c60e46c0331e245443326704a921.tar.bz2 gentoo-b7e54efb90a2c60e46c0331e245443326704a921.zip |
dev-python/python-troveclient: bup
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/python-troveclient')
-rw-r--r-- | dev-python/python-troveclient/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-troveclient/python-troveclient-1.3.0.ebuild | 4 | ||||
-rw-r--r-- | dev-python/python-troveclient/python-troveclient-2.5.0.ebuild | 61 |
3 files changed, 64 insertions, 2 deletions
diff --git a/dev-python/python-troveclient/Manifest b/dev-python/python-troveclient/Manifest index de90926dfb59..ae3839a0f7e1 100644 --- a/dev-python/python-troveclient/Manifest +++ b/dev-python/python-troveclient/Manifest @@ -1 +1,2 @@ DIST python-troveclient-1.3.0.tar.gz 130542 SHA256 abb0a5bf2442bd396322c65ea7b386d043e3fcffdaeed6a61d63d8be1a8452f2 SHA512 aa26b587d8e2bd15bb65ff760b89354638f6a77a4e73ec5f37ab6dc3c374d6b8c238391c09347e7fc897138fc0bdc375f69ab479f57e14f21d0882b74cc7c978 WHIRLPOOL 02490089bfea489b51e07f4da5b3ea5bbe2e839c2751c5e98ae384195465fca861a7d156e5ea179a6879d3b44c318e30f560314619705a3d8a3ac7b0f0606752 +DIST python-troveclient-2.5.0.tar.gz 149926 SHA256 03fc7cf8d47f910bc64274f7c24808b6ef79a9a1f34be5b94bea7070c9e00e5b SHA512 83e7cafec8ce4d65a55d8854bc2e2fbc657d567e4dc2b42a64c527c656ba5f253839511582c5ca2dda970bebb4555390b895a882b87a2eacb86ccbfac9c09a97 WHIRLPOOL d0a8057b54725cf102743e6f6cedc39be59bab003c5fa83c0c1244b3f30fc59b02fa96d374393116350e9ad5817067b199f59d950fe2546c98423ece5256d216 diff --git a/dev-python/python-troveclient/python-troveclient-1.3.0.ebuild b/dev-python/python-troveclient/python-troveclient-1.3.0.ebuild index 31deb70b087b..fe4e9fa6dc78 100644 --- a/dev-python/python-troveclient/python-troveclient-1.3.0.ebuild +++ b/dev-python/python-troveclient/python-troveclient-1.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) inherit distutils-r1 -DESCRIPTION="This is a client for the OpenStack Trove API, a scalable relational database service" +DESCRIPTION="A client for the OpenStack Trove API, a scalable relational database service" HOMEPAGE="https://github.com/openstack/python-troveclient" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" diff --git a/dev-python/python-troveclient/python-troveclient-2.5.0.ebuild b/dev-python/python-troveclient/python-troveclient-2.5.0.ebuild new file mode 100644 index 000000000000..30041e2117d3 --- /dev/null +++ b/dev-python/python-troveclient/python-troveclient-2.5.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) + +inherit distutils-r1 + +DESCRIPTION="A client for the OpenStack Trove API, a scalable relational database service" +HOMEPAGE="https://github.com/openstack/python-troveclient" +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/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] + !~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${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/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}] + >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + )" +RDEPEND=" + >=dev-python/prettytable-0.7[${PYTHON_USEDEP}] + <dev-python/prettytable-0.8[${PYTHON_USEDEP}] + >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] + >=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-2.10.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/python-swiftclient-2.2.0[${PYTHON_USEDEP}] + >=dev-python/python-mistralclient-2.0.0[${PYTHON_USEDEP}] +" + +python_prepare_all() { + 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" +} |