blob: b1f7235c2c73ead66b170e028b0c7f13cd427a4e (
plain)
1 # Description: Pure Python network address representation and manipulation library
2 # URL: https://github.com/drkjam/netaddr
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-setuptools
5
6 name=python3-netaddr
7 version=0.8.0
8 release=1
9 source=(https://github.com/drkjam/netaddr/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 cd netaddr-$version
13 /usr/bin/python3 setup.py build
14 /usr/bin/python3 setup.py install --prefix=/usr \
15 --root=$PKG \
16 -O1 \
17 --skip-build
18 }
|