python3-evdev: add python3 as dep, fix tests
This commit is contained in:
parent
674efbc326
commit
752d43e2c5
@ -1,10 +1,12 @@
|
||||
# Template file for 'python3-evdev'
|
||||
pkgname=python3-evdev
|
||||
version=1.6.0
|
||||
revision=2
|
||||
revision=3
|
||||
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"
|
||||
@ -12,6 +14,11 @@ 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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user