diff options
-rw-r--r-- | pcr/python-netaddr/PKGBUILD | 21 |
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 +} + |