diff options
Diffstat (limited to 'main/py-gnutls')
-rw-r--r-- | main/py-gnutls/APKBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/main/py-gnutls/APKBUILD b/main/py-gnutls/APKBUILD index 05dbddac60..f06f23fac2 100644 --- a/main/py-gnutls/APKBUILD +++ b/main/py-gnutls/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=py-gnutls -_name=python-gnutls +_pkgname=python-gnutls pkgver=1.2.4 pkgrel=0 pkgdesc="Python wrapper for the GNUTLS library" @@ -10,16 +10,21 @@ arch="all" license="PSF" depends="" makedepends="python-dev gnutls-dev" -install= +install="" subpackages="" -source="http://pypi.python.org/packages/source/p/$_name/$_name-$pkgver.tar.gz" -_buildroot=${srcdir}/${_name}-${pkgver} +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 + python setup.py build || return 1 } + package() { cd ${_buildroot} - python setup.py install --root="$pkgdir" + 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" |