summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-12-04 14:04:53 +0000
committerJustin Lecher <jlec@gentoo.org>2011-12-04 14:04:53 +0000
commit4b33ad46339ed8dc22572d6d22a5c411b0e83706 (patch)
treea899d634b554564ec38beb299fcda16c6b912a25 /dev-python/pynut
parentalpha/ia64/s390/sh/sparc stable wrt #390555 (diff)
downloadgentoo-2-4b33ad46339ed8dc22572d6d22a5c411b0e83706.tar.gz
gentoo-2-4b33ad46339ed8dc22572d6d22a5c411b0e83706.tar.bz2
gentoo-2-4b33ad46339ed8dc22572d6d22a5c411b0e83706.zip
Version Bump
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pynut')
-rw-r--r--dev-python/pynut/ChangeLog9
-rw-r--r--dev-python/pynut/metadata.xml2
-rw-r--r--dev-python/pynut/pynut-1.2.ebuild39
3 files changed, 47 insertions, 3 deletions
diff --git a/dev-python/pynut/ChangeLog b/dev-python/pynut/ChangeLog
index 64f9cd8765c5..814c145705fc 100644
--- a/dev-python/pynut/ChangeLog
+++ b/dev-python/pynut/ChangeLog
@@ -1,6 +1,11 @@
# 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.2 2009/11/14 22:52:00 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pynut/ChangeLog,v 1.3 2011/12/04 14:04:53 jlec Exp $
+
+*pynut-1.2 (04 Dec 2011)
+
+ 04 Dec 2011; Justin Lecher <jlec@gentoo.org> +pynut-1.2.ebuild, metadata.xml:
+ Version Bump
14 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pynut-1.1.ebuild:
diff --git a/dev-python/pynut/metadata.xml b/dev-python/pynut/metadata.xml
index ee7e8b2450a8..301d2207cc29 100644
--- a/dev-python/pynut/metadata.xml
+++ b/dev-python/pynut/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
+ <herd>python</herd>
</pkgmetadata>
diff --git a/dev-python/pynut/pynut-1.2.ebuild b/dev-python/pynut/pynut-1.2.ebuild
new file mode 100644
index 000000000000..f313c405b2ec
--- /dev/null
+++ b/dev-python/pynut/pynut-1.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pynut/pynut-1.2.ebuild,v 1.1 2011/12/04 14:04:53 jlec Exp $
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit 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() {
+ installation() {
+ insinto $(python_get_sitedir)
+ doins PyNUT.py
+ }
+ python_execute_function -q installation
+
+ dodoc README
+}
+
+pkg_postinst() {
+ python_mod_optimize PyNUT.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup PyNUT.py
+}