void-packages/srcpkgs/python-ipaddress/template

21 lines
581 B
Bash

# Template file for 'python-ipaddress'
pkgname=python-ipaddress
version=1.0.22
revision=1
archs=noarch
wrksrc="ipaddress-${version}"
build_style=python2-module
hostmakedepends="python-devel"
depends="python"
pycompile_module="ipaddress.py"
short_desc="Backport of Python 3.3+ ipaddress module"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/phihag/ipaddress"
license="PSFL-2"
distfiles="${PYPI_SITE}/i/ipaddress/ipaddress-${version}.tar.gz"
checksum=b146c751ea45cad6188dd6cf2d9b757f6f4f8d6ffb96a023e6f2e26eea02a72c
post_install() {
vlicense LICENSE
}