Update python-gpiozero-git

This commit is contained in:
Martchus 2019-01-29 20:32:30 +00:00
parent a16e859fe9
commit b63e935b2b
1 changed files with 2 additions and 8 deletions

View File

@ -3,7 +3,7 @@
_name=python-gpiozero
pkgname=$_name-git
pkgver=940.4aa1c16
pkgver=1020.330c159
pkgrel=1
pkgdesc='A simple interface to GPIO devices with Raspberry Pi'
arch=('any')
@ -17,8 +17,7 @@ depends=()
makedepends=('git' 'python-setuptools')
provides=("${_name}")
conflicts=("${_name}")
source=("git://github.com/RPi-Distro/${_name}.git"
0001-Support-device-detection-under-aarch64.patch)
source=("git://github.com/RPi-Distro/${_name}.git")
sha256sums=('SKIP')
pkgver() {
@ -26,11 +25,6 @@ pkgver() {
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${_name}"
patch -p1 -i ../0001-Support-device-detection-under-aarch64.patch
}
build() {
cd "${srcdir}/${_name}"
python setup.py build