Skip to content

Commit

Permalink
update INSTALL.rst about NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 14, 2024
1 parent 0a71d0e commit 7259afe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ OpenBSD

::

export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/`uname -r`/packages/`uname -m`/
export PKG_PATH=https://cdn.openbsd.org/pub/OpenBSD/`uname -r`/packages/`uname -m`/
pkg_add -v python3 gcc
pip install psutil

Expand All @@ -93,7 +93,7 @@ Assuming Python 3.11 (the most recent at the time of writing):

::

export PKG_PATH="http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/`uname -m`/`uname -r`/All"
export PKG_PATH="https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/`uname -m`/`uname -r`/All"
pkg_add -v pkgin
pkgin install python311-* gcc12-* py311-setuptools-* py311-pip-*
python3.11 -m pip install psutil
Expand Down
3 changes: 2 additions & 1 deletion scripts/internal/install-sysdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ main() {
$SUDO pkgin update
$SUDO pkgin -y install python311-* gcc12-*
elif [ $OPENBSD ]; then
$SUDO pkg_add gcc python3
export PKG_PATH=https://cdn.openbsd.org/pub/OpenBSD/`uname -r`/packages/`uname -m`/
$SUDO -E bash -c "pkg_add -v python3 gcc"
else
echo "Unsupported platform: $UNAME_S"
fi
Expand Down

0 comments on commit 7259afe

Please sign in to comment.