diff --git a/recipes-devtools/python/rpi-gpio/0001-setup.py-Use-setuptools-instead-of-distutils.patch b/recipes-devtools/python/rpi-gpio/0001-setup.py-Use-setuptools-instead-of-distutils.patch deleted file mode 100644 index 33480b1..0000000 --- a/recipes-devtools/python/rpi-gpio/0001-setup.py-Use-setuptools-instead-of-distutils.patch +++ /dev/null @@ -1,28 +0,0 @@ -From df5657d772accb275a12c1b1690befa8d87305c8 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 5 Mar 2022 09:53:41 -0800 -Subject: [PATCH] setup.py: Use setuptools instead of distutils - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 2b600ca..0fa0807 100644 ---- a/setup.py -+++ b/setup.py -@@ -20,7 +20,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - """ - --from distutils.core import setup, Extension -+from setuptools import setup, Extension - - classifiers = ['Development Status :: 5 - Production/Stable', - 'Operating System :: POSIX :: Linux', --- -2.35.1 - diff --git a/recipes-devtools/python/rpi-gpio_0.7.0.bb b/recipes-devtools/python/rpi-gpio_0.7.0.bb deleted file mode 100644 index 039d176..0000000 --- a/recipes-devtools/python/rpi-gpio_0.7.0.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "A module to control Raspberry Pi GPIO channels" -HOMEPAGE = "https://sourceforge.net/projects/raspberry-gpio-python/" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=9b95630a648966b142f1a0dcea001cb7" - -PYPI_PACKAGE = "RPi.GPIO" - -inherit pypi setuptools3 - -SRC_URI += "file://0001-Remove-nested-functions.patch \ - file://0001-setup.py-Use-setuptools-instead-of-distutils.patch \ - " -SRC_URI[sha256sum] = "7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f" - -COMPATIBLE_MACHINE = "^rpi$" - -# ignore issues with -fno-common from gcc-10 until it's fixed in upstream: -# https://sourceforge.net/p/raspberry-gpio-python/tickets/187/ -CFLAGS += "-fcommon" diff --git a/recipes-devtools/python/rpi-gpio_0.7.1.bb b/recipes-devtools/python/rpi-gpio_0.7.1.bb new file mode 100644 index 0000000..e7a9950 --- /dev/null +++ b/recipes-devtools/python/rpi-gpio_0.7.1.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "A module to control Raspberry Pi GPIO channels" +HOMEPAGE = "https://sourceforge.net/projects/raspberry-gpio-python/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=a2294b0b1daabc30dfb5b3de73b2e00a" + +PYPI_PACKAGE = "RPi.GPIO" + +inherit pypi setuptools3 + +SRC_URI += "file://0001-Remove-nested-functions.patch \ + " +SRC_URI[sha256sum] = "cd61c4b03c37b62bba4a5acfea9862749c33c618e0295e7e90aa4713fb373b70" + +COMPATIBLE_MACHINE = "^rpi$"