blob: d24f01ad18cd5b255e4d4b307f680029bfd75634 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Razer <razer[AT]neuf[DOT]fr>
pkgname=python-adafruit-blinka-displayio
_pypi_pkgname=adafruit-blinka-displayio
pkgver=1.1.0
pkgrel=0
pkgdesc="displayio for Blinka"
arch=('armv6h' 'armv7h' 'aarch64')
url="https://github.com/adafruit/Adafruit_Blinka"
license=('MIT')
makedepends=('python-setuptools' 'python-pip')
depends=('python-numpy' 'python-adafruit-blinka' 'python-adafruit-circuitpython-typing')
optdepends=()
source=("https://pypi.io/packages/source/a/${_pypi_pkgname}/${_pypi_pkgname}-${pkgver}.tar.gz")
sha256sums=('f80e9072653b439634eb6d684915171d344eb90a751a92dbc9d6c2a6a46c9d4c')
build() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python setup.py build || return 1
}
package() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python setup.py install --root=${pkgdir} --optimize=1 || return 1
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|