Date: Mon, 13 Mar 2017 17:48:51 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436098 - in head/net/py-soap2py: . files Message-ID: <201703131748.v2DHmphE067520@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Mar 13 17:48:51 2017 New Revision: 436098 URL: https://svnweb.freebsd.org/changeset/ports/436098 Log: Update to 1.16 - Change MASTER_SITES to CHEESESHOP - Update COMMENT - Update LICENSE - Add PyPI as primary WWW Changes: https://github.com/pysimplesoap/pysimplesoap/releases https://github.com/pysimplesoap/pysimplesoap/commits/master Added: head/net/py-soap2py/files/ head/net/py-soap2py/files/patch-pysimplesoap-c14n.py (contents, props changed) head/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py (contents, props changed) Modified: head/net/py-soap2py/Makefile head/net/py-soap2py/distinfo head/net/py-soap2py/pkg-descr Modified: head/net/py-soap2py/Makefile ============================================================================== --- head/net/py-soap2py/Makefile Mon Mar 13 17:47:17 2017 (r436097) +++ head/net/py-soap2py/Makefile Mon Mar 13 17:48:51 2017 (r436098) @@ -2,22 +2,27 @@ # $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 <bsd.port.mk> Modified: head/net/py-soap2py/distinfo ============================================================================== --- head/net/py-soap2py/distinfo Mon Mar 13 17:47:17 2017 (r436097) +++ head/net/py-soap2py/distinfo Mon Mar 13 17:48:51 2017 (r436098) @@ -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 Added: head/net/py-soap2py/files/patch-pysimplesoap-c14n.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-soap2py/files/patch-pysimplesoap-c14n.py Mon Mar 13 17:48:51 2017 (r436098) @@ -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] Added: head/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-soap2py/files/patch-pysimplesoap-xmlsec.py Mon Mar 13 17:48:51 2017 (r436098) @@ -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 = """<Object xmlns="http://www.w3.org/2000/09/xmldsig#" Id="object">data</Object>""" +- 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 = """<?xml version="1.0" encoding="UTF-8"?><Object>data%s</Object>""" + 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()) Modified: head/net/py-soap2py/pkg-descr ============================================================================== --- head/net/py-soap2py/pkg-descr Mon Mar 13 17:47:17 2017 (r436097) +++ head/net/py-soap2py/pkg-descr Mon Mar 13 17:48:51 2017 (r436098) @@ -18,4 +18,5 @@ Goals: - 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703131748.v2DHmphE067520>