void-packages/srcpkgs/python-pyudev/template
2019-03-01 12:04:45 -03:00

26 lines
703 B
Bash

# Template file for 'python-pyudev'
pkgname=python-pyudev
version=0.21.0
revision=2
archs=noarch
wrksrc="pyudev-${version}"
build_style=python-module
pycompile_module="pyudev"
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-six"
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() {
archs=noarch
depends="python3 python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}