[OE-core] [PATCH] [rocko] python-3.5: Fix manifest to handle reprlib correctly
akuster808
akuster808 at gmail.com
Tue Nov 13 16:25:58 UTC 2018
On 11/13/18 2:34 AM, Richard Purdie wrote:
> 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 at linuxfoundation.org>
in rocko-nmut
thanks,
Armin
> ---
> meta/recipes-devtools/python/python-3.5-manifest.inc | 2 +-
> scripts/contrib/python/generate-manifest-3.5.py | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/python/python-3.5-manifest.inc b/meta/recipes-devtools/python/python-3.5-manifest.inc
> index 0260e87e75f..710b22eaa38 100644
> --- a/meta/recipes-devtools/python/python-3.5-manifest.inc
> +++ b/meta/recipes-devtools/python/python-3.5-manifest.inc
> @@ -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"
> diff --git a/scripts/contrib/python/generate-manifest-3.5.py b/scripts/contrib/python/generate-manifest-3.5.py
> index 6352f8f1207..750d4fc7548 100755
> --- a/scripts/contrib/python/generate-manifest-3.5.py
> +++ b/scripts/contrib/python/generate-manifest-3.5.py
> @@ -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" )
More information about the Openembedded-core
mailing list