diff mbox series

[3/3] python3: split out the Windows distutils installer stubs

Message ID 20190731174254.11340-3-ross.burton@intel.com
State Accepted
Commit 617331a42fc5bde0c2d8d0f4dd8df652daa28778
Headers show
Series [1/3] python3: remove empty python3-distutils-staticdev | expand

Commit Message

Ross Burton July 31, 2019, 5:42 p.m. UTC
Needing the Windows distutils installer stubs is quite a niche requirement, so
put them into a separate package and just recommend it.

This can save both space and legal pain, as the installers embed an old zlib
that has known CVEs.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 .../python/python3/python3-manifest.json            | 13 +++++++++++++
 1 file changed, 13 insertions(+)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index b179215838a..ec28c2dbb45 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -512,6 +512,16 @@ 
             "${libdir}/python${PYTHON_MAJMIN}/__pycache__/difflib.*.pyc"
         ]
     },
+    "distutils-windows": {
+        "cached": [],
+        "files": [
+            "${libdir}/python${PYTHON_MAJMIN}/distutils/command/wininst-*.exe"
+        ],
+        "rdepends": [
+            "distutils"
+        ],
+        "summary": "Python distribution utilities (Windows installer stubs)"
+    },
     "distutils": {
         "summary": "Python Distribution Utilities",
         "rdepends": [
@@ -789,6 +799,9 @@ 
             "xml",
             "xmlrpc"
         ],
+        "rrecommends": [
+            "distutils-windows"
+        ],
         "summary": "All Python modules"
     },
     "multiprocessing": {