dev-python/python-glanceclient: bup

Package-Manager: portage-2.2.28
This commit is contained in:
Matthew Thode
2016-06-22 05:45:37 -05:00
parent cbc5d6ac07
commit 7868e2da9c
2 changed files with 89 additions and 0 deletions

View File

@@ -9,3 +9,4 @@ DIST python-glanceclient-1.0.0.tar.gz 149306 SHA256 46cf0c1bad4ec29c8b56c0a16a2c
DIST python-glanceclient-1.1.0.tar.gz 149955 SHA256 59ff30927468215131a68ffbfb9b2cb15d636a17cf702d87d0370957b553f25e SHA512 cd20da01afe101e9bd031b2da4448f06d3625fba691993feeba55dfdb77cd90911664d80f7aa08a49a9f024a70e7bb9f00326f215cbba8714f2246c7a0a717a4 WHIRLPOOL c502d4caf2441c0d2a95e865789820b89ef11f3035a992e919ca0a614c5a0ff9cc8cd57916fb314d392d80eecd019a8a4b8e0adb1560fff82126eb3fe70c7cea
DIST python-glanceclient-1.1.1.tar.gz 149875 SHA256 285f59e3e9d0ab887bb747f5c5c58c4ef87330bc99ea947ce649e3edd308a9e8 SHA512 7b2dd86014f78e5d0e2222842d4dd29da9922b0aea7a4097e88a013eee9849805170e2825426d611806edaec89c27ea055a699137faeb51e85a2cfb8d1729c0c WHIRLPOOL 80bb25c9338dc9e10065c8f8330b09e6d0f1fd85aff984d790c3b7c38fd87f8224a2d68ae6a04a6fe147641bfacff343f4e91e60cbc16dfdf4b3b9a30bbeed4e
DIST python-glanceclient-2.0.0.tar.gz 156008 SHA256 c4e791ef80e1b60997fa612e7f6ec506969bc6247b53d66988c2829c16b3617b SHA512 c7846b86b8d02cf34cf53bba646ef93aee909fb6dfc4a6791780bfd25cd13f2d2fcf49c2cab50ae9a96c8743404386b32ec3e0127c990fbbf7d41c8319e679b2 WHIRLPOOL 07e0307d516fce7195d26b038814ff4edece5cb9497a4b8bb78c3e1a0adee8b60a5a59207574da9be82e225eec75dadc4570b275741334560d014b15171c5fb8
DIST python-glanceclient-2.0.1.tar.gz 159091 SHA256 77e92a256679ebc76101198482ca34dd0b636f12313c4aa92132b831064b3968 SHA512 48253d70c50ad5b671e0d662612217f76e79b2e15ec1714d578c85ffae3d6b18e019f90946d11cc90e41b981c6bb24c7f47094c046892fdee33034689631af53 WHIRLPOOL 55ba594d226a9dc9bc7d007b7f3bdabed5be084f0c204b93ad604e854ed9db27f180817b8ec0510c06586bcbfc8b7998b20f7777f61ac23fd56550ef08d91abb

View File

@@ -0,0 +1,88 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python{3_3,3_4,3_5} )
inherit distutils-r1
DESCRIPTION="A client for the OpenStack Glance API"
HOMEPAGE="https://github.com/openstack/python-glanceclient"
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-1.6[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}
test? (
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
>=dev-python/mock-1.2[${PYTHON_USEDEP}]
dev-python/ordereddict[$(python_gen_usedep 'python2_7')]
>=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/reno-0.1.1[${PYTHON_USEDEP}]
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
<dev-python/fixtures-2.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-0.7.0[${PYTHON_USEDEP}]
>=dev-python/tempest-lib-0.14.0[${PYTHON_USEDEP}]
)
doc? (
>=dev-python/oslo-sphinx-2.5.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}]
)
"
RDEPEND="
${CDEPEND}
>=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}]
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
<dev-python/prettytable-0.8[${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-2.8.1[${PYTHON_USEDEP}]
!~dev-python/requests-2.9.0[${PYTHON_USEDEP}]
>=dev-python/warlock-1.0.1[${PYTHON_USEDEP}]
<dev-python/warlock-2[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.5.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
"
python_prepare_all() {
sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
sed -i '/^argparse/d' requirements.txt || die
sed -i '/^hacking/d' test-requirements.txt || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && esetup.py build_sphinx
}
python_test() {
testr init
testr run || die "testsuite failed under python2.7"
flake8 tests && einfo "run flake8 over tests folder passed" || die
}
python_install_all() {
use doc && local HTML_DOCS=( doc/build/html/. )
distutils-r1_python_install_all
}