From: Arfrever Frehtes Taifersar Arahesis Date: Fri, 11 Jun 2010 21:30:10 +0000 (+0000) Subject: Delete calls to deprecated python_version() (bug #311767). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bfdcc24573200b9dd46f1184b38dcc56cdbf1a45;p=gentoo.git Delete calls to deprecated python_version() (bug #311767). Package-Manager: portage-HEAD/cvs/Linux x86_64 --- 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 + 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 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() {