void-packages/srcpkgs/python3-usb/template

22 lines
594 B
Bash

# Template file for 'python3-usb'
pkgname=python3-usb
_pkgname=pyusb
version=1.0.2
revision=2
archs=noarch
wrksrc="${_pkgname}-${version}"
build_style=python3-module
pycompile_module=usb
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python library for USB communication"
maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/pyusb/pyusb"
distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
checksum=4e9b72cc4a4205ca64fbf1f3fff39a335512166c151ad103e55c8223ac147362
post_install() {
vlicense LICENSE
}