summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authoraurelien <aurelien@xload.io>2014-05-31 20:03:01 +0200
committeraurelien <aurelien@xload.io>2014-05-31 20:03:01 +0200
commitf0d97220c6c7bf8abd40d4e2fd72beb4109f24ff (patch)
tree2d73f90efb861af1c3b67d4ff48f7b296feca772 /pcr
parentccbb511514fdf3cca2d9faa804174cd3456d735b (diff)
downloadabslibre-f0d97220c6c7bf8abd40d4e2fd72beb4109f24ff.tar.gz
abslibre-f0d97220c6c7bf8abd40d4e2fd72beb4109f24ff.tar.bz2
abslibre-f0d97220c6c7bf8abd40d4e2fd72beb4109f24ff.zip
python2-netaddr
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python2-netaddr/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/pcr/python2-netaddr/PKGBUILD b/pcr/python2-netaddr/PKGBUILD
index b9d4da022..ff07e3c07 100644
--- a/pcr/python2-netaddr/PKGBUILD
+++ b/pcr/python2-netaddr/PKGBUILD
@@ -1,19 +1,23 @@
-# 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>
+# Contributor: Sebastien LEDUC <sebastien@sleduc.fr>
+# Contributor: Gilles CHAUVIN <gcnweb at gmail dot com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=python2-netaddr
-pkgver=0.7.10
-pkgrel=1
+pkgver=0.7.11
+pkgrel=3
pkgdesc="A pure Python network address representation and manipulation library"
-arch=('i686' 'x86_64')
+arch=('any')
license=('BSD')
url="http://github.com/drkjam/netaddr/"
depends=('python2')
-source=("http://github.com/downloads/drkjam/netaddr/netaddr-$pkgver.tar.gz")
+optdepends=('ipython2: used to work with the netaddr interractive command')
+source=("https://github.com/drkjam/netaddr/archive/release-${pkgver}.tar.gz")
-build() {
- cd "$srcdir/netaddr-$pkgver/"
+package() {
+ cd "$srcdir/netaddr-release-$pkgver/"
python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ # the netaddr command is also provided by the python-netaddr package
+ mv "$pkgdir/usr/bin/netaddr" "$pkgdir/usr/bin/netaddr2"
}