www-apps/curator: python-single-r1, EAPI=6
authorMichał Górny <mgorny@gentoo.org>
Sun, 19 Feb 2017 23:10:51 +0000 (00:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 19 Feb 2017 23:20:41 +0000 (00:20 +0100)
www-apps/curator/curator-3.0_p20110120-r2.ebuild [moved from www-apps/curator/curator-3.0_p20110120-r1.ebuild with 67% similarity]

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 2b19f82a3bc2605118812b6c5e353ecb63bf4d18..b3282ab4f086a436781d7ce355c85a0ffb43fe4a 100644 (file)
@@ -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
 }