]> code.ossystems Code Review - openembedded-core.git/commitdiff
python-3.5: Fix manifest to handle reprlib correctly rocko
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Nov 2018 10:34:49 +0000 (10:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Nov 2018 21:42:54 +0000 (21:42 +0000)
The current line is looking for py files in __pycache__ which is incorrect.
Fix it to correctly include the right files (modelled after ${PN}-signal).

Patch isn't relavent to later releases since manifest generation changed
significantly.

[YOCTO #12831]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-3.5-manifest.inc
scripts/contrib/python/generate-manifest-3.5.py

index 0260e87e75f0f791f5b1394a154fec83fcbeb0ef..710b22eaa38b26ead7099c056a9f28c40a50f750 100644 (file)
@@ -194,7 +194,7 @@ FILES_${PN}-readline="${libdir}/python3.5/lib-dynload/readline.*.so ${libdir}/py
 
 SUMMARY_${PN}-reprlib="Python alternate repr() implementation"
 RDEPENDS_${PN}-reprlib="${PN}-core"
-FILES_${PN}-reprlib="${libdir}/python3.5/reprlib.py ${libdir}/python3.5/__pycache__/reprlib.py "
+FILES_${PN}-reprlib="${libdir}/python3.5/reprlib.* ${libdir}/python3.5/__pycache__/reprlib.* "
 
 SUMMARY_${PN}-resource="Python resource control interface"
 RDEPENDS_${PN}-resource="${PN}-core"
index 6352f8f12070db6cc1dc9a4fc650579bc346e0d2..750d4fc7548ea2c52be2ff56a732ff06607d5a95 100755 (executable)
@@ -371,7 +371,7 @@ if __name__ == "__main__":
     "lib-dynload/readline.*.so rlcompleter.*" )
 
     m.addPackage( "${PN}-reprlib", "Python alternate repr() implementation", "${PN}-core",
-    "reprlib.py" )
+    "reprlib.*" )
 
     m.addPackage( "${PN}-resource", "Python resource control interface", "${PN}-core",
     "lib-dynload/resource.*.so" )