aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-ipaddr/APKBUILD
blob: dc9c94b921c84c40cf5826956ddb1c3c48903fb6 (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.11
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://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_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="f2c7852f95862715f92e7d089dc3f2cf  ipaddr-2.1.11.tar.gz"
sha256sums="1b555b8a8800134fdafe32b7d0cb52f5bdbfdd093707c3dd484c5ea59f1d98b7  ipaddr-2.1.11.tar.gz"
sha512sums="a97b0f760f0d7fac549e5edf17b644c966a8858c145b8f9472ddc8bf4805c9d537f6f8755e3716d78b729b87e84149f8b73c7f98c0deee4fbf266ccb7a206bc6  ipaddr-2.1.11.tar.gz"