contrib/python3-netaddr/Pkgfile

17 lines
553 B
Plaintext
Raw Normal View History

2022-03-27 19:10:15 +02:00
# 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
2022-03-27 19:10:15 +02:00
name=python3-netaddr
2024-02-23 16:59:20 +01:00
version=1.2.1
2022-03-27 19:10:15 +02:00
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
2022-03-27 19:10:15 +02:00
}