1 |
arfrever 10/06/04 19:57:02 |
2 |
|
3 |
Modified: ChangeLog pykota-1.25_p2437-r1.ebuild |
4 |
Log: |
5 |
Use Python 2 (bug #315873). Delete call to deprecated python_version(). |
6 |
(Portage version: HEAD/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.25 net-print/pykota/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/ChangeLog?rev=1.25&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/ChangeLog?rev=1.25&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/ChangeLog?r1=1.24&r2=1.25 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v |
18 |
retrieving revision 1.24 |
19 |
retrieving revision 1.25 |
20 |
diff -u -r1.24 -r1.25 |
21 |
--- ChangeLog 21 May 2008 19:00:41 -0000 1.24 |
22 |
+++ ChangeLog 4 Jun 2010 19:57:02 -0000 1.25 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for net-print/pykota |
25 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.24 2008/05/21 19:00:41 dev-zero Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/ChangeLog,v 1.25 2010/06/04 19:57:02 arfrever Exp $ |
29 |
+ |
30 |
+ 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
31 |
+ pykota-1.25_p2437-r1.ebuild: |
32 |
+ Use Python 2 (bug #315873). Delete call to deprecated python_version(). |
33 |
|
34 |
21 May 2008; Tiziano Müller <dev-zero@g.o> |
35 |
pykota-1.25_p2437-r1.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.4 net-print/pykota/pykota-1.25_p2437-r1.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/pykota-1.25_p2437-r1.ebuild?rev=1.4&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/pykota-1.25_p2437-r1.ebuild?rev=1.4&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/pykota/pykota-1.25_p2437-r1.ebuild?r1=1.3&r2=1.4 |
44 |
|
45 |
Index: pykota-1.25_p2437-r1.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-1.25_p2437-r1.ebuild,v |
48 |
retrieving revision 1.3 |
49 |
retrieving revision 1.4 |
50 |
diff -u -r1.3 -r1.4 |
51 |
--- pykota-1.25_p2437-r1.ebuild 29 Nov 2009 13:51:00 -0000 1.3 |
52 |
+++ pykota-1.25_p2437-r1.ebuild 4 Jun 2010 19:57:02 -0000 1.4 |
53 |
@@ -1,17 +1,19 @@ |
54 |
-# Copyright 1999-2009 Gentoo Foundation |
55 |
+# Copyright 1999-2010 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-1.25_p2437-r1.ebuild,v 1.3 2009/11/29 13:51:00 arfrever Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-1.25_p2437-r1.ebuild,v 1.4 2010/06/04 19:57:02 arfrever Exp $ |
59 |
|
60 |
-S=${WORKDIR}/${PN} |
61 |
+EAPI="3" |
62 |
+PYTHON_DEPEND="2" |
63 |
|
64 |
-inherit python eutils distutils |
65 |
+inherit distutils |
66 |
|
67 |
-DESCRIPTION="Flexible print quota and accounting package for use with CUPS and |
68 |
-lpd." |
69 |
-SRC_URI="http://scriptkitty.com/files/${P}.tar.bz2" |
70 |
+DESCRIPTION="Flexible print quota and accounting package for use with CUPS and lpd." |
71 |
HOMEPAGE="http://www.pykota.com" |
72 |
-LICENSE="GPL-2" |
73 |
+SRC_URI="http://scriptkitty.com/files/${P}.tar.bz2" |
74 |
|
75 |
+LICENSE="GPL-2" |
76 |
+SLOT="0" |
77 |
+KEYWORDS="~amd64 ~x86" |
78 |
IUSE="ldap mysql postgres snmp sqlite snmp xml" |
79 |
|
80 |
DEPEND="dev-lang/python |
81 |
@@ -25,17 +27,19 @@ |
82 |
sqlite? ( =dev-python/pysqlite-2* ) |
83 |
snmp? ( net-analyzer/net-snmp =dev-python/pysnmp-3.4* ) |
84 |
xml? ( dev-python/jaxml )" |
85 |
- |
86 |
RDEPEND="${DEPEND}" |
87 |
|
88 |
-KEYWORDS="~amd64 ~x86" |
89 |
-SLOT="0" |
90 |
+S="${WORKDIR}/${PN}" |
91 |
|
92 |
DOCS="README MANIFEST.in TODO SECURITY NEWS CREDITS FAQ" |
93 |
|
94 |
+pkg_setup() { |
95 |
+ python_set_active_version 2 |
96 |
+ python_pkg_setup |
97 |
+} |
98 |
+ |
99 |
src_install() { |
100 |
mkdir -p "${D}"/etc/${PN} |
101 |
- python_version |
102 |
distutils_src_install |
103 |
#cups backend ---------------------------------------------- |
104 |
mkdir -p "${D}"$(cups-config --serverbin)/backend |