From f400681a6722d581a8ef3eb0d70c482764d67b1d Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 15 Feb 2024 00:41:40 -0500 Subject: [PATCH 1/2] python3.11: fix virtual environment path in EXTERNALLY-MANAGED msg --- srcpkgs/python3.11/files/EXTERNALLY-MANAGED | 4 ++-- srcpkgs/python3.11/template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3.11/files/EXTERNALLY-MANAGED b/srcpkgs/python3.11/files/EXTERNALLY-MANAGED index 22743f8d51db5..9fc7da0973404 100644 --- a/srcpkgs/python3.11/files/EXTERNALLY-MANAGED +++ b/srcpkgs/python3.11/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.11/template b/srcpkgs/python3.11/template index d4c634c3f16df..78dc3b8ca838e 100644 --- a/srcpkgs/python3.11/template +++ b/srcpkgs/python3.11/template @@ -1,7 +1,7 @@ # Template file for 'python3.11' pkgname=python3.11 version=3.11.8 -revision=1 +revision=2 build_style="gnu-configure" configure_args="--enable-shared --enable-ipv6 --enable-optimizations --enable-loadable-sqlite-extensions --with-computed-gotos From b86936d598c3326a0b8a014a3278600aa274e823 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sat, 30 Dec 2023 20:57:35 +0100 Subject: [PATCH 2/2] 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 22743f8d51db5..9fc7da0973404 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 2540a1f8a160f..d3342dda925a8 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