[OE-core] [PATCH] python3: add a tr-tr locale for test_locale ptest

Khem Raj raj.khem at gmail.com
Fri Apr 12 02:12:37 UTC 2019


On Thu, Apr 11, 2019 at 9:00 AM Alexander Kanavin <alex.kanavin at gmail.com>
wrote:

> With this change, the ptests do not fail anymore,
> except for the three failures caused by the 5.0 kernel regression:
>
> - test_ssl and test_httplib lock up, and are skipped
> (there is a separate patch for it)
>
> - test_asyncio fails but does not lock up
>
> Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
> ---
>  meta/recipes-devtools/python/python3_3.7.2.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/python/python3_3.7.2.bb
> b/meta/recipes-devtools/python/python3_3.7.2.bb
> index 28f128d488b..71a6c103166 100644
> --- a/meta/recipes-devtools/python/python3_3.7.2.bb
> +++ b/meta/recipes-devtools/python/python3_3.7.2.bb
> @@ -284,7 +284,7 @@ FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}
> ${libdir}/python${PYTHON_MA
>  PACKAGES += "${PN}-man"
>  FILES_${PN}-man = "${datadir}/man"
>
> -RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc
> tzdata-europe coreutils sed"
> +RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc
> tzdata-europe coreutils sed locale-base-tr-tr.iso-8859-9"


While this is a test package i must mention that locale packaged are
specific to Glibc so it would be better to append it with libc override

>
>  RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk',
> 'tk', '', d)}"
>  RDEPENDS_${PN}-dev = ""
>
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190411/88b0434f/attachment.html>


More information about the Openembedded-core mailing list