Some checks are pending
macos_build / macos_build (3.10) (push) Waiting to run
macos_build / macos_build (3.11) (push) Waiting to run
macos_build / macos_build (3.12) (push) Waiting to run
macos_build / macos_build (3.13) (push) Waiting to run
macos_build / macos_build (3.14) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-14) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-15) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-15-intel) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-26) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-22.04) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-24.04) (push) Waiting to run
ubuntu_build / ubuntu_build (3.10) (push) Waiting to run
ubuntu_build / ubuntu_build (3.11) (push) Waiting to run
ubuntu_build / ubuntu_build (3.12) (push) Waiting to run
ubuntu_build / ubuntu_build (3.13) (push) Waiting to run
ubuntu_build / ubuntu_build (3.14) (push) Waiting to run
11 lines
382 B
Bash
Executable File
11 lines
382 B
Bash
Executable File
#!/bin/bash
|
|
|
|
declare -a packages rdepends
|
|
packages=("$@")
|
|
|
|
# have to try one by one, otherwise `brew uses` would only print
|
|
# packages that require them all rather than any of them
|
|
for package in "${packages[@]}"; do
|
|
rdepends+=($(brew uses --installed --include-build --include-test --include-optional --recursive "$package"))
|
|
done
|
|
brew uninstall "${packages[@]}" "${rdepends[@]}" |