dev-python/python-mistralclient: adding for heat
authorMatthew Thode <prometheanfire@gentoo.org>
Mon, 3 Oct 2016 18:45:02 +0000 (13:45 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Mon, 3 Oct 2016 18:46:44 +0000 (13:46 -0500)
Package-Manager: portage-2.3.0

dev-python/python-mistralclient/Manifest [new file with mode: 0644]
dev-python/python-mistralclient/metadata.xml [new file with mode: 0644]
dev-python/python-mistralclient/python-mistralclient-2.1.1.ebuild [new file with mode: 0644]

diff --git a/dev-python/python-mistralclient/Manifest b/dev-python/python-mistralclient/Manifest
new file mode 100644 (file)
index 0000000..a9b7607
--- /dev/null
@@ -0,0 +1 @@
+DIST python-mistralclient-2.1.1.tar.gz 94287 SHA256 6c3d8b2d4c81490e12663e0152d92b850496403c29c232cb05095b8ea22f8984 SHA512 7f2e6ab7297faa1832fe9e46ed9bfc651597107579dd5dfa6e5b1c7c1741ee989ce2dab0797f689dcfdd7bb4955d79cef13dc2e8b24d3694c8e9b9c43f3a4db4 WHIRLPOOL c66d2923184e10bb8e1c25a9bd19220ff11f510ff0f8cdaafefdd49b149fa69f9a87948dc3a39bd4c82a008297243e673815345b810ff09e21c91eef4e626c10
diff --git a/dev-python/python-mistralclient/metadata.xml b/dev-python/python-mistralclient/metadata.xml
new file mode 100644 (file)
index 0000000..79d0294
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>prometheanfire@gentoo.org</email>
+               <name>Matthew Thode</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>openstack@gentoo.org</email>
+               <name>Openstack</name>
+       </maintainer>
+       <longdescription lang="en">
+    This is a client for the OpenStack Mistral API.
+  </longdescription>
+       <upstream>
+               <remote-id type="pypi">python-mistralclient</remote-id>
+               <remote-id type="github">openstack/python-mistralclient</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-mistralclient/python-mistralclient-2.1.1.ebuild b/dev-python/python-mistralclient/python-mistralclient-2.1.1.ebuild
new file mode 100644 (file)
index 0000000..2f32041
--- /dev/null
@@ -0,0 +1,39 @@
+# 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 Mistral API"
+HOMEPAGE="https://github.com/openstack/python-mistralclient"
+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"
+
+CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       ${CDEPEND}"
+RDEPEND="
+       ${CDEPEND}
+       >=dev-python/cliff-1.15.0[${PYTHON_USEDEP}]
+       !~dev-python/cliff-1.16.0[${PYTHON_USEDEP}]
+       !~dev-python/cliff-1.17.0[${PYTHON_USEDEP}]
+       >=dev-python/osc-lib-1.0.2[${PYTHON_USEDEP}]
+       >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}]
+       >=dev-python/python-keystoneclient-2.0.0[${PYTHON_USEDEP}]
+       !~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
+       >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+       # built in...
+       sed -i '/^hacking/d' test-requirements.txt || die
+       distutils-r1_python_prepare_all
+}