Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/pfl: pfl-1.8.1.ebuild
Date: Fri, 04 Jun 2010 21:51:29
Message-Id: 20100604204235.758272CF69@corvid.gentoo.org
1 arfrever 10/06/04 20:42:35
2
3 Modified: pfl-1.8.1.ebuild
4 Log:
5 Backport fix for deprecation warnings from app-portage/pfl-1.8.1-r1.
6 (Portage version: HEAD/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.6 app-portage/pfl/pfl-1.8.1.ebuild
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/pfl/pfl-1.8.1.ebuild?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/pfl/pfl-1.8.1.ebuild?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/pfl/pfl-1.8.1.ebuild?r1=1.5&r2=1.6
14
15 Index: pfl-1.8.1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-portage/pfl/pfl-1.8.1.ebuild,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- pfl-1.8.1.ebuild 28 May 2010 18:31:11 -0000 1.5
22 +++ pfl-1.8.1.ebuild 4 Jun 2010 20:42:35 -0000 1.6
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-portage/pfl/pfl-1.8.1.ebuild,v 1.5 2010/05/28 18:31:11 billie Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-portage/pfl/pfl-1.8.1.ebuild,v 1.6 2010/06/04 20:42:35 arfrever Exp $
28
29 inherit python multilib
30
31 @@ -29,12 +29,10 @@
32 }
33
34 src_install() {
35 - python_version
36 -
37 if use network-cron ; then
38 cat >> "${T}/${PN}" <<- EOF
39 #!/bin/sh
40 - exec nice ${python} -O $(python_get_sitedir)/${PN}/${PN}.py >/dev/null
41 + exec nice $(PYTHON) -O $(python_get_sitedir)/${PN}/${PN}.py >/dev/null
42 EOF
43
44 exeinto /etc/cron.weekly
45 @@ -52,7 +50,6 @@
46 }
47
48 pkg_postinst() {
49 - python_version
50 python_mod_optimize $(python_get_sitedir)/${PN}
51
52 if [[ ! -e "${ROOT%/}/var/lib/${PN}/lastrun" ]]; then