mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
New package: python3-hidapi-0.14.0.post2
This commit is contained in:
parent
7d468b140d
commit
27fb98cdd2
1 changed files with 24 additions and 0 deletions
24
srcpkgs/python3-hidapi/template
Normal file
24
srcpkgs/python3-hidapi/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'python3-hidapi'
|
||||||
|
pkgname=python3-hidapi
|
||||||
|
version=0.14.0.post2
|
||||||
|
revision=1
|
||||||
|
build_style=python3-module
|
||||||
|
make_build_args="--with-system-hidapi"
|
||||||
|
hostmakedepends="python3-setuptools python3-wheel python3-Cython pkg-config"
|
||||||
|
makedepends="eudev-libudev-devel hidapi-devel libusb-devel python3-devel"
|
||||||
|
depends="python3 hidapi python3-setuptools"
|
||||||
|
short_desc="Cython interface to the hidapi"
|
||||||
|
maintainer="Mateusz Sylwestrzak <slymattz@gmail.com>"
|
||||||
|
license="GPL-3.0-or-later, BSD-3-Clause"
|
||||||
|
homepage="https://github.com/trezor/cython-hidapi"
|
||||||
|
distfiles="${PYPI_SITE}/h/hidapi/hidapi-${version}.tar.gz"
|
||||||
|
checksum=6c0e97ba6b059a309d51b495a8f0d5efbcea8756b640d98b6f6bb9fdef2458ac
|
||||||
|
|
||||||
|
if [ $CROSS_BUILD ]; then
|
||||||
|
# without the following line, the compiler complains about the lack of hidapi.h
|
||||||
|
hostmakedepends+=" hidapi-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE-bsd.txt
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue