blob: 039d1769e842fa5ac8697c743d9d10f84897d85b [file] [log] [blame]
Brad Bishop870eb532020-01-06 09:44:45 -05001DESCRIPTION = "A module to control Raspberry Pi GPIO channels"
2HOMEPAGE = "https://sourceforge.net/projects/raspberry-gpio-python/"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=9b95630a648966b142f1a0dcea001cb7"
6
7PYPI_PACKAGE = "RPi.GPIO"
Andrew Geissler9aee5002022-03-30 16:27:02 +00008
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00009inherit pypi setuptools3
Brad Bishop870eb532020-01-06 09:44:45 -050010
Andrew Geissler9aee5002022-03-30 16:27:02 +000011SRC_URI += "file://0001-Remove-nested-functions.patch \
12 file://0001-setup.py-Use-setuptools-instead-of-distutils.patch \
13 "
Brad Bishop870eb532020-01-06 09:44:45 -050014SRC_URI[sha256sum] = "7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f"
15
16COMPATIBLE_MACHINE = "^rpi$"
Andrew Geissler19b4e6c2020-09-18 13:33:52 -050017
18# ignore issues with -fno-common from gcc-10 until it's fixed in upstream:
19# https://sourceforge.net/p/raspberry-gpio-python/tickets/187/
20CFLAGS += "-fcommon"