summaryrefslogtreecommitdiff
path: root/community/python-gnutls/PKGBUILD
blob: 992a476ef4067878df8cf6d5f42fcc663bc8ada0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 56532 2011-10-07 21:32:13Z 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.2
pkgrel=1
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=('1ca32b3e2d22ca33a15222191efc04aa')

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