sbcl rebuild
[arch-packages.git] / python / repos / core-x86_64 / genrebuild
blob735710eeed0624591b3cfaa042015a3bf61130dc
1 #!/bin/bash
3 pyver=$(pacman -S --print-format %v python | grep -oP '^[0-9]+\.[0-9]+')
4 exclude=('python2' 'python2-.*' 'pypy3\?' 'cython2' 'cuda' 'cuda-tools'
5 'metasploit' 'dia' 'ghidra' 'kross-interpreters')
8 pacman -Fq /usr/lib/python${pyver}/ | grep -v archlinuxcn | cut -d / -f 2
9 pacman -Fxq "\.cpython-${pyver/.}.pyc$" | grep -v archlinuxcn | cut -d / -f 2
10 sogrep all libpython${pyver}.so
11 ssh build.archlinux.org "parallel \"zstdgrep -q 'Py_Initialize\|PyInit_\|PyModule_Create2' {} && pacman -Qpq {}\" ::: /srv/ftp/pool/*/*.zst"
12 } | grep -xvf <(printf "%s\n" "${exclude[@]}") | sort -u