summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-11-13 20:12:18 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-11-13 20:12:18 +0000
commitebe817f6ecc66972f5a44a924aaf4746a2719ed0 (patch)
treefcda9b0bf9ce3ce927e4a8966740eb5961522498 /dev-python
parentInitial commit. From sabayon overlay, basic ebuild from Thev00d00. (diff)
downloadgentoo-2-ebe817f6ecc66972f5a44a924aaf4746a2719ed0.tar.gz
gentoo-2-ebe817f6ecc66972f5a44a924aaf4746a2719ed0.tar.bz2
gentoo-2-ebe817f6ecc66972f5a44a924aaf4746a2719ed0.zip
Initial commit (required by nut-monitor).
(Portage version: 2.2_rc49/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pynut/ChangeLog9
-rw-r--r--dev-python/pynut/metadata.xml9
-rw-r--r--dev-python/pynut/pynut-1.1.ebuild32
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/pynut/ChangeLog b/dev-python/pynut/ChangeLog
new file mode 100644
index 000000000000..08acd156b8ff
--- /dev/null
+++ b/dev-python/pynut/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/pynut
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pynut/ChangeLog,v 1.1 2009/11/13 20:12:18 ssuominen Exp $
+
+*pynut-1.1 (13 Nov 2009)
+
+ 13 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> +pynut-1.1.ebuild:
+ Initial commit (required by nut-monitor).
+
diff --git a/dev-python/pynut/metadata.xml b/dev-python/pynut/metadata.xml
new file mode 100644
index 000000000000..3e1fa483b8f6
--- /dev/null
+++ b/dev-python/pynut/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pynut/pynut-1.1.ebuild b/dev-python/pynut/pynut-1.1.ebuild
new file mode 100644
index 000000000000..e77a790abe28
--- /dev/null
+++ b/dev-python/pynut/pynut-1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pynut/pynut-1.1.ebuild,v 1.1 2009/11/13 20:12:18 ssuominen Exp $
+
+inherit multilib python
+
+DESCRIPTION="An abstraction class written in Python to access NUT (Network UPS Tools) server"
+HOMEPAGE="http://www.lestat.st/informatique/projets/pynut-en/"
+SRC_URI="http://www.lestat.st/_media/informatique/projets/pynut/python-${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/python-${P}
+
+src_install() {
+ python_version
+ insinto /usr/$(get_libdir)/python${PYVER}/site-packages
+ doins PyNUT.py
+ dodoc README
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/PyNUT.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}