void-packages/srcpkgs/python3-netifaces/template

21 lines
664 B
Bash
Raw Normal View History

# Template file for 'python3-netifaces'
pkgname=python3-netifaces
version=0.10.9
revision=4
wrksrc="netifaces-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
short_desc="Python3 library to retrieve information about network interfaces"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/al45tair/netifaces"
distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
checksum=2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3
conflicts="python-netifaces>=0"
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
vlicense LICENSE
}