mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 17:16:44 +02:00
32 lines
982 B
Text
32 lines
982 B
Text
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
# Contributor: Martijn Braam <martijn@brixit.nl>
|
|
pkgname=py3-pockethernet
|
|
_pyname=pockethernet
|
|
pkgver=0.7.0
|
|
pkgrel=4
|
|
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 py3-gpep517"
|
|
_pypiprefix="${_pyname%${_pyname#?}}"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://gitlab.com/MartijnBraam/pockethernet-protocol/-/archive/$pkgver/pockethernet-protocol-$pkgver.tar.gz"
|
|
builddir=$srcdir/pockethernet-protocol-$pkgver
|
|
options="!check" # ran no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
e312f712b8ca914d307a9d2a4a82d5c954f210c1fb7936442e0c5608a8bab92a5b2e100a8e5be24a249f9ca15e6de2086c50bebd48ba6dcf69f70bf50e7b2c4d pockethernet-protocol-0.7.0.tar.gz
|
|
"
|