diff options
Diffstat (limited to 'app-pda/pilot-link/pilot-link-0.12.3-r1.ebuild')
-rw-r--r-- | app-pda/pilot-link/pilot-link-0.12.3-r1.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
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() { |