forked from ports/contrib
19 lines
502 B
Plaintext
19 lines
502 B
Plaintext
|
# 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-setuptools
|
||
|
|
||
|
name=python3-netaddr
|
||
|
version=0.8.0
|
||
|
release=1
|
||
|
source=(https://github.com/drkjam/netaddr/archive/$version/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd netaddr-$version
|
||
|
/usr/bin/python3 setup.py build
|
||
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
||
|
--root=$PKG \
|
||
|
-O1 \
|
||
|
--skip-build
|
||
|
}
|