浏览代码

rpi-gpio: Bump to 0.7.1

Workaround not needed anymore as a fix was included from 0.7.1a[1].

[1] https://sourceforge.net/p/raspberry-gpio-python/tickets/187/#52f3

Also, this drops a patch merged upstream.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Andrei Gherzan 3 年之前
父节点
当前提交
356c0afee9

+ 0 - 28
recipes-devtools/python/rpi-gpio/0001-setup.py-Use-setuptools-instead-of-distutils.patch

@@ -1,28 +0,0 @@
-From df5657d772accb275a12c1b1690befa8d87305c8 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-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 <raj.khem@gmail.com>
----
- 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
-

+ 0 - 20
recipes-devtools/python/rpi-gpio_0.7.0.bb

@@ -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"

+ 15 - 0
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$"