[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH v3] python3: Add python3-venv package
From: Hugues Kamba <Hugues.Kamba () arm ! com>
Date: 2018-10-31 11:29:20
Message-ID: 20181031112912.36661-1-hugues.kamba () arm ! com
[Download RAW message or body]
Package both the venv module and the pyvenv binaries into the
python3-venv package.
Add python3-pyvenv RPROVIDES to python3-venv for backward compatibility.
Signed-off-by: Hugues Kamba <hugues.kamba@arm.com>
---
.../python/python3/python3-manifest.json | 16 ++++++++++++++++
meta/recipes-devtools/python/python3_3.5.6.bb | 4 ++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json \
b/meta/recipes-devtools/python/python3/python3-manifest.json index \
f922561368..ef7fa4ecaf 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -1107,6 +1107,22 @@
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/getpass.*.pyc"
]
},
+ "venv": {
+ "summary": "Provides support for creating lightweight virtual environments \
with their own site directories, optionally isolated from system site directories.", \
+ "rdepends": [ + "compression",
+ "core",
+ "logging",
+ "shell",
+ "stringold",
+ "unixadmin"
+ ],
+ "files": [
+ "${libdir}/python${PYTHON_MAJMIN}/venv",
+ "${bindir}/pyvenv*"
+ ],
+ "cached": []
+ },
"xml": {
"summary": "Python basic XML support",
"rdepends": [
diff --git a/meta/recipes-devtools/python/python3_3.5.6.bb \
b/meta/recipes-devtools/python/python3_3.5.6.bb index 2a4547694a..31f8eada11 100644
--- a/meta/recipes-devtools/python/python3_3.5.6.bb
+++ b/meta/recipes-devtools/python/python3_3.5.6.bb
@@ -226,8 +226,8 @@ FILES_${PN}-2to3 += "${bindir}/2to3-${PYTHON_MAJMIN}"
FILES_${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3"
FILES_${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}"
-PACKAGES =+ "${PN}-pyvenv"
-FILES_${PN}-pyvenv += "${bindir}/pyvenv-${PYTHON_MAJMIN} ${bindir}/pyvenv"
+# provide python-pyvenv from python3-venv
+RPROVIDES_${PN}-venv += "${PN}-pyvenv"
# package libpython3
PACKAGES =+ "libpython3 libpython3-staticdev"
--
2.18.0
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and \
may also be privileged. If you are not the intended recipient, please notify the \
sender immediately and do not disclose the contents to any other person, use it for \
any purpose, or store or copy the information in any medium. Thank \
you.
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic