From 7457df4190e6b7f84b2a1652f62c619326877f26 Mon Sep 17 00:00:00 2001 From: dand-oss Date: Fri, 10 Jun 2022 14:11:44 +0700 Subject: [PATCH] Add pyston-2.3.4 (#2390) Co-authored-by: Dan Dees --- .../share/python-build/pyston-2.3.4 | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/python-build/share/python-build/pyston-2.3.4 diff --git a/plugins/python-build/share/python-build/pyston-2.3.4 b/plugins/python-build/share/python-build/pyston-2.3.4 new file mode 100644 index 00000000..e61eb09f --- /dev/null +++ b/plugins/python-build/share/python-build/pyston-2.3.4 @@ -0,0 +1,23 @@ +# sha256sum used for checksum values + +# version of pyston +VER='2.3.4' +# alias for download location +DOWNLOAD='https://github.com/pyston/pyston/releases/download' + +case "$(pyston_architecture 2>/dev/null || true)" in +"linux64" ) + install_package "pyston_${VER}_portable_amd64" "${DOWNLOAD}/pyston_${VER}/pyston_${VER}_portable_amd64.tar.gz#f8274bdead746f839791d785a5edad8a0b8723016b38751321c8eaf16ebd22db" "pyston" verify_py38 get_pip + ;; +"linux-aarch64" ) + install_package "pyston_${VER}_portable_arm64" "${DOWNLOAD}/pyston_${VER}/pyston_${VER}_portable_arm64.tar.gz#0733d120562c73f129af5633f8ea7faad3fdcab931f2234c02cd81f21eada2cd" "pyston" verify_py38 get_pip + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": A Pyston ${VER} binary is not available for $(pyston_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac