let this build with python 2.5

ok martynas@
This commit is contained in:
steven 2007-10-06 14:27:52 +00:00
parent 63bd3b32a3
commit b237253b43
5 changed files with 62 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2007/09/16 02:53:11 merdely Exp $
# $OpenBSD: Makefile,v 1.4 2007/10/06 14:27:52 steven Exp $
COMMENT= Python API for SOAP HTTP/RPC
DISTNAME= SOAPpy-0.11.6
PKGNAME= ${DISTNAME:S/^/py-/}p0
PKGNAME= ${DISTNAME:S/^/py-/}p1
CATEGORIES= devel www
HOMEPAGE= http://pywebsvcs.sourceforge.net/

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-SOAPpy_Client_py,v 1.1 2007/10/06 14:27:52 steven Exp $
--- SOAPpy/Client.py.orig Tue Sep 25 11:25:19 2007
+++ SOAPpy/Client.py Tue Sep 25 11:25:24 2007
@@ -40,10 +40,10 @@
################################################################################
"""
+from __future__ import nested_scopes
ident = '$Id: patch-SOAPpy_Client_py,v 1.1 2007/10/06 14:27:52 steven Exp $'
from version import __version__
-from __future__ import nested_scopes
#import xml.sax
import urllib

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-SOAPpy_GSIServer_py,v 1.1 2007/10/06 14:27:52 steven Exp $
--- SOAPpy/GSIServer.py.orig Tue Sep 25 11:26:31 2007
+++ SOAPpy/GSIServer.py Tue Sep 25 11:26:39 2007
@@ -43,10 +43,10 @@ GSIServer - Contributed by Ivan R. Judson <judson@mcs.
################################################################################
"""
+from __future__ import nested_scopes
ident = '$Id: patch-SOAPpy_GSIServer_py,v 1.1 2007/10/06 14:27:52 steven Exp $'
from version import __version__
-from __future__ import nested_scopes
#import xml.sax
import re

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-SOAPpy_Server_py,v 1.1 2007/10/06 14:27:52 steven Exp $
--- SOAPpy/Server.py.orig Tue Sep 25 11:25:34 2007
+++ SOAPpy/Server.py Tue Sep 25 11:25:39 2007
@@ -40,10 +40,10 @@
################################################################################
"""
+from __future__ import nested_scopes
ident = '$Id: patch-SOAPpy_Server_py,v 1.1 2007/10/06 14:27:52 steven Exp $'
from version import __version__
-from __future__ import nested_scopes
#import xml.sax
import re

View File

@ -1,6 +1,18 @@
$OpenBSD: patch-SOAPpy_Types_py,v 1.1.1.1 2005/11/12 00:57:13 djm Exp $
--- SOAPpy/Types.py.orig Sat Sep 11 13:03:33 2004
+++ SOAPpy/Types.py Fri Nov 11 18:52:56 2005
$OpenBSD: patch-SOAPpy_Types_py,v 1.2 2007/10/06 14:27:52 steven Exp $
--- SOAPpy/Types.py.orig Sat Sep 11 05:03:33 2004
+++ SOAPpy/Types.py Tue Sep 25 11:25:16 2007
@@ -33,10 +33,10 @@
################################################################################
"""
+from __future__ import nested_scopes
ident = '$Id: patch-SOAPpy_Types_py,v 1.2 2007/10/06 14:27:52 steven Exp $'
from version import __version__
-from __future__ import nested_scopes
import UserList
import base64
@@ -590,7 +590,7 @@ class timeType(anyType):
d = self._data
s = ''