aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-gnutls
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-09-01 16:42:10 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-09-01 16:42:10 -0500
commitb645209f3f58eb797512f367fe9c62792fbd9720 (patch)
treea11253827c5e7935a5ffd95785f2ecc4d2cddf9a /main/py-gnutls
parent1eadca3b451a5675ee96a7ce0d85c30d6a6f8674 (diff)
downloadaports-b645209f3f58eb797512f367fe9c62792fbd9720.tar.bz2
aports-b645209f3f58eb797512f367fe9c62792fbd9720.tar.xz
main/py-gnutls: move from testing
Diffstat (limited to 'main/py-gnutls')
-rw-r--r--main/py-gnutls/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/py-gnutls/APKBUILD b/main/py-gnutls/APKBUILD
new file mode 100644
index 0000000000..abaf404112
--- /dev/null
+++ b/main/py-gnutls/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+
+pkgname=py-gnutls
+_name=python-gnutls
+pkgver=1.2.2
+pkgrel=0
+pkgdesc="Python wrapper for the GNUTLS library"
+url="http://pypi.python.org/pypi/python-gnutls"
+arch="all"
+license="PSF"
+depends="python"
+makedepends="python-dev gnutls-dev"
+install=
+subpackages=""
+source="http://pypi.python.org/packages/source/p/$_name/$_name-$pkgver.tar.gz"
+
+_buildroot=${srcdir}/${_name}-${pkgver}
+build() {
+ cd ${_buildroot}
+ python setup.py build
+}
+
+package() {
+ cd ${_buildroot}
+ python setup.py install --root="$pkgdir"
+}
+
+md5sums="1ca32b3e2d22ca33a15222191efc04aa python-gnutls-1.2.2.tar.gz"