mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
30 lines
897 B
Text
30 lines
897 B
Text
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
# Contributor: Martijn Braam <martijn@brixit.nl>
|
|
pkgname=py3-pockethernet
|
|
_pyname=pockethernet
|
|
pkgver=0.7.0
|
|
pkgrel=1
|
|
pkgdesc="Library for controlling the Pockethernet"
|
|
url="https://gitlab.com/MartijnBraam/pockethernet-protocol"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-cobs py3-crc16"
|
|
makedepends="py3-setuptools"
|
|
_pypiprefix="${_pyname%${_pyname#?}}"
|
|
source="https://gitlab.com/MartijnBraam/pockethernet-protocol/-/archive/$pkgver/pockethernet-protocol-$pkgver.tar.gz"
|
|
builddir=$srcdir/pockethernet-protocol-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
sha512sums="
|
|
e312f712b8ca914d307a9d2a4a82d5c954f210c1fb7936442e0c5608a8bab92a5b2e100a8e5be24a249f9ca15e6de2086c50bebd48ba6dcf69f70bf50e7b2c4d pockethernet-protocol-0.7.0.tar.gz
|
|
"
|