aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-ipaddr
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-06-08 06:58:36 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-06-08 07:00:49 +0000
commit105fbcec3aee71a565841af3e40a8b48d96e2fbb (patch)
treeb4818b8176fe4088a215f1546e4d59af3a2fc7c9 /main/py-ipaddr
parentf52a9e4b9ddff4e5b3c633a11fe74639e595c533 (diff)
downloadaports-105fbcec3aee71a565841af3e40a8b48d96e2fbb.tar.bz2
aports-105fbcec3aee71a565841af3e40a8b48d96e2fbb.tar.xz
testing/py-ipaddr: move to main
Diffstat (limited to 'main/py-ipaddr')
-rw-r--r--main/py-ipaddr/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/py-ipaddr/APKBUILD b/main/py-ipaddr/APKBUILD
new file mode 100644
index 0000000000..886a645218
--- /dev/null
+++ b/main/py-ipaddr/APKBUILD
@@ -0,0 +1,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"