summaryrefslogtreecommitdiffstats
path: root/main/py-ipaddr/APKBUILD
blob: ee4e1dcca15d6cbee18b555490b103d5d29e5457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py-ipaddr
_pkgname=ipaddr
pkgver=2.1.10
pkgrel=0
pkgdesc="Python IP address manipulation library"
url="http://code.google.com/p/ipaddr-py"
arch="noarch"
license="ASL 2.0 PSF"
depends="python"
depends_dev=
makedepends="$depends_dev"
install=""
subpackages=""
source="http://ipaddr-py.googlecode.com/files/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
	cd "$_builddir"
	return 0
}

build() {
	cd "$_builddir"
	return 0
}

package() {
	cd "$_builddir"
	python setup.py install --root="$pkgdir"
}

md5sums="f315ac829218e9735c5d772d59a3e0e7  ipaddr-2.1.10.tar.gz"
sha256sums="d2c3bfd45147e5773108d2c8d3c65102ff234f06e2f1049a0febfa31dde4cca3  ipaddr-2.1.10.tar.gz"
sha512sums="5ad38ffe54e5322bd7d3c643c216647457fd797882549c40a9dad2cadf489aa1ce724e2272af9f8aa4a28eabf60f2ef99d6d730b78c7cb86a1f0cc901dde0eb7  ipaddr-2.1.10.tar.gz"