Index: head/net/py-soap2py/Makefile =================================================================== --- head/net/py-soap2py/Makefile (revision 436097) +++ head/net/py-soap2py/Makefile (revision 436098) @@ -1,23 +1,28 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= soap2py -PORTVERSION= 1.10 -PORTREVISION= 1 +PORTVERSION= 1.16 CATEGORIES= net www python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Python Simple SOAP Library +COMMENT= Python simple and lightweight SOAP Library -LICENSE= LGPL3 +LICENSE= LGPL3+ NO_ARCH= yes USE_PYTHON= autoplist concurrent distutils USES= python -GH_ACCOUNT= pysimplesoap -GH_PROJECT= pysimplesoap -USE_GITHUB= yes +X_PLIST_FILES= %%PYTHON_SITELIBDIR%%/soap2py-1.16-py%%PYTHON_VER%%.egg-info/PKG-INFO \ + %%PYTHON_SITELIBDIR%%/soap2py-1.16-py%%PYTHON_VER%%.egg-info/SOURCES.txt \ + %%PYTHON_SITELIBDIR%%/soap2py-1.16-py%%PYTHON_VER%%.egg-info/dependency_links.txt \ + %%PYTHON_SITELIBDIR%%/soap2py-1.16-py%%PYTHON_VER%%.egg-info/top_level.txt +PLIST_FILES= ${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO}/PKG-INFO \ + ${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO}/SOURCES.txt \ + ${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO}/dependency_links.txt \ + ${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO}/top_level.txt .include Index: head/net/py-soap2py/distinfo =================================================================== --- head/net/py-soap2py/distinfo (revision 436097) +++ head/net/py-soap2py/distinfo (revision 436098) @@ -1,2 +1,3 @@ -SHA256 (pysimplesoap-pysimplesoap-1.10_GH0.tar.gz) = b7665ced6be9ce925b11d3a1a88d1ca2cdecda2ae3bb7490a891cc4ee9878ca0 -SIZE (pysimplesoap-pysimplesoap-1.10_GH0.tar.gz) = 37522 +TIMESTAMP = 1489401657 +SHA256 (soap2py-1.16.tar.gz) = 69a6253f8f6ac8d6b69369fb7b17eb595e8b185ca3e9fc90a21601c66265f9cb +SIZE (soap2py-1.16.tar.gz) = 40032 Index: head/net/py-soap2py/files/patch-pysimplesoap-c14n.py =================================================================== --- head/net/py-soap2py/files/patch-pysimplesoap-c14n.py (nonexistent) +++ head/net/py-soap2py/files/patch-pysimplesoap-c14n.py (revision 436098) @@ -0,0 +1,32 @@ +--- pysimplesoap/c14n.py.orig 2014-09-17 01:42:27 UTC ++++ pysimplesoap/c14n.py +@@ -174,7 +174,7 @@ class _implementation: + elif node.nodeType == Node.DOCUMENT_TYPE_NODE: + pass + else: +- raise TypeError, str(node) ++ raise TypeError(str(node)) + + + def _inherit_context(self, node): +@@ -217,7 +217,7 @@ class _implementation: + elif child.nodeType == Node.DOCUMENT_TYPE_NODE: + pass + else: +- raise TypeError, str(child) ++ raise TypeError(str(child)) + handlers[Node.DOCUMENT_NODE] = _do_document + + +@@ -346,9 +346,9 @@ class _implementation: + + if not ns_rendered.has_key(prefix) and not ns_local.has_key(prefix): + if not ns_unused_inherited.has_key(prefix): +- raise RuntimeError,\ ++ raise RuntimeError(\ + 'For exclusive c14n, unable to map prefix "%s" in %s' %( +- prefix, node) ++ prefix, node)) + + ns_local[prefix] = ns_unused_inherited[prefix] + del ns_unused_inherited[prefix] Property changes on: head/net/py-soap2py/files/patch-pysimplesoap-c14n.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py =================================================================== --- head/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py (nonexistent) +++ head/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py (revision 436098) @@ -0,0 +1,21 @@ +--- pysimplesoap/xmlsec.py.orig 2014-09-17 02:33:34 UTC ++++ pysimplesoap/xmlsec.py +@@ -203,15 +203,15 @@ def x509_verify(cacert, cert, binary=Fal + if __name__ == "__main__": + # basic test of enveloping signature (the reference is a part of the xml) + sample_xml = """data""" +- print canonicalize(sample_xml) ++ print(canonicalize(sample_xml)) + vars = rsa_sign(sample_xml, '#object', "no_encriptada.key", "password") +- print SIGNED_TMPL % vars ++ print(SIGNED_TMPL % vars) + + # basic test of enveloped signature (the reference is the document itself) + sample_xml = """data%s""" + vars = rsa_sign(sample_xml % "", '', "no_encriptada.key", "password", + sign_template=SIGN_ENV_TMPL, c14n_exc=False) +- print sample_xml % (SIGNATURE_TMPL % vars) ++ print(sample_xml % (SIGNATURE_TMPL % vars)) + + # basic signature verification: + public_key = x509_extract_rsa_public_key(open("zunimercado.crt").read()) Property changes on: head/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/py-soap2py/pkg-descr =================================================================== --- head/net/py-soap2py/pkg-descr (revision 436097) +++ head/net/py-soap2py/pkg-descr (revision 436098) @@ -1,21 +1,22 @@ PySimpleSOAP (Python Simple SOAP) library for client and server webservices interfaces, aimed to be as small and easy as possible, supporting most common functionality. Initially it was inspired by PHP Soap Extension (mimicking it functionality, simplicity and ease of use), with many advanced features added. Goals: - Simple: less than 200LOC client/server concrete implementation for easy maintainability and enhancments. - Flexible: adapted to several SOAP dialects (Java Axis, .Net, JBoss), with the posibility of fine-tuning XML request and responses - Pythonic: no artifacts, no class generation, no special types, RPC calls parameters and return values are simple python structures (dicts, list, etc.) - Dynamic: no definition (WSDL) required, dynamic generation and parsing supported (cached in a pickle file for performance, supporting fixing broken WSDL) - Easy: simple xml manipulation, including basic serialization and raw object-like access to SOAP messages - Extensible: supports several HTTP wrappers (httplib2, pycurl, urllib2) for special transport needs over SSL and proxy (ISA) +WWW: https://pypi.python.org/pypi/soap2py WWW: https://github.com/pysimplesoap/pysimplesoap