26 lines
676 B
Bash
26 lines
676 B
Bash
# Template file for 'python-pyudev'
|
|
pkgname=python-pyudev
|
|
version=0.21.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="pyudev-${version}"
|
|
build_style=python-module
|
|
pycompile_module="pyudev"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Python bindings to libudev (Python2)"
|
|
maintainer="Luca Weiss <luca@z3ntu.xyz>"
|
|
license="LGPL-2.1"
|
|
homepage="https://github.com/pyudev/pyudev"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=5f4625f89347e465731866ddbe042a055bbc5092577356aa3d089ac5fb8efd94
|
|
|
|
python3-pyudev_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|