# Template file for 'python-iptools' pkgname=python-iptools version=0.6.1 revision=3 noarch=yes wrksrc="${pkgname#*-}-${version}" build_style=python-module pycompile_module="iptools" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python2 utilites for manipulating IPv4 and IPv6 addresses" maintainer="Andrew Mirghassemi " license="2-clause-BSD" homepage="https://github.com/bd808/python-iptools" distfiles="${PYPI_SITE}/i/iptools/iptools-${version}.tar.gz" checksum=0f03875a5bed740ba4bf44decb6a78679cca914a1ee8a6cc468114485c4d98e3 post_install() { vlicense LICENSE } python3-iptools_package() { noarch=yes depends="python3" pycompile_module="iptools" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }