summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2019-04-12 15:41:03 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2019-04-12 17:46:53 -0500
commit42be03a38681c80b24d91017d47c7ecb92ba3d31 (patch)
tree7499e83c974d79269f99b4a7dd12cc79f3269041 /dev-python/os-resource-classes
parentdev-python/zVMCloudConnector: 1.4.1 bump (diff)
downloadgentoo-42be03a38681c80b24d91017d47c7ecb92ba3d31.tar.gz
gentoo-42be03a38681c80b24d91017d47c7ecb92ba3d31.tar.bz2
gentoo-42be03a38681c80b24d91017d47c7ecb92ba3d31.zip
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@gentoo.org>
Diffstat (limited to 'dev-python/os-resource-classes')
-rw-r--r--dev-python/os-resource-classes/Manifest1
-rw-r--r--dev-python/os-resource-classes/metadata.xml12
-rw-r--r--dev-python/os-resource-classes/os-resource-classes-0.3.0.ebuild29
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/os-resource-classes/Manifest b/dev-python/os-resource-classes/Manifest
new file mode 100644
index 000000000000..e0334fd6f4cd
--- /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 000000000000..5443af10904e
--- /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>prometheanfire@gentoo.org</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 000000000000..efde0e9919e9
--- /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
+}