2018-01-10 18:32:22 +01:00
|
|
|
# Template file for 'python-pyudev'
|
|
|
|
pkgname=python-pyudev
|
|
|
|
version=0.21.0
|
2018-04-23 09:56:34 +02:00
|
|
|
revision=2
|
2018-01-10 18:32:22 +01:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="pyudev-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
pycompile_module="pyudev"
|
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2018-04-23 09:56:34 +02:00
|
|
|
depends="python python-six"
|
2018-01-10 18:32:22 +01:00
|
|
|
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
|
2018-04-23 09:56:34 +02:00
|
|
|
depends="python3 python3-six"
|
2018-01-10 18:32:22 +01:00
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
|
|
|
}
|
|
|
|
}
|