[oe-commits] [openembedded-core] 07/08: Revert "python3: fix create_manifest to handle pycache folders"

git at git.openembedded.org git at git.openembedded.org
Fri Apr 6 10:00:58 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch sumo-next
in repository openembedded-core.

commit 6003364785bd82ada3b4d9804cc5a3c7ff0cdb98
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Apr 6 10:44:20 2018 +0100

    Revert "python3: fix create_manifest to handle pycache folders"
    
    Alejandro asked this be reverted as the patch causes more problems
    than it solves.
    
    This reverts commit 5d288d286e0adb221649d896c132a607ecddc490.
---
 .../python/python3/create_manifest3.py               |  5 +----
 .../python/python3/python3-manifest.json             | 20 +++++++++-----------
 2 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/meta/recipes-devtools/python/python3/create_manifest3.py b/meta/recipes-devtools/python/python3/create_manifest3.py
index 44f3454..2f944f9 100644
--- a/meta/recipes-devtools/python/python3/create_manifest3.py
+++ b/meta/recipes-devtools/python/python3/create_manifest3.py
@@ -189,10 +189,7 @@ for key in old_manifest:
         # Ignore folders, since we don't import those, difficult to handle multilib
         if isFolder(value):
             # Pass folders directly
-            if isCached(value):
-                new_manifest[key]['cached'].append(value)
-            else:
-                new_manifest[key]['files'].append(value)
+            new_manifest[key]['files'].append(value)
         # Ignore binaries, since we don't import those
         if '${bindir}' in value:
             # Pass it directly to the new manifest data structure
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 26fa613..2491f36 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -736,21 +736,21 @@
             "${libdir}/python3.5/__pycache__/poplib.*.pyc",
             "${libdir}/python3.5/__pycache__/smtplib.*.pyc",
             "${libdir}/python3.5/__pycache__/telnetlib.*.pyc",
-            "${libdir}/python3.5/__pycache__/uuid.*.pyc",
-            "${libdir}/python3.5/http/__pycache__",
-            "${libdir}/python3.5/urllib/__pycache__"
+            "${libdir}/python3.5/__pycache__/uuid.*.pyc"
         ],
         "files": [
             "${libdir}/python3.5/base64.py",
             "${libdir}/python3.5/ftplib.py",
             "${libdir}/python3.5/hmac.py",
             "${libdir}/python3.5/http",
+            "${libdir}/python3.5/http/__pycache__",
             "${libdir}/python3.5/mimetypes.py",
             "${libdir}/python3.5/nntplib.py",
             "${libdir}/python3.5/poplib.py",
             "${libdir}/python3.5/smtplib.py",
             "${libdir}/python3.5/telnetlib.py",
             "${libdir}/python3.5/urllib",
+            "${libdir}/python3.5/urllib/__pycache__",
             "${libdir}/python3.5/uuid.py"
         ],
         "rdepends": [
@@ -1091,12 +1091,11 @@
         "summary": "Python typing support"
     },
     "unittest": {
-        "cached": [
-            "${libdir}/python3.5/unittest/__pycache__"
-        ],
+        "cached": [],
         "files": [
             "${libdir}/python3.5/unittest",
-            "${libdir}/python3.5/unittest/"
+            "${libdir}/python3.5/unittest/",
+            "${libdir}/python3.5/unittest/__pycache__"
         ],
         "rdepends": [
             "core",
@@ -1136,11 +1135,10 @@
         "summary": "Python basic XML support"
     },
     "xmlrpc": {
-        "cached": [
-            "${libdir}/python3.5/xmlrpc/__pycache__"
-        ],
+        "cached": [],
         "files": [
-            "${libdir}/python3.5/xmlrpc"
+            "${libdir}/python3.5/xmlrpc",
+            "${libdir}/python3.5/xmlrpc/__pycache__"
         ],
         "rdepends": [
             "core",

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list