blob: d96f3d882335f818ca8ccfdaea85e2372078c6cb (
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
|
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=py3-skywriter-hat
_pkgname=skywriter-hat
pkgver=0.0.7
pkgrel=1
pkgdesc="Python libraries for the Pimoroni Skywriter board"
options="!check" # No testsuite
url="https://github.com/pimoroni/skywriter-hat"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/pimoroni/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver/library"
replaces="py-skywriter-hat" # Backwards compatibility
provides="py-skywriter-hat=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="ecce89f95fbd8402001e4896bdd2e7e371944152abd1a42ee809e065c37ca7397572669c34c6f681762811e2dbf26e8b3bfa9776d698dde17e8e3802f7e490eb py3-skywriter-hat-0.0.7.tar.gz"
|