aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-gnutls
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-21 13:26:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-21 13:27:13 +0000
commit4f613659e70363b3617690c189282ab2fb7d5ce1 (patch)
treee59c94354cda28bb04b96a1434745b8026fd4423 /testing/py-gnutls
parent3ceefd19a12655ed49e44c524af3b6cfce82b973 (diff)
downloadaports-4f613659e70363b3617690c189282ab2fb7d5ce1.tar.bz2
aports-4f613659e70363b3617690c189282ab2fb7d5ce1.tar.xz
testing/py-gnutls: renamed from python-gnutls
Diffstat (limited to 'testing/py-gnutls')
-rw-r--r--testing/py-gnutls/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/py-gnutls/APKBUILD b/testing/py-gnutls/APKBUILD
new file mode 100644
index 000000000..8d5a2f237
--- /dev/null
+++ b/testing/py-gnutls/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+
+pkgname=py-gnutls
+_name=python-gnutls
+pkgver=1.1.9
+pkgrel=1
+pkgdesc="Python wrapper for the GNUTLS library"
+url="http://pypi.python.org/pypi/python-gnutls"
+license="PSF"
+depends="python"
+makedepends="python-dev gnutls-dev"
+install=
+subpackages=""
+source="http://pypi.python.org/packages/source/p/$_name/$_name-$pkgver.tar.gz"
+build() {
+ cd "$srcdir"/$_name-$pkgver
+ mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
+ python setup.py install --root="$pkgdir"
+ echo "/usr/lib/python2.6/site-packages/$_name-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_name.pth
+
+}
+
+md5sums="bdd81a9dd3c2f87393cd6c014bf6885b python-gnutls-1.1.9.tar.gz"