dev-python/os-xenapi: initial add
authorMatthew Thode <prometheanfire@gentoo.org>
Mon, 27 Feb 2017 06:02:14 +0000 (00:02 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Mon, 27 Feb 2017 06:42:42 +0000 (00:42 -0600)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-python/os-xenapi/Manifest [new file with mode: 0644]
dev-python/os-xenapi/metadata.xml [new file with mode: 0644]
dev-python/os-xenapi/os-xenapi-0.1.1.ebuild [new file with mode: 0644]

diff --git a/dev-python/os-xenapi/Manifest b/dev-python/os-xenapi/Manifest
new file mode 100644 (file)
index 0000000..d517618
--- /dev/null
@@ -0,0 +1 @@
+DIST os-xenapi-0.1.1.tar.gz 55493 SHA256 41fcb476b80b32172ec337d1a64a3404d2c8a0dd7ee684d8a4b5fd96d01c49fc SHA512 eafb5d431fef7e3435f3c9c4c7821a3cd98a17b2ad6293a6b90c83ea18d738b8b5de3f5bd43327ac670c13aa8d7585530c330e42df4cd3c8b5b9e2f860373455 WHIRLPOOL d4559eeb2d4773388cabe5b718e4b90fdf62f2c9eae461a2211fde184df937cc5aa077487f90b8131a5cc41fb873a85bc29f0a37170d70544e7f6055e31443e8
diff --git a/dev-python/os-xenapi/metadata.xml b/dev-python/os-xenapi/metadata.xml
new file mode 100644 (file)
index 0000000..6698c1f
--- /dev/null
@@ -0,0 +1,14 @@
+<?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>
+       <longdescription lang="en">
+       </longdescription>
+       <upstream>
+               <remote-id type="github">openstack/os-xenapi</remote-id>
+               <remote-id type="pypi">os-xenapi</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/dev-python/os-xenapi/os-xenapi-0.1.1.ebuild b/dev-python/os-xenapi/os-xenapi-0.1.1.ebuild
new file mode 100644 (file)
index 0000000..97946f8
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 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="XenAPI library for OpenStack projects"
+HOMEPAGE="https://github.com/openstack/os-xenapi"
+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-1.8[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       ${CDEPEND}"
+RDEPEND="
+       ${CDEPEND}
+       >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
+       >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
+       >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-log-3.11.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
+       >=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+       sed -i '/^hacking/d' test-requirements.txt || die
+       distutils-r1_python_prepare_all
+}