From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 55444138825 for ; Wed, 5 Nov 2014 23:03:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1B00E09D1; Wed, 5 Nov 2014 23:03:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE60BE0994 for ; Wed, 5 Nov 2014 23:03:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75335340431 for ; Wed, 5 Nov 2014 23:03:02 +0000 (UTC) Received: by oystercatcher.gentoo.org (Postfix, from userid 2279) id 2794F983C; Wed, 5 Nov 2014 23:03:01 +0000 (UTC) From: "Michal Gorny (mgorny)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mgorny@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass/tests: python-utils-r1.sh X-VCS-Repository: gentoo-x86 X-VCS-Files: python-utils-r1.sh X-VCS-Directories: eclass/tests X-VCS-Committer: mgorny X-VCS-Committer-Name: Michal Gorny Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20141105230301.2794F983C@oystercatcher.gentoo.org> Date: Wed, 5 Nov 2014 23:03:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 25b42255-a9dd-425c-a5d2-6712154e5976 X-Archives-Hash: 0eaaf6096c81c54a72959b3e4a8a100d mgorny 14/11/05 23:03:01 Modified: python-utils-r1.sh Log: Add support for PyPy3. Revision Changes Path 1.11 eclass/tests/python-utils-r1.sh file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tests/python-utils-r1.sh?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tests/python-utils-r1.sh?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tests/python-utils-r1.sh?r1=1.10&r2=1.11 Index: python-utils-r1.sh =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/tests/python-utils-r1.sh,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- python-utils-r1.sh 4 Sep 2014 14:52:58 -0000 1.10 +++ python-utils-r1.sh 5 Nov 2014 23:03:01 -0000 1.11 @@ -87,15 +87,24 @@ test_var PYTHON_PKG_DEP pypy '*virtual/pypy*:0=' test_var PYTHON_SCRIPTDIR pypy /usr/lib/python-exec/pypy +test_var EPYTHON pypy3 pypy3 +test_var PYTHON pypy3 /usr/bin/pypy3 +test_var PYTHON_SITEDIR pypy3 /usr/lib/pypy3/site-packages +test_var PYTHON_INCLUDEDIR pypy3 /usr/lib/pypy3/include +test_var PYTHON_PKG_DEP pypy3 '*virtual/pypy3*:0=' +test_var PYTHON_SCRIPTDIR pypy3 /usr/lib/python-exec/pypy3 + test_is "python_is_python3 python2.7" 1 test_is "python_is_python3 python3.2" 0 test_is "python_is_python3 jython2.7" 1 test_is "python_is_python3 pypy" 1 +test_is "python_is_python3 pypy3" 0 # generic shebangs test_fix_shebang '#!/usr/bin/python' python2.7 '#!/usr/bin/python2.7' test_fix_shebang '#!/usr/bin/python' python3.4 '#!/usr/bin/python3.4' test_fix_shebang '#!/usr/bin/python' pypy '#!/usr/bin/pypy' +test_fix_shebang '#!/usr/bin/python' pypy3 '#!/usr/bin/pypy3' test_fix_shebang '#!/usr/bin/python' jython2.7 '#!/usr/bin/jython2.7' # python2/python3 matching @@ -149,6 +158,7 @@ test_is "_python_impl_supported pypy1_9" 1 test_is "_python_impl_supported pypy2_0" 1 test_is "_python_impl_supported pypy" 0 +test_is "_python_impl_supported pypy3" 0 test_is "_python_impl_supported jython2_5" 0 test_is "_python_impl_supported jython2_7" 0