summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <none@none>2012-02-29 21:59:17 +0100
committerKrzysztof Pawlik <none@none>2012-02-29 21:59:17 +0100
commit04df14590005e2efdb6b44b4d78554f452b0194d (patch)
tree33554fde061c0dff02601a7de677649da9fb067f
parentSet EPYTHON variable. (diff)
downloadnelchael-04df14590005e2efdb6b44b4d78554f452b0194d.tar.gz
nelchael-04df14590005e2efdb6b44b4d78554f452b0194d.tar.bz2
nelchael-04df14590005e2efdb6b44b4d78554f452b0194d.zip
Add binary name for PyPy.
-rw-r--r--eclass/python-distutils-ng.eclass3
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}"