summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-04 20:42:35 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-04 20:42:35 +0000
commitd1057a5f439a6324964f7ce97aa6bfa0ff301305 (patch)
tree41a33a86ed4cbb8354e4bf36da29f3bac521dc5d
parentx86 stable, bug #314899 (diff)
downloadgentoo-2-d1057a5f439a6324964f7ce97aa6bfa0ff301305.tar.gz
gentoo-2-d1057a5f439a6324964f7ce97aa6bfa0ff301305.tar.bz2
gentoo-2-d1057a5f439a6324964f7ce97aa6bfa0ff301305.zip
Backport fix for deprecation warnings from app-portage/pfl-1.8.1-r1.
(Portage version: HEAD/cvs/Linux x86_64)
-rw-r--r--app-portage/pfl/pfl-1.8.1.ebuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/app-portage/pfl/pfl-1.8.1.ebuild b/app-portage/pfl/pfl-1.8.1.ebuild
index 6ecd9fb36094..0fc33eeb87a7 100644
--- a/app-portage/pfl/pfl-1.8.1.ebuild
+++ b/app-portage/pfl/pfl-1.8.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/pfl/pfl-1.8.1.ebuild,v 1.5 2010/05/28 18:31:11 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/pfl/pfl-1.8.1.ebuild,v 1.6 2010/06/04 20:42:35 arfrever Exp $
inherit python multilib
@@ -29,12 +29,10 @@ src_unpack() {
}
src_install() {
- python_version
-
if use network-cron ; then
cat >> "${T}/${PN}" <<- EOF
#!/bin/sh
- exec nice ${python} -O $(python_get_sitedir)/${PN}/${PN}.py >/dev/null
+ exec nice $(PYTHON) -O $(python_get_sitedir)/${PN}/${PN}.py >/dev/null
EOF
exeinto /etc/cron.weekly
@@ -52,7 +50,6 @@ src_install() {
}
pkg_postinst() {
- python_version
python_mod_optimize $(python_get_sitedir)/${PN}
if [[ ! -e "${ROOT%/}/var/lib/${PN}/lastrun" ]]; then