New package : python3-RPi.GPIO-0.7.0
This commit is contained in:
parent
784292f9e6
commit
0cbdc6cc67
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'python3-RPi.GPIO'
|
||||||
|
pkgname=python3-RPi.GPIO
|
||||||
|
version=0.7.0
|
||||||
|
revision=1
|
||||||
|
archs="armv[67]l* aarch64*"
|
||||||
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
makedepends="python3-devel"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="Module to control Raspberry Pi GPIO channels"
|
||||||
|
maintainer="amak <amak.git@outlook.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://sourceforge.net/projects/raspberry-gpio-python"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/project/raspberry-gpio-python/RPi.GPIO-${version}.tar.gz"
|
||||||
|
checksum=7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f
|
||||||
|
|
||||||
|
# needed for gcc 10
|
||||||
|
# fixed upstream in commit 8a0a65
|
||||||
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENCE.txt
|
||||||
|
}
|
Loading…
Reference in New Issue