New package: python-pyudev-0.21.0

This commit is contained in:
Luca Weiss 2018-01-10 18:32:22 +01:00 committed by Jürgen Buchmüller
parent 1aecccec69
commit 1124e1f8e4
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# 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*
}
}

1
srcpkgs/python3-pyudev Symbolic link
View file

@ -0,0 +1 @@
python-pyudev