2014-11-28 09:21:58 +01:00
|
|
|
DESCRIPTION = "A module to control Allwinner GPIO,SPI and I2C channels"
|
|
|
|
HOMEPAGE = "https://pypi.python.org/pypi/pyA20"
|
|
|
|
SECTION = "devel/python"
|
2022-09-09 13:59:47 +02:00
|
|
|
LICENSE = "GPL-3.0-only"
|
2020-01-29 23:30:51 +01:00
|
|
|
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=4e584373bb0f46ef1e423cb7df37847d"
|
|
|
|
DEPENDS = "python3"
|
2014-11-28 17:37:05 +01:00
|
|
|
|
|
|
|
# No GPIO mappings for other machines yet
|
2017-02-01 13:10:11 +01:00
|
|
|
COMPATIBLE_MACHINE = "(olinuxino-a13|olinuxino-a10|olinuxino-a20|olinuxino-a10lime|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a13som|olinuxino-a20som)"
|
2014-11-28 09:21:58 +01:00
|
|
|
|
2017-10-27 12:59:25 +02:00
|
|
|
SRC_URI = "https://pypi.python.org/packages/source/p/pyA20/pyA20-${PV}.tar.gz \
|
2014-11-28 12:23:16 +01:00
|
|
|
file://mapping.h \
|
2014-11-28 09:21:58 +01:00
|
|
|
"
|
|
|
|
S = "${WORKDIR}/pyA20-${PV}"
|
|
|
|
|
2020-01-29 23:30:51 +01:00
|
|
|
inherit distutils3
|
2014-11-28 09:21:58 +01:00
|
|
|
|
2021-08-23 18:39:23 +02:00
|
|
|
do_compile:prepend() {
|
2024-06-05 16:18:24 +02:00
|
|
|
cp ${UNPACKDIR}/mapping.h ${S}/pyA20/gpio/mapping.h
|
2014-11-28 12:23:16 +01:00
|
|
|
}
|
|
|
|
|
2020-01-29 23:30:51 +01:00
|
|
|
SRC_URI[md5sum] = "cab03b4931199804603d1074f6d8f48f"
|
|
|
|
SRC_URI[sha256sum] = "4bef559a9c5a4d648d9834bad996cf2805b20d6063b8051029ffdf9deda2b536"
|