diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-04-26 07:30:23 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-04-26 07:30:23 +0000 |
commit | 370dd2f2e63789d09ee03847e5347198ff1e3de7 (patch) | |
tree | 88a5c632f927788c9ce7df263482e59a3f58bb7a /media-gfx/graphite2/graphite2-1.1.2.ebuild | |
parent | ppc stable wrt bug#411449. (diff) | |
download | historical-370dd2f2e63789d09ee03847e5347198ff1e3de7.tar.gz historical-370dd2f2e63789d09ee03847e5347198ff1e3de7.tar.bz2 historical-370dd2f2e63789d09ee03847e5347198ff1e3de7.zip |
Fix test phase for python3.
Package-Manager: portage-2.2.0_alpha101/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/graphite2/graphite2-1.1.2.ebuild')
-rw-r--r-- | media-gfx/graphite2/graphite2-1.1.2.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
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() { |