New package: python3-hid-1.0.4

This commit is contained in:
Isaac Freund 2022-01-15 12:12:10 +01:00 committed by paper
parent d94c016f77
commit 39020e869a

View file

@ -0,0 +1,20 @@
# 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
}