From 2b74b654159c81e6663edee52d63fef02a4ca40f Mon Sep 17 00:00:00 2001 From: tkl Date: Wed, 8 Dec 2021 19:51:43 +0100 Subject: [PATCH] meta-devtools: Rename python3 packages --- recipes-app/greenhouse/greenhouse.bb | 4 ++-- recipes-app/yardlight/yardlight.bb | 2 +- recipes-core/images/console-dev-image.bb | 4 ++-- recipes-core/images/console-image-base.inc | 4 +--- .../rpi.gpio_0.7.0.bb => python/python3-rpi.gpio_0.7.0.bb} | 0 .../python3-w1thermsensor_2.0.0.bb} | 2 -- 6 files changed, 6 insertions(+), 10 deletions(-) rename recipes-devtools/{rpi.gpio/rpi.gpio_0.7.0.bb => python/python3-rpi.gpio_0.7.0.bb} (100%) rename recipes-devtools/{w1thermsensor/w1thermsensor_2.0.0.bb => python/python3-w1thermsensor_2.0.0.bb} (91%) diff --git a/recipes-app/greenhouse/greenhouse.bb b/recipes-app/greenhouse/greenhouse.bb index 29f0d7b..34c849c 100644 --- a/recipes-app/greenhouse/greenhouse.bb +++ b/recipes-app/greenhouse/greenhouse.bb @@ -24,8 +24,8 @@ RDEPENDS_${PN} += " \ python3 \ python3-gunicorn \ python3-flask \ - rpi.gpio \ - w1thermsensor \ + python3-rpi.gpio \ + python3-w1thermsensor \ " FILES_${PN} = " \ diff --git a/recipes-app/yardlight/yardlight.bb b/recipes-app/yardlight/yardlight.bb index 115fb26..03f0682 100644 --- a/recipes-app/yardlight/yardlight.bb +++ b/recipes-app/yardlight/yardlight.bb @@ -24,7 +24,7 @@ RDEPENDS_${PN} += "\ python3 \ python3-gunicorn \ python3-flask \ - rpi.gpio \ + python3-rpi.gpio \ " FILES_${PN} = " \ diff --git a/recipes-core/images/console-dev-image.bb b/recipes-core/images/console-dev-image.bb index feeff04..a298ec9 100644 --- a/recipes-core/images/console-dev-image.bb +++ b/recipes-core/images/console-dev-image.bb @@ -7,8 +7,8 @@ require console-image-base.inc DEV_SDK_INSTALL += " \ git \ make \ - python-pip \ - python-dev \ + python3-pip \ + python3-dev \ bash \ packagegroup-core-buildessential \ " diff --git a/recipes-core/images/console-image-base.inc b/recipes-core/images/console-image-base.inc index 4de1383..50550b8 100644 --- a/recipes-core/images/console-image-base.inc +++ b/recipes-core/images/console-image-base.inc @@ -29,7 +29,7 @@ DEV_SDK_INSTALL = " \ file \ perl-modules \ pkgconfig \ - python-modules \ + python3-modules \ " EXTRA_TOOLS_INSTALL = " \ @@ -42,7 +42,6 @@ EXTRA_TOOLS_INSTALL = " \ findutils \ i2c-tools \ less \ - mc \ procps \ rsync \ sysfsutils \ @@ -57,7 +56,6 @@ EXTRA_TOOLS_INSTALL = " \ " MQTT = " \ - python-paho-mqtt \ " PYTHON_LIBS = " \ diff --git a/recipes-devtools/rpi.gpio/rpi.gpio_0.7.0.bb b/recipes-devtools/python/python3-rpi.gpio_0.7.0.bb similarity index 100% rename from recipes-devtools/rpi.gpio/rpi.gpio_0.7.0.bb rename to recipes-devtools/python/python3-rpi.gpio_0.7.0.bb diff --git a/recipes-devtools/w1thermsensor/w1thermsensor_2.0.0.bb b/recipes-devtools/python/python3-w1thermsensor_2.0.0.bb similarity index 91% rename from recipes-devtools/w1thermsensor/w1thermsensor_2.0.0.bb rename to recipes-devtools/python/python3-w1thermsensor_2.0.0.bb index abd4140..126d7fa 100644 --- a/recipes-devtools/w1thermsensor/w1thermsensor_2.0.0.bb +++ b/recipes-devtools/python/python3-w1thermsensor_2.0.0.bb @@ -11,8 +11,6 @@ inherit pypi setuptools3 PYPI_PACKAGE = "w1thermsensor" -# TARGET_CFLAGS += "-fcommon" - RDEPENDS_${PN} = " \ python3 \ "