diff options
author | 2012-02-29 21:59:17 +0100 | |
---|---|---|
committer | 2012-02-29 21:59:17 +0100 | |
commit | 04df14590005e2efdb6b44b4d78554f452b0194d (patch) | |
tree | 33554fde061c0dff02601a7de677649da9fb067f | |
parent | Set EPYTHON variable. (diff) | |
download | nelchael-04df14590005e2efdb6b44b4d78554f452b0194d.tar.gz nelchael-04df14590005e2efdb6b44b4d78554f452b0194d.tar.bz2 nelchael-04df14590005e2efdb6b44b4d78554f452b0194d.zip |
Add binary name for PyPy.
-rw-r--r-- | eclass/python-distutils-ng.eclass | 3 |
1 files changed, 1 insertions, 2 deletions
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}" |