summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-04-26 07:30:23 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-04-26 07:30:23 +0000
commit87a701cae6b0015bf8cc793669ced8c20cbc30b4 (patch)
tree0b9dc7d48d7dfdff73935ad271f861973e0c1efc /media-gfx
parentppc stable wrt bug#411449. (diff)
downloadgentoo-2-87a701cae6b0015bf8cc793669ced8c20cbc30b4.tar.gz
gentoo-2-87a701cae6b0015bf8cc793669ced8c20cbc30b4.tar.bz2
gentoo-2-87a701cae6b0015bf8cc793669ced8c20cbc30b4.zip
Fix test phase for python3.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/graphite2/ChangeLog5
-rw-r--r--media-gfx/graphite2/graphite2-1.1.2.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/media-gfx/graphite2/ChangeLog b/media-gfx/graphite2/ChangeLog
index 692931e86b8a..499d8d8013df 100644
--- a/media-gfx/graphite2/ChangeLog
+++ b/media-gfx/graphite2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/graphite2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.27 2012/04/26 07:27:51 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.28 2012/04/26 07:30:23 scarabeus Exp $
+
+ 26 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> graphite2-1.1.2.ebuild:
+ Fix test phase for python3.
26 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org>
-files/graphite2-includes-libs-perl.patch, -graphite2-1.0.3-r1.ebuild,
diff --git a/media-gfx/graphite2/graphite2-1.1.2.ebuild b/media-gfx/graphite2/graphite2-1.1.2.ebuild
index 25d3bec6d6d7..1445f562eb5b 100644
--- a/media-gfx/graphite2/graphite2-1.1.2.ebuild
+++ b/media-gfx/graphite2/graphite2-1.1.2.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-1.1.2.ebuild,v 1.1 2012/04/23 10:53:44 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-1.1.2.ebuild,v 1.2 2012/04/26 07:30:23 scarabeus Exp $
EAPI=4
-inherit base cmake-utils perl-module
+PYTHON_DEPEND="test? 2"
+inherit base cmake-utils perl-module python
DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems"
HOMEPAGE="http://graphite.sil.org/"
@@ -36,6 +37,10 @@ PATCHES=(
pkg_setup() {
use perl && perl-module_pkg_setup
+ if use test; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
}
src_prepare() {