summaryrefslogtreecommitdiff
path: root/pcr/python2-netaddr/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 23:52:26 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 23:52:26 -0500
commit360e56ec622617a2b121c7ec51e3381ad89f0eab (patch)
treee74250415c5e21080779befbb7898bd151039d63 /pcr/python2-netaddr/PKGBUILD
parent34b4025bc7b0c6d8d47988decd140df38b1d98ac (diff)
parentb1c14cd929ca53e06945a5cda3965dc6fcd9d6b7 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-netaddr/PKGBUILD')
-rw-r--r--pcr/python2-netaddr/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr/python2-netaddr/PKGBUILD b/pcr/python2-netaddr/PKGBUILD
new file mode 100644
index 000000000..8d9f2a827
--- /dev/null
+++ b/pcr/python2-netaddr/PKGBUILD
@@ -0,0 +1,19 @@
+# Contributor: Sebastien LEDUC <sebastien@sleduc.fr>
+# Contributor: 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
+}
+