1 |
commit: c4f1c9917bbdce3a08fe5fe0e666315951fd9b64 |
2 |
Author: Oskari Pirhonen <xxc3ncoredxx <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jan 30 02:35:52 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 17:25:10 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f1c991 |
7 |
|
8 |
dev-python/gentoo-common: add 1, drop 0 |
9 |
|
10 |
Add info on exiting and re-entering the venv. |
11 |
|
12 |
Signed-off-by: Oskari Pirhonen <xxc3ncoredxx <AT> gmail.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/29336 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
.../{gentoo-common-0.ebuild => gentoo-common-1.ebuild} | 7 +++++++ |
17 |
1 file changed, 7 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/gentoo-common/gentoo-common-0.ebuild b/dev-python/gentoo-common/gentoo-common-1.ebuild |
20 |
similarity index 84% |
21 |
rename from dev-python/gentoo-common/gentoo-common-0.ebuild |
22 |
rename to dev-python/gentoo-common/gentoo-common-1.ebuild |
23 |
index 58e23e58f72d..c09fd9e6d2b8 100644 |
24 |
--- a/dev-python/gentoo-common/gentoo-common-0.ebuild |
25 |
+++ b/dev-python/gentoo-common/gentoo-common-1.ebuild |
26 |
@@ -26,5 +26,12 @@ src_install() { |
27 |
python -m venv /path/to/venv |
28 |
. /path/to/venv/bin/activate |
29 |
pip install mypackage |
30 |
+ |
31 |
+ To exit the virtual environment, run: |
32 |
+ |
33 |
+ deactivate |
34 |
+ |
35 |
+ The virtual environment is not deleted, and can be re-entered by |
36 |
+ re-sourcing the activate file. |
37 |
EOF |
38 |
} |