dev-python/python-openstackclient: bup for liberty
authorMatthew Thode <prometheanfire@gentoo.org>
Sun, 4 Oct 2015 22:20:31 +0000 (17:20 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Sun, 4 Oct 2015 22:20:31 +0000 (17:20 -0500)
Package-Manager: portage-2.2.20.1

dev-python/python-openstackclient/Manifest
dev-python/python-openstackclient/python-openstackclient-1.6.0.ebuild
dev-python/python-openstackclient/python-openstackclient-1.7.1.ebuild [new file with mode: 0644]

index 8e05f2b4c165e8e06605076fa7ada432910f1b5f..d9830511819e79ca5612f3e04ba8c62daaeebee2 100644 (file)
@@ -1,2 +1,3 @@
 DIST python-openstackclient-1.0.4.tar.gz 203012 SHA256 4ae6d7b35fd1da2a07959fea9639e506871abfb769c62f3692d2f2585605ac85 SHA512 d1076456ec9867c5dd6c13059bff56cb358eb675666cc5c38de0414b8c0ea26e057c286ebe2a0146f68ca50c1a416cac5f680ec72b633879cefafa25c76dc9c9 WHIRLPOOL 25df1e0209145a9e9c9c36676e1423d42129b2f8408aa22fdb18cf75f9b138009033b27002c76832448f026b518671fd49eb4bea8877bed560153ac5a88e2e4d
 DIST python-openstackclient-1.6.0.tar.gz 256666 SHA256 7400b86fc57032bfd7d4fed317ad2311bfb35ee192200c437b23c2ab85d49b24 SHA512 e62f9265566def5c43dc4fe6d4aeb7c61be802cd7f53db78bb3db681a97b140364afedff07a9e0bcc0622d39d9341150dab3ca7fa230b2c64a6c820d713acc89 WHIRLPOOL 6b7cd39f26fcd106f4e5819af8a54b4fb79e3a1dbb5aff79e7601392e25f6b7a80f94b1ff299e6d80d3afb7a064f03acfa202779f36677098f4b612dfc174d9c
+DIST python-openstackclient-1.7.1.tar.gz 265368 SHA256 c9a379d5688cf63e5ff9634929bac06204b562d2afe00fca14831ad0799e3240 SHA512 137d6bf2b6a2bd09073ca1ee63f3f6b38568baa3bc93796938e18dc694a6401353598369d8c7028d054cf31eed84bc38869375fa38649d4657b46907ba379b2c WHIRLPOOL afc99ef30eaba71059a3141eb4fe9c5f094e41cf35af12a44cf2209c3244747573651c7cbd722b750c48cc8c6897db574f3af8f1993892e953238e96d1f2f1e0
index 6ca19d9346214a97b36b44fc561bed9fef6ada30..087466adaf5c7fab7d3994c813aaa19255e8ba36 100644 (file)
@@ -47,6 +47,7 @@ RDEPEND="
        >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
        >=dev-python/cliff-1.14.0[${PYTHON_USEDEP}]
        >=dev-python/cliff-tablib-1.0[${PYTHON_USEDEP}]
+       >=dev-python/os-client-config-1.4.0[${PYTHON_USEDEP}]
        >=dev-python/oslo-config-1.11.0[${PYTHON_USEDEP}]
        >=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
        >=dev-python/oslo-utils-1.9.0[${PYTHON_USEDEP}]
diff --git a/dev-python/python-openstackclient/python-openstackclient-1.7.1.ebuild b/dev-python/python-openstackclient/python-openstackclient-1.7.1.ebuild
new file mode 100644 (file)
index 0000000..728f07f
--- /dev/null
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
+
+inherit distutils-r1
+
+DESCRIPTION="A client for the OpenStack APIs"
+HOMEPAGE="https://github.com/openstack/python-openstackclient"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~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/fixtures-1.3.1[${PYTHON_USEDEP}]
+               >=dev-python/mock-1.2[${PYTHON_USEDEP}]
+               >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
+               >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
+               >=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
+               >=dev-python/os-testr-0.1.0[${PYTHON_USEDEP}]
+               >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+               >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
+               >=dev-python/webob-1.2.3[${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/six-1.9.0[${PYTHON_USEDEP}]
+       >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
+       >=dev-python/cliff-1.14.0[${PYTHON_USEDEP}]
+       >=dev-python/cliff-tablib-1.0[${PYTHON_USEDEP}]
+       >=dev-python/os-client-config-1.4[${PYTHON_USEDEP}]
+       !~dev-python/os-client-config-1.6.2[${PYTHON_USEDEP}]
+       >=dev-python/oslo-config-2.3.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-utils-2.0.0[${PYTHON_USEDEP}]
+       >=dev-python/python-glanceclient-0.18.0[${PYTHON_USEDEP}]
+       >=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
+       >=dev-python/python-novaclient-2.28.1[${PYTHON_USEDEP}]
+       >=dev-python/python-cinderclient-1.3.1[${PYTHON_USEDEP}]
+       >=dev-python/python-neutronclient-2.6.0[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
+       >=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+       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"
+}
+
+python_install_all() {
+       use doc && local HTML_DOCS=( doc/build/html/. )
+       distutils-r1_python_install_all
+}