diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-05 12:43:49 +0000 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-09-08 14:34:59 +0200 |
commit | 462291565dcef0bd79f361463a3d836c72ee8ae5 (patch) | |
tree | b1e6a03438af90c395d1b26e96a520f3895dab95 /main | |
parent | 8558d56d05262fa319aaaa27b8d139923db7f5dc (diff) | |
download | aports-462291565dcef0bd79f361463a3d836c72ee8ae5.tar.bz2 aports-462291565dcef0bd79f361463a3d836c72ee8ae5.tar.xz |
main/py-gnutls: update layout
Diffstat (limited to 'main')
-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" |