From be2bd5f03d94adda063d2ce4e7646c9844b9f05a Mon Sep 17 00:00:00 2001 From: Petrov Date: Sun, 19 Mar 2023 08:14:59 +0300 Subject: [PATCH 1/3] Create anaconda3-2023.03 --- .../share/python-build/anaconda3-2023.03 | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/python-build/share/python-build/anaconda3-2023.03 diff --git a/plugins/python-build/share/python-build/anaconda3-2023.03 b/plugins/python-build/share/python-build/anaconda3-2023.03 new file mode 100644 index 00000000..d22612fe --- /dev/null +++ b/plugins/python-build/share/python-build/anaconda3-2023.03 @@ -0,0 +1,28 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-aarch64" ) + install_script "Anaconda3-2023.03-Linux-aarch64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-aarch64.sh#SHA1" "anaconda" verify_py310 + ;; +"Linux-ppc64le" ) + install_script "Anaconda3-2023.03-Linux-ppc64le" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-ppc64le.sh#SHA1" "anaconda" verify_py310 + ;; +"Linux-s390x" ) + install_script "Anaconda3-2023.03-Linux-s390x" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-s390x.sh#SHA1" "anaconda" verify_py310 + ;; +"Linux-x86_64" ) + install_script "Anaconda3-2023.03-Linux-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-x86_64.sh#SHA1" "anaconda" verify_py310 + ;; +"MacOSX-arm64" ) + install_script "Anaconda3-2023.03-MacOSX-arm64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-arm64.sh#SHA1" "anaconda" verify_py310 + ;; +"MacOSX-x86_64" ) + install_script "Anaconda3-2023.03-MacOSX-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-x86_64.sh#SHA1" "anaconda" verify_py310 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac From ddd37eb823952ca73344a3d6ce5726e4fc5a29aa Mon Sep 17 00:00:00 2001 From: Petrov Date: Thu, 23 Mar 2023 13:35:50 +0300 Subject: [PATCH 2/3] Add hashes --- .../share/python-build/anaconda3-2023.03 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/python-build/share/python-build/anaconda3-2023.03 b/plugins/python-build/share/python-build/anaconda3-2023.03 index d22612fe..0fc91469 100644 --- a/plugins/python-build/share/python-build/anaconda3-2023.03 +++ b/plugins/python-build/share/python-build/anaconda3-2023.03 @@ -1,21 +1,21 @@ case "$(anaconda_architecture 2>/dev/null || true)" in "Linux-aarch64" ) - install_script "Anaconda3-2023.03-Linux-aarch64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-aarch64.sh#SHA1" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-Linux-aarch64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-aarch64.sh#2EDA8F6D0FCEBDA3526487293C3CE4B0BCAF5464" "anaconda" verify_py310 ;; "Linux-ppc64le" ) - install_script "Anaconda3-2023.03-Linux-ppc64le" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-ppc64le.sh#SHA1" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-Linux-ppc64le" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-ppc64le.sh#6FFEAE344D88925641BAE5F07D96A9829E49FC97" "anaconda" verify_py310 ;; "Linux-s390x" ) - install_script "Anaconda3-2023.03-Linux-s390x" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-s390x.sh#SHA1" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-Linux-s390x" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-s390x.sh#6A89BAA462B8594B865DAF6A09FC4D268E5273FF" "anaconda" verify_py310 ;; "Linux-x86_64" ) - install_script "Anaconda3-2023.03-Linux-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-x86_64.sh#SHA1" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-Linux-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-x86_64.sh#9B59B76805D5C95D0C9802E2FDB74253A3AF6D87" "anaconda" verify_py310 ;; "MacOSX-arm64" ) - install_script "Anaconda3-2023.03-MacOSX-arm64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-arm64.sh#SHA1" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-MacOSX-arm64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-arm64.sh#075F7B446BF85E6D9EC653F8BCB21978B3C62C4B" "anaconda" verify_py310 ;; "MacOSX-x86_64" ) - install_script "Anaconda3-2023.03-MacOSX-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-x86_64.sh#SHA1" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-MacOSX-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-x86_64.sh#88DD27921CE836F1E0805B2A3E2DACF706B92246" "anaconda" verify_py310 ;; * ) { echo From e28d747b83bc775b6c5e154b7e478d2e2421ae2c Mon Sep 17 00:00:00 2001 From: Petrov Date: Thu, 23 Mar 2023 13:41:02 +0300 Subject: [PATCH 3/3] set hashes to sha-256 --- .../share/python-build/anaconda3-2023.03 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/python-build/share/python-build/anaconda3-2023.03 b/plugins/python-build/share/python-build/anaconda3-2023.03 index 0fc91469..7fc6f2bd 100644 --- a/plugins/python-build/share/python-build/anaconda3-2023.03 +++ b/plugins/python-build/share/python-build/anaconda3-2023.03 @@ -1,21 +1,21 @@ case "$(anaconda_architecture 2>/dev/null || true)" in "Linux-aarch64" ) - install_script "Anaconda3-2023.03-Linux-aarch64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-aarch64.sh#2EDA8F6D0FCEBDA3526487293C3CE4B0BCAF5464" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-Linux-aarch64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-aarch64.sh#613797154d9383355677f7dfee10db32b2c327cbedabddcb303598f242c79883" "anaconda" verify_py310 ;; "Linux-ppc64le" ) - install_script "Anaconda3-2023.03-Linux-ppc64le" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-ppc64le.sh#6FFEAE344D88925641BAE5F07D96A9829E49FC97" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-Linux-ppc64le" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-ppc64le.sh#eafeaccca96f60ebb0aa0052d9baac8eaa2ee422358ee35b12f60f37e8a3ebb2" "anaconda" verify_py310 ;; "Linux-s390x" ) - install_script "Anaconda3-2023.03-Linux-s390x" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-s390x.sh#6A89BAA462B8594B865DAF6A09FC4D268E5273FF" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-Linux-s390x" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-s390x.sh#2648337081c3ce4b760457c5f00fb768ecd7d1d0957051ef5252ab380bb78233" "anaconda" verify_py310 ;; "Linux-x86_64" ) - install_script "Anaconda3-2023.03-Linux-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-x86_64.sh#9B59B76805D5C95D0C9802E2FDB74253A3AF6D87" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-Linux-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-Linux-x86_64.sh#19737d5c27b23a1d8740c5cb2414bf6253184ce745d0a912bb235a212a15e075" "anaconda" verify_py310 ;; "MacOSX-arm64" ) - install_script "Anaconda3-2023.03-MacOSX-arm64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-arm64.sh#075F7B446BF85E6D9EC653F8BCB21978B3C62C4B" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-MacOSX-arm64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-arm64.sh#d27ee5432438972e90548e3dfa89490c5dc38a723f4dcd53061f0bd9d53b1bd0" "anaconda" verify_py310 ;; "MacOSX-x86_64" ) - install_script "Anaconda3-2023.03-MacOSX-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-x86_64.sh#88DD27921CE836F1E0805B2A3E2DACF706B92246" "anaconda" verify_py310 + install_script "Anaconda3-2023.03-MacOSX-x86_64" "https://repo.anaconda.com/archive/Anaconda3-2023.03-MacOSX-x86_64.sh#cc37b1eb85bdc2ade3f95201a746cdc63ee4fbfae48ee9d0c7a3cf319562452d" "anaconda" verify_py310 ;; * ) { echo