void-packages/srcpkgs/python3-netifaces/template

21 lines
651 B
Bash

# Template file for 'python3-netifaces'
pkgname=python3-netifaces
version=0.11.0
revision=5
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
short_desc="Python3 library to retrieve information about network interfaces"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/al45tair/netifaces"
distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
checksum=043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32
conflicts="python-netifaces>=0"
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
vlicense LICENSE
}