dev-python/python-hpilo: New package
authorNicolas Bock <nicolasbock@gentoo.org>
Tue, 2 Jan 2018 14:44:30 +0000 (07:44 -0700)
committerNicolas Bock <nicolasbock@gentoo.org>
Tue, 2 Jan 2018 14:45:27 +0000 (07:45 -0700)
Package-Manager: Portage-2.3.13, Repoman-2.3.3

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

diff --git a/dev-python/python-hpilo/Manifest b/dev-python/python-hpilo/Manifest
new file mode 100644 (file)
index 0000000..6ebfa3f
--- /dev/null
@@ -0,0 +1 @@
+DIST python-hpilo-4.0.tar.gz 178109 BLAKE2B aa8d4f9f74c053cb65d6c1ae77602a045923250aa9e4e3d689aa305094bb91a3a100a365d28fbb5fb0b69887d27a00796ffa2d9ff9f5eb26800f18672f73a6c6 SHA512 5a084899275b169a753d93b599c6b0d4d46d695c1378bbea340740d9e654723ff44e85cb71213c2e6811356d826e3912598b18f0f1aaeb906f19b0fc3064fbde
diff --git a/dev-python/python-hpilo/metadata.xml b/dev-python/python-hpilo/metadata.xml
new file mode 100644 (file)
index 0000000..ab62601
--- /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="project">
+               <email>python@gentoo.org</email>
+       </maintainer>
+       <maintainer type="person">
+               <email>nicolasbock@gentoo.org</email>
+       </maintainer>
+       <longdescription lang="en">
+               HP servers come with a powerful out of band management
+               interface called Integrated Lights out, or iLO. It has an
+               extensive web interface and commercially available tools for
+               centrally managing iLO devices and their servers.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">seveas/python-hpilo</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-hpilo/python-hpilo-4.0.ebuild b/dev-python/python-hpilo/python-hpilo-4.0.ebuild
new file mode 100644 (file)
index 0000000..a291d1a
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="iLO automation from python or shell"
+HOMEPAGE="https://pypi.python.org/pypi/python-hpilo"
+SRC_URI="https://github.com/seveas/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+python_test() {
+       ${EPYTHON} -m unittest discover || die
+}