diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2009-11-23 08:28:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-23 15:42:04 +0000 |
commit | 81b9b186b952cc1fe2622f1a1be43f44ca4ad63d (patch) | |
tree | 35774d7fb88e84e7c0205e827b4cce06b2ddecb8 /testing/python-gnutls | |
parent | 250706b87318a9457d89b682ec1b535a22004798 (diff) | |
download | aports-81b9b186b952cc1fe2622f1a1be43f44ca4ad63d.tar.bz2 aports-81b9b186b952cc1fe2622f1a1be43f44ca4ad63d.tar.xz |
New Aport: GNUTLS support for python
Diffstat (limited to 'testing/python-gnutls')
-rw-r--r-- | testing/python-gnutls/APKBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/python-gnutls/APKBUILD b/testing/python-gnutls/APKBUILD new file mode 100644 index 000000000..943d06aae --- /dev/null +++ b/testing/python-gnutls/APKBUILD @@ -0,0 +1,23 @@ +# 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" |