]> code.ossystems Code Review - openembedded-core.git/commitdiff
python*-manifest.json: add dependencies, runpy
authorTim Orling <timothy.t.orling@linux.intel.com>
Sat, 25 Nov 2017 16:37:37 +0000 (08:37 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 20 Jan 2018 22:31:12 +0000 (22:31 +0000)
* runpy allows running modules/scripts with 'python -m foo'
  - create explicit python2 and 3 packages rather than the
    misc catchall
* python3-setuptools and html.parser RDEPENDS on _markupbase
  - add to python3-core rather than misc catchall
* pip3 RDEPENDS on plistlib, http.client
  - already packaged in python2, add to python3
  - add http/ to -netclient
* "pip3 install" RDEPENDS on encodingds.idna
  - encodings.idna packaged in -core, but missing:
    - stringprep (move from -codecs to -core)
    - unicodedata (move from -codecs to -core)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python/python2-manifest.json
meta/recipes-devtools/python/python3/python3-manifest.json

index 8ebc715fc10825947ae29a88bf750cd69c51ffe8..03d4bbde6ad1ab68bda8b8490ff11f0bfbb3cc94 100644 (file)
             "re",
             "resource",
             "robotparser",
+            "runpy",
             "shell",
             "smtpd",
             "sqlite3",
         ],
         "summary": "Python robots.txt parser"
     },
+    "runpy": {
+        "files": [
+            "${libdir}/python2.7/runpy.py"
+        ],
+        "rdepends": [
+            "core",
+            "pkgutil"
+        ],
+        "summary": "Python helper for locating/executing scripts in module namespace"
+    },
     "shell": {
         "files": [
             "${libdir}/python2.7/cmd.py",
         ],
         "summary": "Python zlib compression support"
     }
-}
\ No newline at end of file
+}
index 2d4c2ceb9fed2e67bc9e7b88c360c8277a975648..92d0d00945f91940f95894eade0c62926f68d4c3 100644 (file)
     },
     "codecs": {
         "cached": [
-            "${libdir}/python3.5/__pycache__/stringprep.*.pyc",
             "${libdir}/python3.5/__pycache__/xdrlib.*.pyc"
         ],
         "files": [
             "${libdir}/python3.5/lib-dynload/_multibytecodec.*.so",
-            "${libdir}/python3.5/lib-dynload/unicodedata.*.so",
-            "${libdir}/python3.5/stringprep.py",
             "${libdir}/python3.5/xdrlib.py"
         ],
         "rdepends": [
             "${libdir}/python3.5/__pycache__/__future__.*.pyc",
             "${libdir}/python3.5/__pycache__/_bootlocale.*.pyc",
             "${libdir}/python3.5/__pycache__/_collections_abc.*.pyc",
+            "${libdir}/python3.5/__pycache__/_markupbase.*.pyc",
             "${libdir}/python3.5/__pycache__/_sitebuiltins.*.pyc",
             "${libdir}/python3.5/__pycache__/_sysconfigdata.*.pyc",
             "${libdir}/python3.5/__pycache__/_weakrefset.*.pyc",
             "${libdir}/python3.5/__pycache__/sre_constants.*.pyc",
             "${libdir}/python3.5/__pycache__/sre_parse.*.pyc",
             "${libdir}/python3.5/__pycache__/stat.*.pyc",
+            "${libdir}/python3.5/__pycache__/stringprep.*.pyc",
             "${libdir}/python3.5/__pycache__/struct.*.pyc",
             "${libdir}/python3.5/__pycache__/subprocess.*.pyc",
             "${libdir}/python3.5/__pycache__/symbol.*.pyc",
             "${libdir}/python3.5/_abcoll.py",
             "${libdir}/python3.5/_bootlocale.py",
             "${libdir}/python3.5/_collections_abc.py",
+            "${libdir}/python3.5/_markupbase.py",
             "${libdir}/python3.5/_sitebuiltins.py",
             "${libdir}/python3.5/_sysconfigdata.py",
             "${libdir}/python3.5/_weakrefset.py",
             "${libdir}/python3.5/lib-dynload/readline.*.so",
             "${libdir}/python3.5/lib-dynload/select.*.so",
             "${libdir}/python3.5/lib-dynload/time.*.so",
+            "${libdir}/python3.5/lib-dynload/unicodedata.*.so",
             "${libdir}/python3.5/lib-dynload/xreadlines.*.so",
             "${libdir}/python3.5/linecache.py",
             "${libdir}/python3.5/locale.py",
             "${libdir}/python3.5/sre_constants.py",
             "${libdir}/python3.5/sre_parse.py",
             "${libdir}/python3.5/stat.py",
+            "${libdir}/python3.5/stringprep.py",
             "${libdir}/python3.5/struct.py",
             "${libdir}/python3.5/subprocess.py",
             "${libdir}/python3.5/symbol.py",
             "numbers",
             "pickle",
             "pkgutil",
+            "plistlib",
             "pprint",
             "profile",
             "pydoc",
             "resource",
+            "runpy",
             "shell",
             "smtpd",
             "sqlite3",
             "${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",
         ],
         "summary": "Python package extension utility support"
     },
+    "plistlib": {
+        "cached": [
+            "${libdir}/python3.5/__pycache__/plistlib.*.pyc"
+        ],
+        "files": [
+            "${libdir}/python3.5/plistlib.py"
+        ],
+        "rdepends": [
+            "core",
+            "datetime",
+            "xml"
+        ],
+        "summary": "Generate and parse Mac OS X .plist files"
+    },
     "pprint": {
         "cached": [
             "${libdir}/python3.5/__pycache__/pprint.*.pyc"
         ],
         "rdepends": [
             "core"
-       ], 
+        ],
         "summary": "Python pretty-print support"
     },
     "profile": {
         ],
         "summary": "Python resource control interface"
     },
+    "runpy": {
+        "cached": [
+            "${libdir}/python3.5/__pycache__/runpy.*.pyc"
+        ],
+        "files": [
+            "${libdir}/python3.5/runpy.py"
+        ],
+        "rdepends": [
+            "core",
+            "pkgutil"
+        ],
+        "summary": "Python helper for locating/executing scripts in module namespace"
+    },
     "shell": {
         "cached": [
             "${libdir}/python3.5/__pycache__/cmd.*.pyc",