Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=145ec3199c8da51a5954a479b81937392aed7868
commit 145ec3199c8da51a5954a479b81937392aed7868 Author: Miklos Vajna <[email protected]> Date: Tue Dec 30 03:52:14 2008 +0100 python-gnutls-1.1.6-3-i686 - added patch to silence a python-2.6 warning diff --git a/source/devel-extra/python-gnutls/FrugalBuild b/source/devel-extra/python-gnutls/FrugalBuild index 73ba780..76d879f 100644 --- a/source/devel-extra/python-gnutls/FrugalBuild +++ b/source/devel-extra/python-gnutls/FrugalBuild @@ -3,15 +3,17 @@ pkgname=python-gnutls pkgver=1.1.6 -pkgrel=2 +pkgrel=3 pkgdesc="Python wrapper for the GNUTLS library" url="http://pypi.python.org/pypi/$pkgname" depends=('gnutls>=2.4.1' 'python-ctypes') groups=('devel-extra') archs=('i686' 'x86_64') up2date="Flasttar $url" -source=(http://pypi.python.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz) -sha1sums=('37085e458f35129da999a0f5562167ce8bc2fc6a') +source=(http://pypi.python.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz \ + python26.patch) +sha1sums=('37085e458f35129da999a0f5562167ce8bc2fc6a' \ + 'b5a3a4b3ee5c756abd0d4acbe38006961d20c6d8') build() { diff --git a/source/devel-extra/python-gnutls/python26.patch b/source/devel-extra/python-gnutls/python26.patch new file mode 100644 index 0000000..da991e7 --- /dev/null +++ b/source/devel-extra/python-gnutls/python26.patch @@ -0,0 +1,13 @@ +diff --git a/gnutls/crypto.py b/gnutls/crypto.py +index 452c5f2..d330144 100644 +--- a/gnutls/crypto.py ++++ b/gnutls/crypto.py +@@ -42,7 +42,7 @@ class X509Name(str): + __metaclass__ = X509NameMeta + + def __init__(self, dname): +- str.__init__(self, dname) ++ str.__init__(self) + pairs = [x.replace('\,', ',') for x in re.split(r'(?<!\\),\s*', dname)] + for pair in pairs: + try: _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
