diff -ur curator.orig/curator-2.0.ebuild curator/curator-2.0.ebuild --- curator.orig/curator-2.0.ebuild 2011-11-13 17:08:11.692913877 +0800 +++ curator/curator-2.0.ebuild 2011-11-13 17:15:10.428913973 +0800 @@ -2,6 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-apps/curator/curator-2.0.ebuild,v 1.4 2008/02/19 11:57:36 hollow Exp $ +EAPI="3" + +PYTHON_DEPEND="2" + +inherit python + DESCRIPTION="Webpage thumbnail creator" HOMEPAGE="http://curator.sourceforge.net/" SRC_URI="mirror://sourceforge/curator/${P}.tar.gz" @@ -11,8 +17,8 @@ KEYWORDS="alpha amd64 ~hppa ~mips ppc ~sparc x86" IUSE="" -DEPEND=">=dev-lang/python-2.2.1 - >=media-gfx/imagemagick-5.4.9" +DEPEND=">=media-gfx/imagemagick-5.4.9" +RDEPEND="${DEPEND}" @@ -20,6 +20,10 @@ DEPEND=">=media-gfx/imagemagick-5.4.9" RDEPEND="${DEPEND}" +pkg_setup() { + python_set_active_version 2 +} + src_install() { cd "${WORKDIR}" dobin curator || die "install failed" src_install() { cd "${WORKDIR}" diff -ur curator.orig/curator-2.1.ebuild curator/curator-2.1.ebuild --- curator.orig/curator-2.1.ebuild 2011-11-13 17:06:51.628913852 +0800 +++ curator/curator-2.1.ebuild 2011-11-13 17:16:08.340914485 +0800 @@ -2,6 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-apps/curator/curator-2.1.ebuild,v 1.3 2008/02/19 11:57:36 hollow Exp $ +EAPI="3" + +PYTHON_DEPEND="2" + +inherit python + DESCRIPTION="Webpage thumbnail creator" HOMEPAGE="http://furius.ca/curator/" SRC_URI="mirror://sourceforge/curator/${P}.tar.gz" @@ -11,8 +17,8 @@ KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" IUSE="" -DEPEND=">=dev-lang/python-2.2.1 - >=media-gfx/imagemagick-5.4.9" +DEPEND=">=media-gfx/imagemagick-5.4.9" +RDEPEND="${DEPEND}" src_install() { dobin bin/curator || die "dobin bin/curator failed!" @@ -20,6 +20,10 @@ DEPEND=">=media-gfx/imagemagick-5.4.9" RDEPEND="${DEPEND}" +pkg_setup() { + python_set_active_version 2 +} + src_install() { dobin bin/curator || die "dobin bin/curator failed!" dodoc CHANGES README