mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/py3-pymata4: build with gpep517
This commit is contained in:
parent
92fd4afbad
commit
249411042c
@ -2,24 +2,27 @@
|
||||
# Maintainer: David Demelier <markand@malikania.fr>
|
||||
pkgname=py3-pymata4
|
||||
pkgver=1.15
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="a Python Protocol Abstraction Library For Arduino Firmata"
|
||||
url="https://github.com/MrYsLab/pymata4"
|
||||
arch="noarch"
|
||||
license="AGPL-3.0-or-later"
|
||||
depends="python3 py3-pyserial"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/p/pymata4/pymata4-$pkgver.tar.gz"
|
||||
builddir="$srcdir/pymata4-$pkgver"
|
||||
options="!check" # No tests.
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
Loading…
Reference in New Issue
Block a user