mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-10 15:28:22 +01:00
2398d55ad4
Update pya20 to version 0.2.12: - support for Python2 has been removed in oe-core master (see commit 390f3edabfb1f68ed9766245291c5f44ea00cc38) so dependencies and classes have been changed to use Python3. Without this change recipe parsing fails on master, as distutils class doesn't exist anymore - license has been fixed to be GPLv3 as declared in pyA20/__init__.py - setup.py.patch is no longer needed - pya20som has been removed, as machine olinuxino-a20som is supported by pya20 Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
24 lines
847 B
BlitzBasic
24 lines
847 B
BlitzBasic
DESCRIPTION = "A module to control Allwinner GPIO,SPI and I2C channels"
|
|
HOMEPAGE = "https://pypi.python.org/pypi/pyA20"
|
|
SECTION = "devel/python"
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=4e584373bb0f46ef1e423cb7df37847d"
|
|
DEPENDS = "python3"
|
|
|
|
# No GPIO mappings for other machines yet
|
|
COMPATIBLE_MACHINE = "(olinuxino-a13|olinuxino-a10|olinuxino-a20|olinuxino-a10lime|olinuxino-a20lime|olinuxino-a20lime2|olinuxino-a13som|olinuxino-a20som)"
|
|
|
|
SRC_URI = "https://pypi.python.org/packages/source/p/pyA20/pyA20-${PV}.tar.gz \
|
|
file://mapping.h \
|
|
"
|
|
S = "${WORKDIR}/pyA20-${PV}"
|
|
|
|
inherit distutils3
|
|
|
|
do_compile_prepend() {
|
|
cp ${WORKDIR}/mapping.h ${S}/pyA20/gpio/mapping.h
|
|
}
|
|
|
|
SRC_URI[md5sum] = "cab03b4931199804603d1074f6d8f48f"
|
|
SRC_URI[sha256sum] = "4bef559a9c5a4d648d9834bad996cf2805b20d6063b8051029ffdf9deda2b536"
|