void-packages/srcpkgs/python3-ifaddr/template
2019-03-01 12:04:45 -03:00

21 lines
651 B
Bash

# Template file for 'python3-ifaddr'
pkgname=python3-ifaddr
version=0.1.6
revision=1
archs=noarch
wrksrc="ifaddr-${version}"
build_style=python3-module
pycompile_module="ifaddr"
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Enumerates all IP addresses on all network adapters of the system"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/pydron/ifaddr"
distfiles="${PYPI_SITE}/i/ifaddr/ifaddr-${version}.tar.gz"
checksum=c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' setup.py >LICENSE.txt
vlicense LICENSE.txt
}