Subject: [alpine-devel] new aport: python-gnutls

From: Francesco <[email-masked]>
Date: Mon, 23 Nov 2009 09:42:13 +0100

Needed by mediaproxy package.

:: Francesco Colista ::
From 268c4b4b04404b83da079c51213841ee9bda9f17 Mon Sep 17 00:00:00 2001
From: Francesco Colista <[email-masked]>
Date: Mon, 23 Nov 2009 08:28:24 +0000
Subject: [PATCH] New Aport: GNUTLS support for python

---
 testing/python-gnutls/APKBUILD |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 testing/python-gnutls/APKBUILD

diff --git a/testing/python-gnutls/APKBUILD b/testing/python-gnutls/APKBUILD
new file mode 100644
index 0000000..943d06a
--- /dev/null
+++ b/testing/python-gnutls/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: Francesco Colista <[email-masked]>
+# Maintainer: Francesco Colista <[email-masked]>
+
+pkgname=python-gnutls
+pkgver=1.1.9
+pkgrel=0
+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/$pkgname/$pkgname-$pkgver.tar.gz"
+build() {
+	cd "$srcdir"/$pkgname-$pkgver
+	mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
+	python setup.py install --root="$pkgdir"
+	echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$pkgname.pth
+
+}
+
+md5sums="bdd81a9dd3c2f87393cd6c014bf6885b  python-gnutls-1.1.9.tar.gz"
-- 
1.6.5.3