From 0f6c5ac9b7cea68e23bd6c065cee526c59d94f1b Mon Sep 17 00:00:00 2001 From: Josh Friend Date: Tue, 22 Nov 2016 22:56:30 -0500 Subject: [PATCH] Add Pyston 0.6.0 --- CHANGELOG.md | 1 + .../share/python-build/pyston-0.6.0 | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 plugins/python-build/share/python-build/pyston-0.6.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 333b1a21..7dae33aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * python-build: Add Stackless 2.7.12 (#753) * python-build: Add Stackless 2.7.11 * python-build: Add Stackless 2.7.10 +* python-build: Add Pyston 0.6.0 ## 1.0.3 diff --git a/plugins/python-build/share/python-build/pyston-0.6.0 b/plugins/python-build/share/python-build/pyston-0.6.0 new file mode 100644 index 00000000..5eb2b3aa --- /dev/null +++ b/plugins/python-build/share/python-build/pyston-0.6.0 @@ -0,0 +1,23 @@ +case "$(pyston_architecture 2>/dev/null || true)" in +"linux64" ) + install_package "pyston-0.6.0-linux64" "https://github.com/dropbox/pyston/releases/download/v0.6/pyston-0.6.0-linux64.tar.gz#c31240a66cd3ed566ef88a8818a960d925fbf60ab17db722224794346b827f9f" "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 + # activate the virtualenv so that we're using the correct pip and site-packages location + # ( source "${PREFIX_PATH}/bin/activate" ) + # FIXME: if this fails it should not break the installation + # ( cd "${PREFIX_PATH}/bin" && ./pip install https://github.com/dropbox/pyston/releases/download/v0.6/Cython-0.24-pyston.tar.gz && ./pip install git+git://github.com/numpy/numpy@v1.11.0 ) + # deactivate the virtualenv + # ( deactivate ) + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": A Pyston 0.6.0 binary is not available for $(pyston_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac