Compare commits
2 commits
94956d1c36
...
71e7b74f75
Author | SHA1 | Date | |
---|---|---|---|
71e7b74f75 | |||
b5bcbf845e |
1 changed files with 17 additions and 8 deletions
25
py.cpypy.sh
25
py.cpypy.sh
|
@ -12,14 +12,23 @@ url="https://github.com\
|
||||||
|
|
||||||
rm --force --recursive "${root}"
|
rm --force --recursive "${root}"
|
||||||
mkdir --parents "${root}"
|
mkdir --parents "${root}"
|
||||||
wget --continue --output-document "${path}" "${url}"
|
wget --continue --output-document "${path}" "${url}" 2>/dev/null
|
||||||
|
echo
|
||||||
|
echo "${path}"
|
||||||
|
cat "${path}"
|
||||||
|
|
||||||
for url in $(jq -r ".. | objects | .url?" "${path}" |
|
for url in $(jq -r ".. | objects | .url?" "${path}" |
|
||||||
grep "\(cpython-3\.12\.6\|pypy3\.10\)"); do
|
grep --invert-match "\(armv7\|ppc64le\|s390x\)" |
|
||||||
file="$(basename "${url}" | sed "s|%2B|+|g")"
|
grep --invert-match "\(apple-darwin\|macos\|windows-msvc\)"); do
|
||||||
dir="$(dirname "${url}")"
|
case "$(basename "${url}")" in
|
||||||
date="$(basename "${dir}")"
|
cpython-3.12* | cpython-3.11* | cpython-3.10* | pypy3.10*)
|
||||||
path="${root}/${date}"
|
file="$(basename "${url}" | sed "s|%2B|+|g")"
|
||||||
mkdir --parents "${path}"
|
dir="$(dirname "${url}")"
|
||||||
wget --continue --output-document "${path}/${file}" "${url}"
|
date="$(basename "${dir}")"
|
||||||
|
path="${root}/${date}"
|
||||||
|
mkdir --parents "${path}"
|
||||||
|
wget --continue --output-document "${path}/${file}" "${url}"
|
||||||
|
;;
|
||||||
|
*) ;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue