From be0e3df5cfb3af0e96068406bba979f3997f1212 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 10 Aug 2019 10:17:15 -0700 Subject: [PATCH] python-rtimu,python-sense-hat: Convert to py3 modules py2 is on its way out from oe-core Signed-off-by: Khem Raj --- recipes-core/packagegroups/packagegroup-rpi-test.bb | 4 ++-- .../0001-include-asm-ioctl.h-for-ioctl-define.patch | 0 .../python/{python-rtimu_git.bb => python3-rtimu_git.bb} | 2 +- ...thon-sense-hat_2.2.0.bb => python3-sense-hat_2.2.0.bb} | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) rename recipes-devtools/python/{python-rtimu => python3-rtimu}/0001-include-asm-ioctl.h-for-ioctl-define.patch (100%) rename recipes-devtools/python/{python-rtimu_git.bb => python3-rtimu_git.bb} (96%) rename recipes-devtools/python/{python-sense-hat_2.2.0.bb => python3-sense-hat_2.2.0.bb} (83%) diff --git a/recipes-core/packagegroups/packagegroup-rpi-test.bb b/recipes-core/packagegroups/packagegroup-rpi-test.bb index 654416f..57400b1 100644 --- a/recipes-core/packagegroups/packagegroup-rpi-test.bb +++ b/recipes-core/packagegroups/packagegroup-rpi-test.bb @@ -15,8 +15,8 @@ RDEPENDS_${PN} = "\ rpio \ rpi-gpio \ pi-blaster \ - python-rtimu \ - python-sense-hat \ + python3-rtimu \ + python3-sense-hat \ connman \ connman-client \ wireless-regdb \ diff --git a/recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch b/recipes-devtools/python/python3-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch similarity index 100% rename from recipes-devtools/python/python-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch rename to recipes-devtools/python/python3-rtimu/0001-include-asm-ioctl.h-for-ioctl-define.patch diff --git a/recipes-devtools/python/python-rtimu_git.bb b/recipes-devtools/python/python3-rtimu_git.bb similarity index 96% rename from recipes-devtools/python/python-rtimu_git.bb rename to recipes-devtools/python/python3-rtimu_git.bb index 63c92b3..c0cb311 100644 --- a/recipes-devtools/python/python-rtimu_git.bb +++ b/recipes-devtools/python/python3-rtimu_git.bb @@ -12,4 +12,4 @@ SRCREV = "b949681af69b45f0f7f4bb53b6770037b5b02178" S = "${WORKDIR}/git/Linux/python/" -inherit setuptools +inherit setuptools3 diff --git a/recipes-devtools/python/python-sense-hat_2.2.0.bb b/recipes-devtools/python/python3-sense-hat_2.2.0.bb similarity index 83% rename from recipes-devtools/python/python-sense-hat_2.2.0.bb rename to recipes-devtools/python/python3-sense-hat_2.2.0.bb index f7c4e34..5ea0014 100644 --- a/recipes-devtools/python/python-sense-hat_2.2.0.bb +++ b/recipes-devtools/python/python3-sense-hat_2.2.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=d80fe312e1ff5fbd97369b093bf21cda" -inherit setuptools pypi +inherit setuptools3 pypi PYPI_PACKAGE = "sense-hat" @@ -18,7 +18,7 @@ DEPENDS += " \ " RDEPENDS_${PN} += " \ - python-numpy \ - python-rtimu \ - python-imaging \ + ${PYTHON_PN}-numpy \ + ${PYTHON_PN}-rtimu \ + ${PYTHON_PN}-imaging \ "