summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-10-18 07:28:40 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-10-18 07:28:40 +0000
commitac57eefd52ef6b1b94b019a5cd6a20f5424eea2d (patch)
tree016774fcfac8c87e5a533452fb1f432346d2fbac /media-libs/vigra
parentVersion bump. (diff)
downloadgentoo-2-ac57eefd52ef6b1b94b019a5cd6a20f5424eea2d.tar.gz
gentoo-2-ac57eefd52ef6b1b94b019a5cd6a20f5424eea2d.tar.bz2
gentoo-2-ac57eefd52ef6b1b94b019a5cd6a20f5424eea2d.zip
Use python eclass now that it supports eapi4.
(Portage version: 2.2.0_alpha68/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/vigra')
-rw-r--r--media-libs/vigra/ChangeLog5
-rw-r--r--media-libs/vigra/vigra-1.7.1-r1.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/media-libs/vigra/ChangeLog b/media-libs/vigra/ChangeLog
index d4683aca9062..47999a8620de 100644
--- a/media-libs/vigra/ChangeLog
+++ b/media-libs/vigra/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/vigra
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v 1.38 2011/10/15 12:55:31 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v 1.39 2011/10/18 07:28:40 scarabeus Exp $
+
+ 18 Oct 2011; Tomáš Chvátal <scarabeus@gentoo.org> vigra-1.7.1-r1.ebuild:
+ Use python eclass now that it supports eapi4.
15 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> vigra-1.7.1.ebuild:
ppc stable wrt #385217
diff --git a/media-libs/vigra/vigra-1.7.1-r1.ebuild b/media-libs/vigra/vigra-1.7.1-r1.ebuild
index 5c597c5d817f..ac2a8c771218 100644
--- a/media-libs/vigra/vigra-1.7.1-r1.ebuild
+++ b/media-libs/vigra/vigra-1.7.1-r1.ebuild
@@ -1,11 +1,15 @@
# 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.1 2011/10/05 22:06:11 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.7.1-r1.ebuild,v 1.2 2011/10/18 07:28:40 scarabeus Exp $
EAPI=4
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="threads,xml"
+
MY_P=${P}-src
-inherit base cmake-utils multilib
+
+inherit base cmake-utils multilib python
DESCRIPTION="C++ computer vision library with emphasize on customizable algorithms and data structures"
HOMEPAGE="http://hci.iwr.uni-heidelberg.de/vigra/"
@@ -57,6 +61,10 @@ CMAKE_IN_SOURCE_BUILD=1
DOCS=(README.txt)
+pkg_setup() {
+ python_set_active_version 2
+}
+
src_prepare() {
base_src_prepare