25 lines
753 B
Bash
25 lines
753 B
Bash
# Template file for 'python3-evdev'
|
|
pkgname=python3-evdev
|
|
version=1.6.0
|
|
revision=4
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="python3-devel"
|
|
depends="python3"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Python3 bindings for the Linux input subsystem"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/gvalkov/python-evdev"
|
|
distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz"
|
|
checksum=85877121b46e0eacf390c1ee4a07e6f5fcb3c603c1649efcccdd554f2fe0c3ab
|
|
|
|
do_check() {
|
|
# ignored uinput tests due to permission issues agasint /dev/uinput
|
|
PYTHONPATH="$(cd build/lib* && pwd)" pytest --ignore tests/test_uinput.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|