Skip to content

Instantly share code, notes, and snippets.

View essandess's full-sized avatar

Steve Smith essandess

View GitHub Profile
@essandess
essandess / MacPorts Python Packages Upgrade.md
Last active March 30, 2021 10:38
Update MacPorts Python Packages

Install all packages from the previous version

export OLDV=38 NEWV=39
sudo -E port -pNc install "python${NEWV}" $(port -qv installed | egrep -e "^\s*py${OLDV}" | perl -ane 'chomp; $_ = $F[0]; s/py'${OLDV}'/py'${NEWV}'/; print $_, " ";')

port select changes