From b83e6ae129849046876a835a41f342c6be5f380e Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 15 Feb 2024 00:41:40 -0500 Subject: [PATCH] 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 22743f8d51d..9fc7da09734 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 d4c634c3f16..78dc3b8ca83 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