From e03cb557b067da2b223ea0336135addb085ee02e Mon Sep 17 00:00:00 2001 From: Samuel Villamonte Date: Sun, 25 Sep 2016 17:27:36 -0500 Subject: [PATCH] Add pyston-0.5.1 --- .../share/python-build/pyston-0.5.1 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 plugins/python-build/share/python-build/pyston-0.5.1 diff --git a/plugins/python-build/share/python-build/pyston-0.5.1 b/plugins/python-build/share/python-build/pyston-0.5.1 new file mode 100644 index 00000000..850b2dcb --- /dev/null +++ b/plugins/python-build/share/python-build/pyston-0.5.1 @@ -0,0 +1,19 @@ +case "$(pypy_architecture 2>/dev/null || true)" in +"linux64" ) + install_package "pyston-0.5.1-linux64" "https://github.com/dropbox/pyston/releases/download/v0.5.1/pyston-0.5.1-linux64.tar.gz#4b0d2ad2c19f6393b79adbb9312649d38cb8cb3daf0c8fdf8631465c7761bb79" "pyston" verify_py27 + # disabling ensurepip avoids having installation aborted because of a coredump + # pyston targets python 2.7.7 and does not have ensurepip, when attempting to + # run https://bootstrap.pypa.io/get-pip.py it dumps core, see + # https://github.com/dropbox/pyston/issues/1373 + # FIXME: more ugly hacks because Olenna Tyrell would approve + ( cd "${PREFIX_PATH}/bin" && ./pip install https://github.com/dropbox/pyston/releases/download/v0.5.1/Cython-0.24-pyston.tar.gz && ./pip install git+git://github.com/numpy/numpy@v1.11.0 ) + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": A Pyston 0.5.1 binary is not available for $(pypy_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac