--- /home/pacho/gentoo-x86/app-emulation/crossover-office-pro-bin/crossover-office-pro-bin-9.1.0.ebuild 2010-08-03 20:25:00.000000000 +0200 +++ /usr/portage/app-emulation/crossover-office-pro-bin/crossover-office-pro-bin-9.1.0.ebuild 2010-11-19 21:13:21.000000000 +0100 @@ -3,8 +3,9 @@ # $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-office-pro-bin/crossover-office-pro-bin-9.1.0.ebuild,v 1.2 2010/08/03 18:25:00 vapier Exp $ EAPI="3" +PYTHON_DEPEND="2" -inherit eutils +inherit eutils python DESCRIPTION="simplified/streamlined version of wine with commercial support" HOMEPAGE="http://www.codeweavers.com/products/cxoffice/" @@ -30,6 +31,10 @@ S=${WORKDIR} +pkg_setup() { + python_set_active_version 2 +} + pkg_nofetch() { einfo "Please visit ${HOMEPAGE}" einfo "and place ${A} in ${DISTDIR}" @@ -39,6 +44,10 @@ unpack_makeself } +src_prepare() { + python_convert_shebangs -r 2 . +} + src_install() { dodir /opt/cxoffice cp -r * "${D}"/opt/cxoffice || die "cp failed"