28 lines
760 B
Bash
28 lines
760 B
Bash
# Template file for 'python-evdev'
|
|
pkgname=python-evdev
|
|
version=1.0.0
|
|
revision=1
|
|
build_style=python-module
|
|
pycompile_module="evdev"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
short_desc="Python2 bindings for the Linux input subsystem"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/gvalkov/python-evdev"
|
|
distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz"
|
|
checksum=71341d2189374e1dd9b56948e9c9ba71c9ec2ed09d80c0d37f7e420547d0ffb4
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-evdev_package() {
|
|
pycompile_module="evdev"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|