mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
python3-evdev: add python3 as dep, fix tests
This commit is contained in:
parent
674efbc326
commit
752d43e2c5
1 changed files with 8 additions and 1 deletions
|
@ -1,10 +1,12 @@
|
||||||
# Template file for 'python3-evdev'
|
# Template file for 'python3-evdev'
|
||||||
pkgname=python3-evdev
|
pkgname=python3-evdev
|
||||||
version=1.6.0
|
version=1.6.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
makedepends="python3-devel"
|
makedepends="python3-devel"
|
||||||
|
depends="python3"
|
||||||
|
checkdepends="python3-pytest"
|
||||||
short_desc="Python3 bindings for the Linux input subsystem"
|
short_desc="Python3 bindings for the Linux input subsystem"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
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"
|
distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz"
|
||||||
checksum=85877121b46e0eacf390c1ee4a07e6f5fcb3c603c1649efcccdd554f2fe0c3ab
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue