Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/pykota: ChangeLog pykota-1.25_p2437-r1.ebuild pykota-1.25_p2437.ebuild
Date: Wed, 10 Oct 2007 18:36:06
Message-Id: E1IfgG4-0000n7-Si@stork.gentoo.org
1 genstef 07/10/10 18:26:12
2
3 Modified: ChangeLog
4 Added: pykota-1.25_p2437-r1.ebuild
5 Removed: pykota-1.25_p2437.ebuild
6 Log:
7 Fix cups backend path thanks to scwang <scwang@××××××.cn> in bug 191560
8 (Portage version: 2.1.3.12)
9
10 Revision Changes Path
11 1.22 net-print/pykota/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/pykota/ChangeLog?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/pykota/ChangeLog?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/pykota/ChangeLog?r1=1.21&r2=1.22
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- ChangeLog 13 May 2007 09:28:29 -0000 1.21
24 +++ ChangeLog 10 Oct 2007 18:26:12 -0000 1.22
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-print/pykota
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.21 2007/05/13 09:28:29 genstef Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.22 2007/10/10 18:26:12 genstef Exp $
30 +
31 +*pykota-1.25_p2437-r1 (10 Oct 2007)
32 +
33 + 10 Oct 2007; Stefan Schweizer <genstef@g.o>
34 + -pykota-1.25_p2437.ebuild, +pykota-1.25_p2437-r1.ebuild:
35 + Fix cups backend path thanks to scwang <scwang@××××××.cn> in bug 191560
36
37 13 May 2007; Stefan Schweizer <genstef@g.o>
38 -pykota-1.24_p2174.ebuild, pykota-1.25_p2437.ebuild:
39
40
41
42 1.1 net-print/pykota/pykota-1.25_p2437-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/pykota/pykota-1.25_p2437-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/pykota/pykota-1.25_p2437-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pykota-1.25_p2437-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 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.25_p2437-r1.ebuild,v 1.1 2007/10/10 18:26:12 genstef Exp $
52
53 S=${WORKDIR}/${PN}
54
55 inherit python eutils distutils
56
57 DESCRIPTION="Flexible print quota and accounting package for use with CUPS and
58 lpd."
59 SRC_URI="http://scriptkitty.com/files/${P}.tar.bz2"
60 HOMEPAGE="http://www.pykota.com"
61 LICENSE="GPL-2"
62
63 IUSE="ldap mysql postgres snmp sqlite snmp xml"
64
65 DEPEND="dev-lang/python
66 dev-python/egenix-mx-base
67 net-print/pkpgcounter
68 dev-python/chardet
69 dev-python/pkipplib
70 ldap? ( dev-python/python-ldap )
71 mysql? ( dev-python/mysql-python )
72 postgres? ( dev-db/postgresql dev-db/pygresql )
73 sqlite? ( =dev-python/pysqlite-2* )
74 snmp? ( net-analyzer/net-snmp =dev-python/pysnmp-3.4.2 )
75 xml? ( dev-python/jaxml )"
76
77 RDEPEND="${DEPEND}"
78
79 KEYWORDS="~amd64 ~x86"
80 SLOT="0"
81
82 DOCS="README MANIFEST.in TODO SECURITY NEWS CREDITS FAQ"
83
84 src_install() {
85 mkdir -p "${D}"/etc/${PN}
86 python_version
87 distutils_src_install
88 #cups backend ----------------------------------------------
89 mkdir -p "${D}"$(cups-config --serverbin)/backend
90 dosym /usr/share/pykota/cupspykota $(cups-config --serverbin)/backend/cupspykota
91 #extra docs: inits -----------------------------------------
92 init_dir=/usr/share/doc/${P}/initscripts
93 insinto ${init_dir}
94 cp -pPR initscripts/* "${D}"/${init_dir}
95
96 # Fixes permissions for bug 155865
97 chmod 700 "${D}"/usr/share/pykota/cupspykota
98
99 for doc in ${DOCS}; do
100 rm -f "${D}"/usr/share/doc/${PN}/${doc}
101 done
102
103 rm -f "${D}"/usr/share/doc/${PN}/{LICENSE,COPYING}
104 mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${P}
105 rmdir "${D}"/usr/share/doc/${PN}
106 }
107
108
109
110 --
111 gentoo-commits@g.o mailing list