mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 16:02:55 +02:00
New package: python-pyudev-0.21.0
This commit is contained in:
parent
1aecccec69
commit
1124e1f8e4
2 changed files with 27 additions and 0 deletions
26
srcpkgs/python-pyudev/template
Normal file
26
srcpkgs/python-pyudev/template
Normal 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
1
srcpkgs/python3-pyudev
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pyudev
|
Loading…
Add table
Reference in a new issue