diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-11-13 20:12:18 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-11-13 20:12:18 +0000 |
commit | 0b0acc46f3a5f078f314fbd746fa2a41c0e702d4 (patch) | |
tree | cc32ba2a925721f4bacf94a4fecc2664dd5dd433 /dev-python/pynut | |
parent | Initial commit. From sabayon overlay, basic ebuild from Thev00d00. (diff) | |
download | historical-0b0acc46f3a5f078f314fbd746fa2a41c0e702d4.tar.gz historical-0b0acc46f3a5f078f314fbd746fa2a41c0e702d4.tar.bz2 historical-0b0acc46f3a5f078f314fbd746fa2a41c0e702d4.zip |
Initial commit (required by nut-monitor).
Package-Manager: portage-2.2_rc49/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pynut')
-rw-r--r-- | dev-python/pynut/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pynut/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pynut/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/pynut/pynut-1.1.ebuild | 32 |
4 files changed, 54 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/Manifest b/dev-python/pynut/Manifest new file mode 100644 index 000000000000..2122022d9503 --- /dev/null +++ b/dev-python/pynut/Manifest @@ -0,0 +1,4 @@ +DIST python-pynut-1.1.tar.gz 3513 RMD160 88bcae318bc9c10d76205c8ecbb0659e7a6a1324 SHA1 f0f3fdf576cbaacb78aa883a23fb700b5eb97d18 SHA256 533bbb912baf8d2125813db91eb0a7406fdf2521156584f06299f23753f8e93e +EBUILD pynut-1.1.ebuild 841 RMD160 046b018143b6bd2caf4b207c81208bdd3268df3a SHA1 f55638ea357e243da232766fe023ec9bd331730e SHA256 f75616eb8313faccd79fc39d10faa72130a68115a067620710ca6634232aa491 +MISC ChangeLog 352 RMD160 fb378be6a707f591e04ab263c0f366be52114aae SHA1 ab55f07614c8070500f930ad0e56013e6e1ed458 SHA256 39849a151115cbf75416648ba76278a9085d1350fd2f69f375695c47bdceb4c5 +MISC metadata.xml 265 RMD160 e8441726174622c62c7cd6a115bb02c985953c1f SHA1 adf8deb1270809b38342889b33015ac2d843892e SHA256 b62ab28a0d10e30f15fd3256e49636310e953ae620feed868f246a6b5c2b73d0 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 +} |