From b1e61636a2324e6e4b0bfc6e9a8c0fd78fdba40a Mon Sep 17 00:00:00 2001 From: Hugues Kamba Date: Mon, 22 Oct 2018 11:40:59 +0100 Subject: [PATCH] Create python3-venv package for virtual environments creation * Add the venv module as a self-contained package since pyvenv as been deprecated in Python 3.6. * Fix the python3-pyvenv package by adding venv as a run-time dependency. --- .../python/python3/python3-manifest.json | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index f922561..5cf6412 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -915,6 +915,17 @@ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/pydoc.*.pyc" ] }, + "pyvenv": { + "summary": "Allow you to create virtual environments so we can isolate our project dependencies. Deprecated in Python 3.6", + "rdepends": [ + "core", + "venv" + ], + "files": [ + "${bindir}/pyvenv*" + ], + "cached": [] + }, "resource": { "summary": "Python resource control interface", "rdepends": [ @@ -1107,6 +1118,21 @@ "${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" + ], + "cached": [] + }, "xml": { "summary": "Python basic XML support", "rdepends": [ -- 2.7.4