1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-pyserial/APKBUILD
2021-04-16 00:52:25 +00:00

27 lines
786 B
Text

# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-pyserial
pkgver=3.5
pkgrel=1
pkgdesc="Multiplatform Serial Port Module for Python"
url="https://github.com/pyserial/pyserial"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/p/pyserial/pyserial-$pkgver.tar.gz"
builddir="$srcdir/"pyserial-$pkgver
build() {
python3 setup.py build
}
check() {
python3 test/run_all_tests.py
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c8df5e50d952d5a6dcf1d9253a6ba953e9763c545a867da66c22c90dfa015aba0194f2a8f29a229d0a5f4dc8bfeeaaab8bcfda4066ed78a18b151bc05e6ae327 pyserial-3.5.tar.gz"