aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-gnutls/APKBUILD
blob: f06f23fac2dce8996e8dcef26d216ad5784543e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-gnutls
_pkgname=python-gnutls
pkgver=1.2.4
pkgrel=0
pkgdesc="Python wrapper for the GNUTLS library"
url="http://pypi.python.org/pypi/python-gnutls"
arch="all"
license="PSF"
depends=""
makedepends="python-dev gnutls-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_buildroot=${srcdir}/${_pkgname}-${pkgver}
build() {
	cd ${_buildroot}
	python setup.py build || return 1
}

package() {
	cd ${_buildroot}
	python setup.py install --root="$pkgdir" || return 1
}

md5sums="e3536c421291a791869d875a41dcb26a  python-gnutls-1.2.4.tar.gz"
sha256sums="c768dc052cc188ceaabac5cdb16695d77a1ed59e4f7c4159715fd34a57cce15e  python-gnutls-1.2.4.tar.gz"
sha512sums="230fa52b6beafee599650bf432ed260ddeadf4884cc6dae95e7c6d9c30f332bf15d6bfa043f7a1473749618f2e9518f86e518661b8eb98d8e2371aecb209f0eb  python-gnutls-1.2.4.tar.gz"