aports/testing/py3-pymata/APKBUILD
2024-08-08 20:11:54 +02:00

30 lines
876 B
Text

# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-pymata
pkgver=2.20
pkgrel=4
pkgdesc="A Python client class library for Interaction with Standard Firmata"
url="https://github.com/MrYsLab/PyMata"
arch="noarch"
license="AGPL-3.0-or-later"
depends="python3 py3-pyserial"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/P/PyMata/PyMata-$pkgver.tar.gz"
builddir="$srcdir/PyMata-$pkgver"
options="!check" # No tests.
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
22ccfa550cebcfd61246af07c131cc70ea478e8cf1b98371bba79b2239af598b3d966e09edf2c511f3afe4aeb83b7ce72d427758f09e42b926a2273661fa043f PyMata-2.20.tar.gz
"