# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-ipware _pyname="python-ipware" pkgver=0.9.0 pkgrel=0 arch="!armv7 noarch" pkgdesc="A python package for server applications to retrieve client's IP address" url="https://pypi.python.org/project/$_pyname" license="MIT" depends='python3' makedepends='py3-setuptools' options="!check" # No testsuite source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver build() { python3 setup.py build } package() { python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build } sha512sums=" 1e90bf41abf9e477ff5f8d2387584120425002b06ea64aa67368892a41bbbeda08a09e03e5c4c691dc82976706bc84824e27ac6a6f0f8d2a53fb658dd272f798 py3-ipware-0.9.0.tar.gz "