Commit 4e419c45 authored by Scrumpy Jack's avatar Scrumpy Jack Committed by Francesco Colista

testing/py-skywriter-hat: new aport

Python libraries for the Pimoroni Skywriter board
https://github.com/pimoroni/skywriter-hat
parent 7efb8217
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=py-skywriter-hat
pkgver=0.0.6
pkgrel=0
pkgdesc="Python libraries for the Pimoroni Skywriter board"
url="https://github.com/pimoroni/skywriter-hat"
arch="armhf"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="${pkgname}-${pkgver}.tar.gz::https://github.com/pimoroni/${pkgname#py-}/archive/v${pkgver}.tar.gz"
builddir=${srcdir}/${pkgname#py-}-${pkgver}
build() {
cd "$builddir/python/library"
python setup.py build || return 1
}
package() {
cd "$builddir/python/library"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="03ef9d123c0add41b9130b99de5d6a51 py-skywriter-hat-0.0.6.tar.gz"
sha256sums="7adf2ca2ed2d7166888e6023f2c938c556f4e9b16ac12120f017176a7b70e73f py-skywriter-hat-0.0.6.tar.gz"
sha512sums="57536ca307ed13e36c50b5c32d4d550057dc6090660886916c34860720ef5011ff17fece8012f7ba4b1be065774e45d049773f4dedce9a1eeb39b6c66719f683 py-skywriter-hat-0.0.6.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment