21 lines
619 B
Bash
21 lines
619 B
Bash
# Template file for 'python3-hid'
|
|
pkgname=python3-hid
|
|
version=1.0.4
|
|
revision=1
|
|
wrksrc="pyhidapi-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="hidapi python3"
|
|
checkdepends="hidapi python3-nose"
|
|
short_desc="Python hidapi bindings in ctypes"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/apmorton/pyhidapi"
|
|
# Can't use PyPi as the tarball there doesn't include LICENSE
|
|
distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"
|
|
checksum=b4a48e643cf345cf061edb287255a2cfb9778eb89756a915a5baf8eabfb3a0e0
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|