From f52d2d5f50e91f3691a3fb77b455a113f26d7d43 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Wed, 12 Mar 2014 08:18:38 +0000 Subject: Modify python-utils-r1 for pypy2.2 --- eclass/python-utils-r1.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'eclass/python-utils-r1.eclass') diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 65534deecdaf..94c714db38f1 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.47 2014/02/22 17:01:58 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.48 2014/03/12 08:18:38 patrick Exp $ # @ECLASS: python-utils-r1 # @MAINTAINER: @@ -41,7 +41,7 @@ inherit eutils multilib toolchain-funcs # All supported Python implementations, most preferred last. _PYTHON_ALL_IMPLS=( jython2_5 jython2_7 - pypy2_0 + pypy2_0 pypy2_2 python3_2 python3_3 python3_4 python2_6 python2_7 ) @@ -66,7 +66,7 @@ _python_impl_supported() { # keep in sync with _PYTHON_ALL_IMPLS! # (not using that list because inline patterns shall be faster) case "${impl}" in - python2_[67]|python3_[234]|pypy2_0|jython2_[57]) + python2_[67]|python3_[234]|pypy2_[02]|jython2_[57]) return 0 ;; pypy1_[89]|python2_5|python3_1) @@ -361,6 +361,8 @@ python_export() { PYTHON_PKG_DEP="dev-lang/python:${impl#python}";; pypy-c2.0) PYTHON_PKG_DEP='>=virtual/pypy-2.0.2:2.0';; + pypy-c2.2) + PYTHON_PKG_DEP='>=virtual/pypy-2.2.1:2.2';; jython2.5) PYTHON_PKG_DEP='>=dev-java/jython-2.5.3-r2:2.5';; jython2.7) -- cgit v1.2.3-65-gdbad