summaryrefslogtreecommitdiff
path: root/community/python-gnutls/PKGBUILD
blob: e2b7fcd88cfbdc6482405b947e92a1ffc2401e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 50668 2011-06-29 11:39:49Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Hugo Doria <hugo@archlinux.org>
# Contributor: N3RD3X <n3rd3x@linuxmail.org>

pkgname=python-gnutls
pkgver=1.2.1
pkgrel=2
pkgdesc="Python wrapper for the GNUTLS library"
arch=('i686' 'x86_64')
url="http://cheeseshop.python.org/pypi/python-gnutls"
depends=('python2' 'gnutls')
license=('LGPL')
source=(http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('b02d29b47830bbd8aec0b13206c2800e')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  sed -i "s|openpgp_\(privkey_sign_hash\)|\1|g" gnutls/library/functions.py
  python2 setup.py install --root=${pkgdir}
}