summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-20 00:10:51 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-20 00:20:41 +0100
commitd9ef359535c0d376019e3b94e59160ee53d9edf9 (patch)
tree7afdae68c9dd176968b0e03d2d41a75711fdc1a7
parentsys-kernel/hardened-sources: version bump to 4.9.11 (diff)
downloadgentoo-d9ef359535c0d376019e3b94e59160ee53d9edf9.tar.gz
gentoo-d9ef359535c0d376019e3b94e59160ee53d9edf9.tar.bz2
gentoo-d9ef359535c0d376019e3b94e59160ee53d9edf9.zip
www-apps/curator: python-single-r1, EAPI=6
-rw-r--r--www-apps/curator/curator-3.0_p20110120-r2.ebuild (renamed from www-apps/curator/curator-3.0_p20110120-r1.ebuild)21
1 files 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
index 2b19f82a3bc2..b3282ab4f086 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
}