From df5dd494180779864b26bfb198d7ff9addc7290b Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sat, 30 Dec 2023 20:57:35 +0100 Subject: [PATCH] python3: fix virtual environment path in EXTERNALLY-MANAGED msg --- srcpkgs/python3/files/EXTERNALLY-MANAGED | 4 ++-- srcpkgs/python3/template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3/files/EXTERNALLY-MANAGED b/srcpkgs/python3/files/EXTERNALLY-MANAGED index 22743f8d51d..9fc7da09734 100644 --- a/srcpkgs/python3/files/EXTERNALLY-MANAGED +++ b/srcpkgs/python3/files/EXTERNALLY-MANAGED @@ -8,7 +8,7 @@ Error= environment, e.g.: python3 -m venv /path/to/venv - /path/to/venv/pip install + /path/to/venv/bin/pip install Appending the flag --system-site-packages to the first command will give the virtual environment access to any Python package installed via XBPS. @@ -17,7 +17,7 @@ Error= should automatically use the virtual environment. Alternatively, source its activation script to add the environment to the command search path for a shell: - . /path/to/venv/activate + . /path/to/venv/bin/activate After activation, running diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index 2540a1f8a16..d3342dda925 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -4,7 +4,7 @@ # pkgname=python3 version=3.12.2 -revision=1 +revision=2 build_style="gnu-configure" configure_args="--enable-shared --enable-ipv6 --enable-optimizations --enable-loadable-sqlite-extensions --with-computed-gotos