void-packages/srcpkgs/python3-ifaddr/template

19 lines
584 B
Bash

# Template file for 'python3-ifaddr'
pkgname=python3-ifaddr
version=0.1.7
revision=4
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Enumerates all IP addresses on all network adapters of the system"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}