blob: 4104737d1b6d27c5308598fa5774fb0c609790d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Contributor: Popolon <popolon(At)popolon.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: mathieui <mathieui(AT)mathieui(DOT)net>
# Contributor: Celos <celos94(AT)gmail(DOT)com>
pkgname=python2-ipy
pkgver=1.01
pkgrel=1
pkgdesc="Python class and tools for handling of IPv4 and IPv6 addresses and networks."
arch=('x86_64' 'i686' 'pentium4')
url="https://pypi.python.org/pypi/IPy"
license=('BSD')
depends=('python2')
source=(https://cheeseshop.python.org/packages/source/I/IPy/IPy-$pkgver.tar.gz)
sha256sums=('edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a')
package() {
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
}
|