From 04df14590005e2efdb6b44b4d78554f452b0194d Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Wed, 29 Feb 2012 21:59:17 +0100 Subject: Add binary name for PyPy. --- eclass/python-distutils-ng.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass index 0bc2edf..dcdafc2 100644 --- a/eclass/python-distutils-ng.eclass +++ b/eclass/python-distutils-ng.eclass @@ -87,7 +87,7 @@ _python-distutils-ng_get_binary_for_implementation() { python?.?|jython?.?) echo "/usr/bin/${impl}" ;; pypy?.?) - echo "TODO" ;; + echo "/usr/bin/pypy-c${impl: -3}" ;; *) die "Unsupported implementation: ${1}" ;; esac @@ -234,7 +234,6 @@ python-distutils-ng_newscript() { local default_impl="${PYTHON_DEFAULT_IMPLEMENTATION}" if [[ -z "${default_impl}" ]]; then - # TODO: Pick default implementation for impl in python{2_7,2_6,2_5,3_2,3_1} pypy{1_8,1_7} jython2_5; do use "python_targets_${impl}" || continue default_impl="${impl}" -- cgit v1.2.3-65-gdbad