void-packages/srcpkgs/python3-libevdev/template

24 lines
665 B
Bash

# Template file for 'python3-libevdev'
pkgname=python3-libevdev
version=0.9
revision=4
_githash=5cc6bd17be733f87c77726fee2a6fa760f413a3e
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 libevdev"
checkdepends="python3-pytest libevdev"
short_desc="Python3 wrapper around the libevdev C library"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}