commit:     42be03a38681c80b24d91017d47c7ecb92ba3d31
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 12 20:41:03 2019 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Apr 12 22:46:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42be03a3

dev-python/os-resource-classes: 0.3.0 add for nova

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 dev-python/os-resource-classes/Manifest            |  1 +
 dev-python/os-resource-classes/metadata.xml        | 12 +++++++++
 .../os-resource-classes-0.3.0.ebuild               | 29 ++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/dev-python/os-resource-classes/Manifest 
b/dev-python/os-resource-classes/Manifest
new file mode 100644
index 00000000000..e0334fd6f4c
--- /dev/null
+++ b/dev-python/os-resource-classes/Manifest
@@ -0,0 +1 @@
+DIST os-resource-classes-0.3.0.tar.gz 15371 BLAKE2B 
93d9f97cc3ea546e56384684da086e284c6d4c575e8232ddb2655a98fc1cc37e6cf454f50890bffccc625342cb7bbc020df8f2a2a262a2888b854425ae2ac6f3
 SHA512 
6b347fde11dd0d11784a6e80ff148385b33e3f31545d6379693af611cd1d65d5cb54721c7fa599fc49b1f8e6a07ecf85ee33c30d09dc647da07fd4f67f6c5813

diff --git a/dev-python/os-resource-classes/metadata.xml 
b/dev-python/os-resource-classes/metadata.xml
new file mode 100644
index 00000000000..5443af10904
--- /dev/null
+++ b/dev-python/os-resource-classes/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Matthew Thode</name>
+       </maintainer>
+       <upstream>
+               <remote-id 
type="github">openstack/os-resource-classes</remote-id>
+               <remote-id type="pypi">os-resource-classes</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/os-resource-classes/os-resource-classes-0.3.0.ebuild 
b/dev-python/os-resource-classes/os-resource-classes-0.3.0.ebuild
new file mode 100644
index 00000000000..efde0e9919e
--- /dev/null
+++ b/dev-python/os-resource-classes/os-resource-classes-0.3.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A list of standardized resource classes for OpenStack."
+HOMEPAGE="https://github.com/openstack/os-resource-classes";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+       !~dev-python/pbr-2.1.0"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       ${CDEPEND}"
+RDEPEND="
+       ${CDEPEND}
+       >=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+       sed -i '/^hacking/d' test-requirements.txt || die
+       distutils-r1_python_prepare_all
+}

Reply via email to