summaryrefslogtreecommitdiffstats
path: root/main/py-ipaddr/APKBUILD
blob: 886a645218cff89ca687f9dac0bf105c38b335c3 (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
_realname=ipaddr
pkgver=2.1.10
pkgrel=0
pkgdesc="Python IP address manipulation library"
url="http://code.google.com/p/ipaddr-py"
arch="noarch"
license="GPL"
depends="python"
depends_dev=
makedepends="$depends_dev"
install=
subpackages=
source="http://ipaddr-py.googlecode.com/files/$_realname-$pkgver.tar.gz"


_builddir="$srcdir"/$_realname-$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"