From 2774979bf7baf6f346c84c2d0b1fff1f419947da Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Sat, 23 May 2009 13:15:07 +0000 Subject: [PATCH] missing patch svn path=/nixpkgs/trunk/; revision=15688 --- .../2.5/gentoo-python-2.5-compat.patch | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 pkgs/development/interpreters/python-new/2.5/gentoo-python-2.5-compat.patch diff --git a/pkgs/development/interpreters/python-new/2.5/gentoo-python-2.5-compat.patch b/pkgs/development/interpreters/python-new/2.5/gentoo-python-2.5-compat.patch new file mode 100644 index 00000000000..60c65faf015 --- /dev/null +++ b/pkgs/development/interpreters/python-new/2.5/gentoo-python-2.5-compat.patch @@ -0,0 +1,72 @@ +diff --git a/SOAPpy/Client.py b/SOAPpy/Client.py +index 7437049..13ba160 100644 +--- a/SOAPpy/Client.py ++++ b/SOAPpy/Client.py +@@ -40,11 +40,11 @@ + ################################################################################ + """ + ++from __future__ import nested_scopes ++ + ident = '$Id: Client.py,v 1.27 2005/02/21 20:27:09 warnes Exp $' + from version import __version__ + +-from __future__ import nested_scopes +- + #import xml.sax + import urllib + from types import * +diff --git a/SOAPpy/GSIServer.py b/SOAPpy/GSIServer.py +index 48c1303..c7ad13d 100644 +--- a/SOAPpy/GSIServer.py ++++ b/SOAPpy/GSIServer.py +@@ -43,11 +43,11 @@ GSIServer - Contributed by Ivan R. Judson + ################################################################################ + """ + ++from __future__ import nested_scopes ++ + ident = '$Id: GSIServer.py,v 1.5 2005/02/15 16:32:22 warnes Exp $' + from version import __version__ + +-from __future__ import nested_scopes +- + #import xml.sax + import re + import socket +diff --git a/SOAPpy/Server.py b/SOAPpy/Server.py +index b28153d..76ce0b4 100644 +--- a/SOAPpy/Server.py ++++ b/SOAPpy/Server.py +@@ -40,11 +40,11 @@ + ################################################################################ + """ + ++from __future__ import nested_scopes ++ + ident = '$Id: Server.py,v 1.21 2005/02/15 16:32:22 warnes Exp $' + from version import __version__ + +-from __future__ import nested_scopes +- + #import xml.sax + import re + import socket +diff --git a/SOAPpy/Types.py b/SOAPpy/Types.py +index 6cc5456..62d44b2 100644 +--- a/SOAPpy/Types.py ++++ b/SOAPpy/Types.py +@@ -33,11 +33,11 @@ + ################################################################################ + """ + ++from __future__ import nested_scopes ++ + ident = '$Id: Types.py,v 1.19 2005/02/22 04:29:43 warnes Exp $' + from version import __version__ + +-from __future__ import nested_scopes +- + import UserList + import base64 + import cgi