# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=py3-ipaddress _pkgname=ipaddress pkgver=1.0.23 pkgrel=1 pkgdesc="IPv4/IPv6 manipulation library" url="https://github.com/phihag/ipaddress" arch="noarch" license="Python-2.0" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-ipaddress" # Backwards compatibility provides="py-ipaddress=$pkgver-r$pkgrel" # Backwards compatibility build() { cd "$builddir" python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="340e2a8698df1868038f55889671442eba17f06ec3f493759d8d0a9bf406eefbe1f67c14ca616f52e5bf2280942dcece7e89fb19de0923bee1ee20e60f48896e ipaddress-1.0.23.tar.gz"