summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-11-13 10:14:43 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-11-13 10:14:43 +0000
commit09546ae45f282d95771b35047344cc5564e05d93 (patch)
treefc3e7533da0d3d5fb0b0f461e4d5e9372c39392b /media-libs/vigra/vigra-1.7.1-r1.ebuild
parentKeyworded for Prefix ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86... (diff)
downloadhistorical-09546ae45f282d95771b35047344cc5564e05d93.tar.gz
historical-09546ae45f282d95771b35047344cc5564e05d93.tar.bz2
historical-09546ae45f282d95771b35047344cc5564e05d93.zip
Fix python.eclass depend usage
Package-Manager: portage-2.2.0_alpha73/cvs/Linux x86_64
Diffstat (limited to 'media-libs/vigra/vigra-1.7.1-r1.ebuild')
-rw-r--r--media-libs/vigra/vigra-1.7.1-r1.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/media-libs/vigra/vigra-1.7.1-r1.ebuild b/media-libs/vigra/vigra-1.7.1-r1.ebuild
index 70d08786685f..0206e2a60c77 100644
--- a/media-libs/vigra/vigra-1.7.1-r1.ebuild
+++ b/media-libs/vigra/vigra-1.7.1-r1.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.7.1-r1.ebuild,v 1.6 2011/11/13 10:12:39 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.7.1-r1.ebuild,v 1.7 2011/11/13 10:14:43 ssuominen Exp $
EAPI=4
-PYTHON_DEPEND="2"
-PYTHON_USE_WITH="threads,xml"
+PYTHON_DEPEND="python? 2:2.6"
+PYTHON_USE_WITH_OPT="python"
+PYTHON_USE_WITH="threads xml"
MY_P=${P}-src
@@ -25,11 +26,8 @@ RDEPEND="
fftw? ( >=sci-libs/fftw-3 )
hdf5? ( sci-libs/hdf5 )
jpeg? ( virtual/jpeg )
- png? ( media-libs/libpng )
- python? (
- || ( dev-lang/python:2.6 dev-lang/python:2.7 )
- )
- tiff? ( media-libs/tiff )
+ png? ( media-libs/libpng:0 )
+ tiff? ( media-libs/tiff:0 )
"
DEPEND="${RDEPEND}
doc? (