summaryrefslogtreecommitdiff
path: root/pcr/python2-netaddr/PKGBUILD
blob: b9d4da022f7702b111da13aa39ed9067997d39eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Contributor (Arch): Sebastien LEDUC <sebastien@sleduc.fr>
# Contributor (Arch): Gilles CHAUVIN <gcnweb at gmail dot com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>

pkgname=python2-netaddr
pkgver=0.7.10
pkgrel=1
pkgdesc="A pure Python network address representation and manipulation library"
arch=('i686' 'x86_64')
license=('BSD')
url="http://github.com/drkjam/netaddr/"
depends=('python2')
source=("http://github.com/downloads/drkjam/netaddr/netaddr-$pkgver.tar.gz")

build() {
    cd "$srcdir/netaddr-$pkgver/"
    python2 setup.py install --root="$pkgdir/" --optimize=1
}