From 71e7b74f75ad301eaecb283ac68587a8580115f4 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 29 Sep 2024 15:42:16 +0200 Subject: [PATCH] filter --- py.cpypy.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/py.cpypy.sh b/py.cpypy.sh index 6d7f5bf..91c701a 100755 --- a/py.cpypy.sh +++ b/py.cpypy.sh @@ -17,12 +17,11 @@ echo echo "${path}" cat "${path}" -for url in $(jq -r ".. | objects | .url?" "${path}"); do +for url in $(jq -r ".. | objects | .url?" "${path}" | + grep --invert-match "\(armv7\|ppc64le\|s390x\)" | + grep --invert-match "\(apple-darwin\|macos\|windows-msvc\)"); do case "$(basename "${url}")" in - cpython-3.12* | - cpython-3.11* | - cpython-3.10* | - pypy3.10*) + cpython-3.12* | cpython-3.11* | cpython-3.10* | pypy3.10*) file="$(basename "${url}" | sed "s|%2B|+|g")" dir="$(dirname "${url}")" date="$(basename "${dir}")"