aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-gnutls/APKBUILD
blob: 1a1c67fc8c69c6298731561c8bab103e86ffeaf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>

pkgname=py-gnutls
_name=python-gnutls
pkgver=1.2.0
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"
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="18a7b92abdc1598b916d7ff5019b72bf  python-gnutls-1.2.0.tar.gz"