diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-03-12 08:18:38 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-03-12 08:18:38 +0000 |
commit | 249c1a0dcdd19f1f65f09b6e9cef58fb2faa3652 (patch) | |
tree | 92e8041e30630396d3a17931f9114fa83e210883 /eclass/python-utils-r1.eclass | |
parent | dev-python/pyyaml: Enhance USE description (diff) | |
download | gentoo-2-249c1a0dcdd19f1f65f09b6e9cef58fb2faa3652.tar.gz gentoo-2-249c1a0dcdd19f1f65f09b6e9cef58fb2faa3652.tar.bz2 gentoo-2-249c1a0dcdd19f1f65f09b6e9cef58fb2faa3652.zip |
Modify python-utils-r1 for pypy2.2
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 8 |
1 files changed, 5 insertions, 3 deletions
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) |