# Description: Pure Python network address representation and manipulation library # URL: https://github.com/drkjam/netaddr # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: python3-build python3-wheel python3-installer name=python3-netaddr version=1.2.1 release=1 source=(https://github.com/drkjam/netaddr/archive/$version/$name-$version.tar.gz) build() { cd netaddr-$version /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl }