aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-ipaddress
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-12-09 13:36:50 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-12-09 13:36:50 +0100
commit15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2 (patch)
treedf4c2d69dbcda1059524061bd66259f1cd4734ca /community/py-ipaddress
parenta66174411f51be92d56e3937f790e1fca75c91d5 (diff)
downloadaports-15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2.tar.bz2
aports-15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2.tar.xz
move letsencrypt deps to community
Diffstat (limited to 'community/py-ipaddress')
-rw-r--r--community/py-ipaddress/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/py-ipaddress/APKBUILD b/community/py-ipaddress/APKBUILD
new file mode 100644
index 0000000000..390517dffb
--- /dev/null
+++ b/community/py-ipaddress/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-ipaddress
+pkgver=1.0.14
+pkgrel=0
+pkgdesc="IPv4/IPv6 manipulation library"
+url="https://github.com/phihag/ipaddress"
+arch="noarch"
+license="PSF"
+depends=""
+depends_dev=""
+makedepends="$depends_dev py-setuptools"
+install=""
+subpackages=""
+source="https://pypi.python.org/packages/source/i/ipaddress/ipaddress-$pkgver.tar.gz"
+
+_builddir="$srcdir"/ipaddress-$pkgver
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="e2f2f6593b2b8a7e8abba0fbdf33f046 ipaddress-1.0.14.tar.gz"
+sha256sums="226f4be44c6cb64055e23060848266f51f329813baae28b53dc50e93488b3b3e ipaddress-1.0.14.tar.gz"
+sha512sums="fb33b484ca435f4e8817c735a1084f2fa749abca4643a10be644003fdb73cc9205fc28f484ef96d2db90e8b27d8a238d1d7cf20140f7942e39be12c7524e8d6f ipaddress-1.0.14.tar.gz"