Commit 81b9b186 authored by Francesco Colista's avatar Francesco Colista Committed by Natanael Copa

New Aport: GNUTLS support for python

parent 250706b8
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment