void-packages/srcpkgs/python3-ifaddr/template
2021-10-09 08:00:33 -04:00

19 lines
612 B
Bash

# Template file for 'python3-ifaddr'
pkgname=python3-ifaddr
version=0.1.7
revision=3
wrksrc="ifaddr-${version}"
build_style=python3-module
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=1f9e8a6ca6f16db5a37d3356f07b6e52344f6f9f7e806d618537731669eb1a94
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' setup.py >LICENSE.txt
vlicense LICENSE.txt
}