commit:     d9ef359535c0d376019e3b94e59160ee53d9edf9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 23:10:51 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 23:20:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ef3595

www-apps/curator: python-single-r1, EAPI=6

 ...20-r1.ebuild => curator-3.0_p20110120-r2.ebuild} | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

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 2b19f82a3b..b3282ab4f0 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
 }

Reply via email to