# $Id: PKGBUILD 58191 2011-11-08 15:27:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: mathieui <mathieui(AT)mathieui(DOT)net>
# Contributor: Celos <celos94(AT)gmail(DOT)com>

pkgname=python2-ipy
pkgver=0.75
pkgrel=1
pkgdesc="Python class and tools for handling of IPv4 and IPv6 addresses and networks."
arch=('any')
url="http://software.inl.fr/trac/wiki/IPy"
license=('BSD')
depends=('python2')
source=(http://cheeseshop.python.org/packages/source/I/IPy/IPy-$pkgver.tar.gz)
md5sums=('d56716a3d8c77fe8539b6e90c88010bd')

build() {
  cd "$srcdir/IPy-$pkgver"
  python2 setup.py install --prefix=/usr --root=$pkgdir
  install -D -m644 $srcdir/IPy-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
