24 lines
718 B
Bash
24 lines
718 B
Bash
# Template file for 'python3-libevdev'
|
|
pkgname=python3-libevdev
|
|
version=0.9
|
|
revision=1
|
|
_githash=5cc6bd17be733f87c77726fee2a6fa760f413a3e
|
|
wrksrc="python-libevdev-${version}-${_githash}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3 libevdev"
|
|
checkdepends="python3-pytest libevdev"
|
|
short_desc="Python3 wrapper around the libevdev C library"
|
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://gitlab.freedesktop.org/libevdev/python-libevdev"
|
|
distfiles="${homepage}/-/archive/${version}/${version}.tar.gz"
|
|
checksum=033e8cb426571f02188325509ef0e26185591e0c87951d834de9d6601816c586
|
|
|
|
do_check() {
|
|
pytest3 -v test/*.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|