diff options
Diffstat (limited to 'testing/py3-pymata/APKBUILD')
-rw-r--r-- | testing/py3-pymata/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-pymata/APKBUILD b/testing/py3-pymata/APKBUILD new file mode 100644 index 00000000000..34327d4331f --- /dev/null +++ b/testing/py3-pymata/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: David Demelier <markand@malikania.fr> +# Maintainer: David Demelier <markand@malikania.fr> +pkgname=py3-pymata +pkgver=2.20 +pkgrel=3 +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" +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() { + python3 setup.py build +} + +package() { + python3 setup.py install --skip-build --root="$pkgdir" +} + +sha512sums=" +22ccfa550cebcfd61246af07c131cc70ea478e8cf1b98371bba79b2239af598b3d966e09edf2c511f3afe4aeb83b7ce72d427758f09e42b926a2273661fa043f PyMata-2.20.tar.gz +" |