summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-11 21:30:10 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-11 21:30:10 +0000
commit207075f1517c8bf3ff8943fcaa8402c737ad4758 (patch)
treee4089b0bdcc2fb0fea0e0ea367402d41e7296123 /app-pda
parentRemoving myself as maintainer (diff)
downloadgentoo-2-207075f1517c8bf3ff8943fcaa8402c737ad4758.tar.gz
gentoo-2-207075f1517c8bf3ff8943fcaa8402c737ad4758.tar.bz2
gentoo-2-207075f1517c8bf3ff8943fcaa8402c737ad4758.zip
Delete calls to deprecated python_version() (bug #311767).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/pilot-link/ChangeLog6
-rw-r--r--app-pda/pilot-link/pilot-link-0.12.3-r1.ebuild9
-rw-r--r--app-pda/pilot-link/pilot-link-0.12.3-r2.ebuild9
3 files changed, 13 insertions, 11 deletions
diff --git a/app-pda/pilot-link/ChangeLog b/app-pda/pilot-link/ChangeLog
index f05b5acd1046..be67536a306f 100644
--- a/app-pda/pilot-link/ChangeLog
+++ b/app-pda/pilot-link/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-pda/pilot-link
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.58 2010/06/11 17:29:55 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.59 2010/06/11 21:30:10 arfrever Exp $
+
+ 11 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pilot-link-0.12.3-r1.ebuild, pilot-link-0.12.3-r2.ebuild:
+ Delete calls to deprecated python_version() (bug #311767).
11 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
pilot-link-0.12.3-r2.ebuild:
diff --git a/app-pda/pilot-link/pilot-link-0.12.3-r1.ebuild b/app-pda/pilot-link/pilot-link-0.12.3-r1.ebuild
index af723b0cb488..058c310943a4 100644
--- a/app-pda/pilot-link/pilot-link-0.12.3-r1.ebuild
+++ b/app-pda/pilot-link/pilot-link-0.12.3-r1.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-pda/pilot-link/pilot-link-0.12.3-r1.ebuild,v 1.8 2010/06/11 11:22:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.3-r1.ebuild,v 1.9 2010/06/11 21:30:10 arfrever Exp $
EAPI=2
@@ -32,6 +32,8 @@ DEPEND="${BOTH_DEPEND}
RDEPEND="${BOTH_DEPEND}
java? ( >=virtual/jre-1.4 )"
+PYTHON_MODNAME="pisock.py pisockextras.py"
+
src_prepare() {
# Fixing some broken configure switches and automagic deps.
epatch "${FILESDIR}/${PN}-0.12.2-readline.patch"
@@ -125,10 +127,7 @@ pkg_preinst() {
}
pkg_postinst() {
- if use python; then
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
- fi
+ use python && distutils_pkg_postinst
}
pkg_postrm() {
diff --git a/app-pda/pilot-link/pilot-link-0.12.3-r2.ebuild b/app-pda/pilot-link/pilot-link-0.12.3-r2.ebuild
index 4813dc70c9b9..ae93a16909d6 100644
--- a/app-pda/pilot-link/pilot-link-0.12.3-r2.ebuild
+++ b/app-pda/pilot-link/pilot-link-0.12.3-r2.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-pda/pilot-link/pilot-link-0.12.3-r2.ebuild,v 1.12 2010/06/11 17:29:55 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.3-r2.ebuild,v 1.13 2010/06/11 21:30:10 arfrever Exp $
EAPI=2
@@ -32,6 +32,8 @@ DEPEND="${BOTH_DEPEND}
RDEPEND="${BOTH_DEPEND}
java? ( >=virtual/jre-1.4 )"
+PYTHON_MODNAME="pisock.py pisockextras.py"
+
src_prepare() {
# Fixing some broken configure switches and automagic deps.
epatch "${FILESDIR}/${PN}-0.12.2-readline.patch"
@@ -129,10 +131,7 @@ pkg_preinst() {
}
pkg_postinst() {
- if use python; then
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
- fi
+ use python && distutils_pkg_postinst
}
pkg_postrm() {