/[gentoo-x86]/dev-python/pynut/pynut-1.2.ebuild
Gentoo

Contents of /dev-python/pynut/pynut-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 8 23:56:23 2015 UTC (5 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable, bug 540290

(Portage version: 2.2.17/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pynut/pynut-1.2.ebuild,v 1.2 2015/03/06 22:33:50 pacho Exp $
4
5 EAPI="3"
6
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.*"
9
10 inherit python
11
12 DESCRIPTION="An abstraction class written in Python to access NUT (Network UPS Tools) server"
13 HOMEPAGE="http://www.lestat.st/informatique/projets/pynut-en/"
14 SRC_URI="http://www.lestat.st/_media/informatique/projets/pynut/python-${P}.tar.gz"
15
16 LICENSE="GPL-3"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE=""
20
21 S="${WORKDIR}/python-${P}"
22
23 src_install() {
24 installation() {
25 insinto $(python_get_sitedir)
26 doins PyNUT.py
27 }
28 python_execute_function -q installation
29
30 dodoc README
31 }
32
33 pkg_postinst() {
34 python_mod_optimize PyNUT.py
35 }
36
37 pkg_postrm() {
38 python_mod_cleanup PyNUT.py
39 }

  ViewVC Help
Powered by ViewVC 1.1.20