================================ soappy:source=0.12.0-1 cvc rdiff soappy -1 /weasel.rpath.org@wgl:3-devel/0.12.0-1 ================================ 0.12.0-1 Filip Brcic (brcha@xxxxxxx) Sun Jan 10 13:34:12 2010 soappy 0.12.0 soappy.recipe: new --- /dev/null +++ soappy.recipe @@ -0,0 +30 @@ +# +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx> +# Distributed under the terms of the GNU General Public License v3 +# + +loadSuperClass('python') +class Soappy(CPackageRecipe, Python.VersionMixIn): + name = 'soappy' + version = '0.12.0' + + buildRequires = [ + 'fpconst:python', 'python:devel', 'pyxml:python', + 'm2crypto:python', + ] + + shortDesc = 'Python SOAP module' + longDesc = 'SOAP implementation for Python' + url = 'http://pywebsvcs.sourceforge.net/' + licenses = [ 'BSD' ] + categories = [ 'Development/Python' ] + + def setup(r): + r.setDefaultPython() + r.macros.archive_name = 'SOAPpy' + r.addArchive('mirror://sourceforge/pywebsvcs/') + r.addPatch('soappy-0.12.0-python-2.5-compat.patch') + + r.PythonSetup() + + r.Doc('docs/*') soappy-0.12.0-python-2.5-compat.patch: new --- /dev/null +++ soappy-0.12.0-python-2.5-compat.patch @@ -0,0 +68 @@ +diff -urN SOAPpy.orig/Client.py SOAPpy/Client.py +--- SOAPpy.orig/Client.py 2005-02-21 21:27:09.000000000 +0100 ++++ SOAPpy/Client.py 2007-01-07 15:46:13.000000000 +0100 +@@ -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 -urN SOAPpy.orig/GSIServer.py SOAPpy/GSIServer.py +--- SOAPpy.orig/GSIServer.py 2005-02-15 17:32:22.000000000 +0100 ++++ SOAPpy/GSIServer.py 2007-01-07 15:46:38.000000000 +0100 +@@ -43,11 +43,11 @@ + ################################################################################ + """ + ++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 -urN SOAPpy.orig/Server.py SOAPpy/Server.py +--- SOAPpy.orig/Server.py 2005-02-15 17:32:22.000000000 +0100 ++++ SOAPpy/Server.py 2007-01-07 15:46:59.000000000 +0100 +@@ -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 -urN SOAPpy.orig/Types.py SOAPpy/Types.py +--- SOAPpy.orig/Types.py 2005-02-22 05:29:43.000000000 +0100 ++++ SOAPpy/Types.py 2007-01-07 15:47:17.000000000 +0100 +@@ -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 SOAPpy-0.12.0.tar.gz: new Committed by: brcha