blob: a1857e1410826f4cbb8df837698b517216304a17 (
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
27
28
29
30
31
32
33
34
|
# Maintainer: Razer <razer[AT]neuf[DOT]fr>
pkgname=python-adafruit-circuitpython-display-text
_pypi_pkgname=adafruit-circuitpython-display-text
pkgver=3.1.6
pkgrel=0
pkgdesc="Displays text using CircuitPython's displayio"
arch=('any')
url="https://github.com/adafruit/Adafruit_CircuitPython_Display_Text"
license=('MIT')
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-setuptools-scm'
)
depends=(
'python-adafruit-blinka-displayio'
'python-adafruit-circuitpython-bitmap-font'
)
optdepends=()
source=("https://pypi.io/packages/source/a/${_pypi_pkgname}/${_pypi_pkgname}-${pkgver}.tar.gz")
sha256sums=('c7f52cce93bf68d47c52b3412b506605f8a8b7eef7906dd52c6d8ad329f545cb')
build() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/${_pypi_pkgname}-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
|