diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2016-03-17 15:33:59 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-03-17 15:34:29 -0500 |
commit | 4937bf71a1ba4d548f7d8ddad12347c89bef1eb3 (patch) | |
tree | 6ccf0e001236df5d17e2cd4ea7afc66c02eeb60f | |
parent | dev-ruby/facter: bup (diff) | |
download | gentoo-4937bf71a1ba4d548f7d8ddad12347c89bef1eb3.tar.gz gentoo-4937bf71a1ba4d548f7d8ddad12347c89bef1eb3.tar.bz2 gentoo-4937bf71a1ba4d548f7d8ddad12347c89bef1eb3.zip |
dev-python/python-glanceclient: bup
Package-Manager: portage-2.2.26
-rw-r--r-- | dev-python/python-glanceclient/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-glanceclient/python-glanceclient-1.1.1.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index 468c42f61b55..1a3dfa8e4d43 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -7,3 +7,4 @@ DIST python-glanceclient-0.18.0.tar.gz 132194 SHA256 9784de057ffb8fadd98563452a9 DIST python-glanceclient-0.19.0.tar.gz 138756 SHA256 45115023cadfdbc24a10b10ca5d003f8f04fd5642b7c8fb565efa566bac4bf51 SHA512 50591b535bb27eaeaeed02f04bd164d4449df1e2b66a6c8abd4fad327e2293b6c9a1e4226ce3f9180d22a33ed2212bd735ad2d91374121e0d062c590a4cc64c5 WHIRLPOOL 9abb606573211c39becef134803e036f7f6b11591ae95d486749e8a62f2a22490c833750ef5234c2502f7aa0cb24dcf62b326249703fbae0dceb3173b7286bf2 DIST python-glanceclient-1.0.0.tar.gz 149306 SHA256 46cf0c1bad4ec29c8b56c0a16a2c54f4add89fd33e8756285367cfcdd23595b4 SHA512 fc0ef3ff6da41b750fc1972feee65671aa9cb6deeeb08a39ab271aceacc872886edbcabaa0d7f36574a425fac29bd868f6d4682563719249c2fab80c16f19761 WHIRLPOOL 33d293a959e193fcc8297e60a718c99eacf17e55cccca3204bc521fb50b3793cfe3ea68bb4a570e1f50be44f1421c5fe12ee7b038bd5a95344e5f7f8c29c03a0 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 diff --git a/dev-python/python-glanceclient/python-glanceclient-1.1.1.ebuild b/dev-python/python-glanceclient/python-glanceclient-1.1.1.ebuild new file mode 100644 index 000000000000..cefe78c96a00 --- /dev/null +++ b/dev-python/python-glanceclient/python-glanceclient-1.1.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python{3_3,3_4} ) + +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}] + <dev-python/pbr-2.0[${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/oslo-sphinx-2.5.0[${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/requests-mock-0.6.0[${PYTHON_USEDEP}] + >=dev-python/tempest-lib-0.8.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/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/requests-2.5.2[${PYTHON_USEDEP}] + !~dev-python/requests-2.8.0[${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-1.9.0[${PYTHON_USEDEP}] + !~dev-python/oslo-utils-2.6.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-1.5.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 +} |