commit:     c4f1c9917bbdce3a08fe5fe0e666315951fd9b64
Author:     Oskari Pirhonen <xxc3ncoredxx <AT> gmail <DOT> com>
AuthorDate: Mon Jan 30 02:35:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 17:25:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f1c991

dev-python/gentoo-common: add 1, drop 0

Add info on exiting and re-entering the venv.

Signed-off-by: Oskari Pirhonen <xxc3ncoredxx <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29336
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{gentoo-common-0.ebuild => gentoo-common-1.ebuild}             | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/gentoo-common/gentoo-common-0.ebuild 
b/dev-python/gentoo-common/gentoo-common-1.ebuild
similarity index 84%
rename from dev-python/gentoo-common/gentoo-common-0.ebuild
rename to dev-python/gentoo-common/gentoo-common-1.ebuild
index 58e23e58f72d..c09fd9e6d2b8 100644
--- a/dev-python/gentoo-common/gentoo-common-0.ebuild
+++ b/dev-python/gentoo-common/gentoo-common-1.ebuild
@@ -26,5 +26,12 @@ src_install() {
                   python -m venv /path/to/venv
                   . /path/to/venv/bin/activate
                   pip install mypackage
+
+                To exit the virtual environment, run:
+
+                  deactivate
+
+                The virtual environment is not deleted, and can be re-entered 
by
+                re-sourcing the activate file.
        EOF
 }

Reply via email to