[oe] [PATCH 4/5] meta-oe: Remove using python2
Andreas Oberritter
obi at opendreambox.org
Mon Jan 20 13:20:25 UTC 2020
Hi Khem,
On Sun, 19 Jan 2020 16:35:26 -0800
Khem Raj <raj.khem at gmail.com> wrote:
> diff --git a/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb b/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb
> index d00d1e2a08..ab657e6f08 100644
> --- a/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb
> +++ b/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb
> @@ -4,7 +4,7 @@ SECTION = "devel/python"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d"
>
> -inherit setuptools pypi
> +inherit setuptools3 pypi
> SRC_URI[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd"
> SRC_URI[sha256sum] = "b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b"
>
You added python3-jsmin in patch 1/5, so you'd better just remove python-jsmin.
> diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb
> index 0cbd07f666..af95e327c4 100644
> --- a/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb
> +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb
> @@ -5,9 +5,9 @@ LICENSE = "LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
>
> GNOMEBASEBUILDCLASS = "meson"
> -inherit gnomebase gobject-introspection distutils-base upstream-version-is-even
> +inherit gnomebase gobject-introspection distutils3-base upstream-version-is-even
>
> -DEPENDS += "python glib-2.0"
> +DEPENDS += "python3 glib-2.0"
>
> SRCNAME = "pygobject"
> SRC_URI = " \
Rename to python3-pygobject?
> diff --git a/meta-oe/recipes-devtools/python/python-which_1.1.0.bb b/meta-oe/recipes-devtools/python/python-which_1.1.0.bb
> index 901fdc7637..67488acd33 100644
> --- a/meta-oe/recipes-devtools/python/python-which_1.1.0.bb
> +++ b/meta-oe/recipes-devtools/python/python-which_1.1.0.bb
> @@ -4,7 +4,7 @@ SECTION = "devel/python"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=030b09798681482b9ad12ac47be496ea"
>
> -inherit setuptools pypi python-dir
> +inherit setuptools3 pypi python3-dir
>
> SRCREV = "425bdeeb2d87c36e2313dc4b8d69ff2bb5a02ee9"
> PYPI_SRC_URI = "git://github.com/trentm/which"
python3-which?
Best regards,
Andreas
More information about the Openembedded-devel
mailing list