summaryrefslogtreecommitdiff
path: root/community/python2-gnutls/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/python2-gnutls/PKGBUILD
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/python2-gnutls/PKGBUILD')
-rw-r--r--community/python2-gnutls/PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/community/python2-gnutls/PKGBUILD b/community/python2-gnutls/PKGBUILD
index 3a7c86a04..42912d1bd 100644
--- a/community/python2-gnutls/PKGBUILD
+++ b/community/python2-gnutls/PKGBUILD
@@ -4,20 +4,27 @@
# Contributor: N3RD3X <n3rd3x@linuxmail.org>
pkgname=python2-gnutls
-pkgver=1.2.4
-pkgrel=2
+pkgver=1.2.5
+pkgrel=3
pkgdesc="Python wrapper for the GNUTLS library"
arch=('i686' 'x86_64')
url="http://cheeseshop.python.org/pypi/python-gnutls"
-depends=('python2' 'gnutls')
+depends=('python2' 'gnutls' 'libgcrypt')
license=('LGPL')
source=(http://pypi.python.org/packages/source/p/python-gnutls/python-gnutls-${pkgver}.tar.gz
- gnutls3.patch)
-md5sums=('e3536c421291a791869d875a41dcb26a'
- '24bc95d9f5e71e9f5e180706cbb09248')
+ libraryinit.patch
+ libraryfunctions.patch)
+md5sums=('a398a75b1f366857cf2628cf4d62dd34'
+ '28227b8626e8a7df81cf3b7dae88bd80'
+ '9907d3a446fdc3b33a70e57925d67298')
build() {
cd ${srcdir}/python-gnutls-${pkgver}
- patch -Np0 <$srcdir/gnutls3.patch
+ patch -Np0 <$srcdir/libraryinit.patch
+ patch -Np0 <$srcdir/libraryfunctions.patch
+}
+
+package() {
+ cd ${srcdir}/python-gnutls-${pkgver}
python2 setup.py install --root=${pkgdir}
}