parent
1fc963eadc
commit
3a92b6bb97
2 changed files with 28 additions and 0 deletions
27
srcpkgs/python-evdev/template
Normal file
27
srcpkgs/python-evdev/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'python-evdev'
|
||||
pkgname=python-evdev
|
||||
version=0.7.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="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="3-Clause-BSD"
|
||||
homepage="https://github.com/gvalkov/python-evdev"
|
||||
distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz"
|
||||
checksum=99c43184cc3e8e23878dcb5a58168a37fca76eda9f23c52d83fba434ba468d50
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-evdev_package() {
|
||||
pycompile_module="evdev"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-evdev
Symbolic link
1
srcpkgs/python3-evdev
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-evdev
|
Loading…
Reference in a new issue