summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 12:33:07 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 12:33:07 -0500
commit17b2e5b0e7df650a41b358ee217563b911ee1733 (patch)
tree4a2ccec38a2960e366f35cc1032df7fc684f34a8
parent62de2428bd32b2005260cd2fbb889a55187222ae (diff)
python-netaddr: add new package to [pcr]
-rw-r--r--pcr/python-netaddr/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/python-netaddr/PKGBUILD b/pcr/python-netaddr/PKGBUILD
new file mode 100644
index 000000000..99105b101
--- /dev/null
+++ b/pcr/python-netaddr/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer (Arch): Sebastien LEDUC <sebastien@sleduc.fr>
+# Contributor (Arch): Gilles CHAUVIN <gcnweb at gmail dot com>
+# Maintainer: Omar Veg Ramos <ovruni@gnu.org.pe>
+
+pkgname=python-netaddr
+pkgver=0.7.14
+pkgrel=1
+pkgdesc="A pure Python network address representation and manipulation library"
+arch=('any')
+license=('BSD')
+url="http://github.com/drkjam/netaddr/"
+depends=('python')
+optdepends=('ipython: used to work with the netaddr interractive command')
+source=("https://pypi.python.org/packages/source/n/netaddr/netaddr-${pkgver}.tar.gz")
+md5sums=('1ba9d1e887c838f190774cf6b74c109d')
+
+package() {
+ cd "$srcdir/netaddr-$pkgver/"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+