Update recipes to use python3 classes instead of deprecated python2 variants.
Signed-off-by: Andrey Zhizhikin <andre...@gmail.com> --- meta-python/recipes-connectivity/gateone/gateone_git.bb | 2 +- .../recipes-connectivity/telepathy/telepathy-python_0.15.19.bb | 2 +- meta-python/recipes-devtools/python-jsonref/python-jsonref.inc | 2 +- meta-python/recipes-devtools/python/pamela_0.3.0.bb | 2 +- meta-python/recipes-devtools/python/pyrtm_0.4.2.bb | 2 +- meta-python/recipes-devtools/python/python-yappi.inc | 2 +- .../python/python3-robotframework-seriallibrary_0.3.1.bb | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-connectivity/gateone/gateone_git.bb b/meta-python/recipes-connectivity/gateone/gateone_git.bb index 5d2ca00ef..37d356452 100644 --- a/meta-python/recipes-connectivity/gateone/gateone_git.bb +++ b/meta-python/recipes-connectivity/gateone/gateone_git.bb @@ -14,7 +14,7 @@ SRC_URI = "git://github.com/liftoff/GateOne.git;branch=master \ S = "${WORKDIR}/git" -inherit setuptools python-dir systemd update-rc.d +inherit setuptools3 python3-dir systemd update-rc.d DISTUTILS_INSTALL_ARGS += " \ --install-data=${PYTHON_SITEPACKAGES_DIR} \ diff --git a/meta-python/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb b/meta-python/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb index b7aea24a7..2e8da0805 100644 --- a/meta-python/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb +++ b/meta-python/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb @@ -14,7 +14,7 @@ SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz PR = "r6" -inherit autotools pythonnative +inherit autotools python3native SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017" SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376" diff --git a/meta-python/recipes-devtools/python-jsonref/python-jsonref.inc b/meta-python/recipes-devtools/python-jsonref/python-jsonref.inc index 0e69e4534..45deb09c7 100644 --- a/meta-python/recipes-devtools/python-jsonref/python-jsonref.inc +++ b/meta-python/recipes-devtools/python-jsonref/python-jsonref.inc @@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a34264f25338d41744dca1abfe4eb18f" SRC_URI[md5sum] = "42b518b9ccd6852d1d709749bc96cb70" SRC_URI[sha256sum] = "f3c45b121cf6257eafabdc3a8008763aed1cd7da06dbabc59a9e4d2a5e4e6697" -inherit pypi setuptools +inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/pamela_0.3.0.bb b/meta-python/recipes-devtools/python/pamela_0.3.0.bb index 030c22f8f..b6bee0ca2 100644 --- a/meta-python/recipes-devtools/python/pamela_0.3.0.bb +++ b/meta-python/recipes-devtools/python/pamela_0.3.0.bb @@ -7,7 +7,7 @@ SRC_URI[sha256sum] = "1e198446a6cdd87704aa0def7621d62e7c20b0e6068e2788b9a866a835 PYPI_PACKAGE = "pamela" -inherit pypi setuptools +inherit pypi setuptools3 RDEPENDS_${PN} = "libpam" diff --git a/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb b/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb index 9d851abe3..798daeb21 100644 --- a/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb +++ b/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb @@ -8,7 +8,7 @@ PYPI_PACKAGE_EXT = "tar.bz2" SRC_URI[md5sum] = "7c87da94656b620dfe532ca63d642eb8" SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14ee1d933" -inherit pypi setuptools +inherit pypi setuptools3 PACKAGES =+ "${PN}-tests ${PN}-samples" diff --git a/meta-python/recipes-devtools/python/python-yappi.inc b/meta-python/recipes-devtools/python/python-yappi.inc index 54d408742..b3718d7d1 100644 --- a/meta-python/recipes-devtools/python/python-yappi.inc +++ b/meta-python/recipes-devtools/python/python-yappi.inc @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8" SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8" SRC_URI[sha256sum] = "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf" -inherit pypi setuptools +inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ diff --git a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb index 440f69cbf..d82b7b96a 100644 --- a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb @@ -1,2 +1,2 @@ -inherit pypi setuptools +inherit pypi setuptools3 require python-robotframework-seriallibrary.inc -- 2.17.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel