From 39020e869afa1f66f12fde1ddac412e15c500a7e Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 15 Jan 2022 12:12:10 +0100 Subject: [PATCH] New package: python3-hid-1.0.4 --- srcpkgs/python3-hid/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-hid/template diff --git a/srcpkgs/python3-hid/template b/srcpkgs/python3-hid/template new file mode 100644 index 00000000000..113cc5c62af --- /dev/null +++ b/srcpkgs/python3-hid/template @@ -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 " +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 +}