commit:     b5dc69526fe02dd7b4f4dc7bf09ed51b50758e51
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  3 18:14:18 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Oct  3 18:14:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5dc6952

dev-python/python-magnumclient: adding for eventual heat usage

Package-Manager: portage-2.3.0

 dev-python/python-magnumclient/Manifest            |  1 +
 dev-python/python-magnumclient/metadata.xml        | 19 +++++++++
 .../python-magnumclient-2.3.0.ebuild               | 48 ++++++++++++++++++++++
 3 files changed, 68 insertions(+)

diff --git a/dev-python/python-magnumclient/Manifest 
b/dev-python/python-magnumclient/Manifest
new file mode 100644
index 00000000..8699a67
--- /dev/null
+++ b/dev-python/python-magnumclient/Manifest
@@ -0,0 +1 @@
+DIST python-magnumclient-2.3.0.tar.gz 73428 SHA256 
f4d2420e6085c56998a41b6ade4e9a7b74058f4f20d515aff3c4e4fdf4174a2e SHA512 
00df5f679493937f322b88e5d61c660c475b01665af90e735eb15011d0d60a273550f6a31cc6f9e994ab69204a0723fbc7182730db4977825aa559af512c88b8
 WHIRLPOOL 
ad8a9392b42bbb40da12492fcfe6c42e5f102336647227945d13fab2f44ab0afa19f74cf802551b7819808748d87defeeb5aff7ed24bff9086eb2042d505e59e

diff --git a/dev-python/python-magnumclient/metadata.xml 
b/dev-python/python-magnumclient/metadata.xml
new file mode 100644
index 00000000..3f9d9ad
--- /dev/null
+++ b/dev-python/python-magnumclient/metadata.xml
@@ -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>prometheanf...@gentoo.org</email>
+               <name>Matthew Thode</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>openst...@gentoo.org</email>
+               <name>Openstack</name>
+       </maintainer>
+       <longdescription lang="en">
+    This is a client for the OpenStack Magnum API.
+  </longdescription>
+       <upstream>
+               <remote-id type="pypi">python-magnumclient</remote-id>
+               <remote-id 
type="github">openstack/python-magnumclient</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/python-magnumclient/python-magnumclient-2.3.0.ebuild 
b/dev-python/python-magnumclient/python-magnumclient-2.3.0.ebuild
new file mode 100644
index 00000000..3bde37a
--- /dev/null
+++ b/dev-python/python-magnumclient/python-magnumclient-2.3.0.ebuild
@@ -0,0 +1,48 @@
+# 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 Magnum API"
+HOMEPAGE="https://github.com/openstack/python-magnumclient";
+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/Babel-2.3.4[${PYTHON_USEDEP}]
+       >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+       >=dev-python/keystoneauth-2.10.0[${PYTHON_USEDEP}]
+       >=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}]
+       >=dev-python/os-client-config-1.13.1[${PYTHON_USEDEP}]
+       !~dev-python/os-client-config-1.19.0[${PYTHON_USEDEP}]
+       !~dev-python/os-client-config-1.19.1[${PYTHON_USEDEP}]
+       !~dev-python/os-client-config-1.20.0[${PYTHON_USEDEP}]
+       !~dev-python/os-client-config-1.20.1[${PYTHON_USEDEP}]
+       !~dev-python/os-client-config-1.21.0[${PYTHON_USEDEP}]
+       >=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
+       <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
+       >=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}]
+       !~dev-python/cryptography-1.3.0[${PYTHON_USEDEP}]
+       >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+       # built in...
+       sed -i '/^hacking/d' test-requirements.txt || die
+       distutils-r1_python_prepare_all
+}

Reply via email to