Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/pykota: ChangeLog pykota-1.26.ebuild
Date: Tue, 31 Jan 2012 22:30:30
Message-Id: 20120131223021.0A0572004B@flycatcher.gentoo.org
1 dilfridge 12/01/31 22:30:21
2
3 Modified: ChangeLog
4 Added: pykota-1.26.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.28 net-print/pykota/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 2 Jun 2011 17:57:12 -0000 1.27
24 +++ ChangeLog 31 Jan 2012 22:30:20 -0000 1.28
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-print/pykota
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.27 2011/06/02 17:57:12 dilfridge Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.28 2012/01/31 22:30:20 dilfridge Exp $
31 +
32 +*pykota-1.26 (31 Jan 2012)
33 +
34 + 31 Jan 2012; Andreas K. Huettel <dilfridge@g.o> +pykota-1.26.ebuild:
35 + Version bump
36
37 02 Jun 2011; Andreas K. Huettel <dilfridge@g.o>
38 pykota-1.25_p2437-r1.ebuild:
39
40
41
42 1.1 net-print/pykota/pykota-1.26.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/pykota-1.26.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/pykota-1.26.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pykota-1.26.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-1.26.ebuild,v 1.1 2012/01/31 22:30:20 dilfridge Exp $
52
53 EAPI=3
54 PYTHON_DEPEND="2"
55
56 inherit distutils
57
58 DESCRIPTION="Flexible print quota and accounting package for use with CUPS and lpd."
59 HOMEPAGE="http://www.pykota.com"
60 SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="ldap mysql postgres snmp sqlite snmp xml"
66
67 DEPEND="dev-lang/python
68 dev-python/egenix-mx-base
69 net-print/pkpgcounter
70 dev-python/chardet
71 dev-python/pkipplib
72 ldap? ( dev-python/python-ldap )
73 mysql? ( dev-python/mysql-python )
74 postgres? ( dev-db/postgresql-server dev-db/pygresql )
75 sqlite? ( dev-python/pysqlite:2 )
76 snmp? ( net-analyzer/net-snmp =dev-python/pysnmp-3.4* )
77 xml? ( dev-python/jaxml )"
78 RDEPEND="${DEPEND}"
79
80 S="${WORKDIR}/${P}"
81
82 DOCS="README TODO SECURITY CREDITS FAQ"
83
84 pkg_setup() {
85 python_set_active_version 2
86 python_pkg_setup
87 }
88
89 src_install() {
90 dodir /etc/${PN} || die
91 distutils_src_install
92
93 # cups backend ----------------------------------------------
94
95 dodir $(cups-config --serverbin)/backend || die
96 dosym /usr/share/pykota/cupspykota $(cups-config --serverbin)/backend/cupspykota || die
97
98 # extra docs: inits -----------------------------------------
99
100 init_dir="/usr/share/doc/${PF}/initscripts"
101 insinto "${init_dir}"
102 doins -r initscripts/* || die
103
104 # Fixes permissions for bug 155865
105 chmod 700 "${D}"/usr/share/pykota/cupspykota
106
107 for doc in ${DOCS}; do
108 rm "${D}"/usr/share/doc/${PN}/${doc} || die
109 done
110 rm "${D}"/usr/share/doc/${PN}/{LICENSE,COPYING} || die
111 mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${PF}/ || die
112 rmdir "${D}"/usr/share/doc/${PN} || die
113 }