From d9ef359535c0d376019e3b94e59160ee53d9edf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 20 Feb 2017 00:10:51 +0100 Subject: [PATCH] www-apps/curator: python-single-r1, EAPI=6 --- ...ebuild => curator-3.0_p20110120-r2.ebuild} | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) rename www-apps/curator/{curator-3.0_p20110120-r1.ebuild => curator-3.0_p20110120-r2.ebuild} (67%) diff --git a/www-apps/curator/curator-3.0_p20110120-r1.ebuild b/www-apps/curator/curator-3.0_p20110120-r2.ebuild similarity index 67% rename from www-apps/curator/curator-3.0_p20110120-r1.ebuild rename to www-apps/curator/curator-3.0_p20110120-r2.ebuild index 2b19f82a3bc26..b3282ab4f086a 100644 --- a/www-apps/curator/curator-3.0_p20110120-r1.ebuild +++ b/www-apps/curator/curator-3.0_p20110120-r2.ebuild @@ -2,11 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=6 -PYTHON_DEPEND="2" +PYTHON_COMPAT=( python2_7 ) -inherit python +inherit python-single-r1 DESCRIPTION="Gallery generator" HOMEPAGE="http://furius.ca/curator/" @@ -19,21 +19,20 @@ IUSE="" DEPEND="" RDEPEND="${DEPEND} - dev-python/pillow + ${PYTHON_DEPS} + dev-python/pillow[${PYTHON_USEDEP}] virtual/imagemagick-tools" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + S="${WORKDIR}/curator-3.0_pf078f1686a78" -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} src_compile() { - : + python_fix_shebang hs/curator-hs } src_install() { dobin hs/curator-hs - insinto /usr/share/curator/hs - doins -r hs/* + insinto /usr/share/curator + doins -r hs }