From 8325a4802c6a4978c6e01adef50e8a1496b2d0e8 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sat, 30 Dec 2023 20:57:35 +0100 Subject: [PATCH] python3: fix path virtual environment message --- srcpkgs/python3.11/files/EXTERNALLY-MANAGED | 4 ++-- srcpkgs/python3.11/template | 2 +- srcpkgs/python3/files/EXTERNALLY-MANAGED | 4 ++-- srcpkgs/python3/template | 2 +- 4 files changed, 6 insertions(+), 6 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 2431cdb682b67..f313e5405b160 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.7 -revision=2 +revision=3 build_style="gnu-configure" configure_args="--enable-shared --enable-ipv6 --enable-optimizations --enable-loadable-sqlite-extensions --with-computed-gotos 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 2efbba95f9afa..16056a34c0d2c 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -4,7 +4,7 @@ # pkgname=python3 version=3.12.1 -revision=4 +revision=5 build_style="gnu-configure" configure_args="--enable-shared --enable-ipv6 --enable-optimizations --enable-loadable-sqlite-extensions --with-computed-gotos