void-packages/srcpkgs/python3-pyserial/template

21 lines
705 B
Bash

# Template file for 'python3-pyserial'
pkgname=python3-pyserial
version=3.5
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 module providing access for the serial port"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/pyserial/pyserial"
changelog="https://raw.githubusercontent.com/pyserial/pyserial/master/CHANGES.rst"
distfiles="${PYPI_SITE}/p/pyserial/pyserial-${version}.tar.gz"
checksum=3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb
alternatives="pyserial:miniterm:/usr/bin/miniterm.py3"
post_install() {
vlicense LICENSE.txt LICENSE
}