aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-ipaddr
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-11-10 07:55:46 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-11-10 07:56:41 +0000
commita81901894d510290ed3fe8d825402989f599a7d8 (patch)
tree48850ed1c84ecbc96e8d11d5a7b2d5c45c9f05ba /community/py-ipaddr
parent5622ee34cbe17d63d4bccc613011fafcf9f24fab (diff)
downloadaports-a81901894d510290ed3fe8d825402989f599a7d8.tar.bz2
aports-a81901894d510290ed3fe8d825402989f599a7d8.tar.xz
community/py-ipaddr: moved from main
Diffstat (limited to 'community/py-ipaddr')
-rw-r--r--community/py-ipaddr/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/py-ipaddr/APKBUILD b/community/py-ipaddr/APKBUILD
new file mode 100644
index 0000000000..dc9c94b921
--- /dev/null
+++ b/community/py-ipaddr/APKBUILD
@@ -0,0 +1,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"