summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/py-zsi/DESCR11
-rw-r--r--net/py-zsi/Makefile24
-rw-r--r--net/py-zsi/PLIST82
-rw-r--r--net/py-zsi/distinfo5
-rw-r--r--net/py-zsi/patches/patch-aa13
5 files changed, 135 insertions, 0 deletions
diff --git a/net/py-zsi/DESCR b/net/py-zsi/DESCR
new file mode 100644
index 00000000000..ff455b5ec6c
--- /dev/null
+++ b/net/py-zsi/DESCR
@@ -0,0 +1,11 @@
+ZSI, the Zolera SOAP Infrastructure, is a pure-Python module that
+provides an implementation of SOAP messaging, as described in The
+SOAP 1.1 Specification (see http://www.w3.org/TR/soap). It can also
+be used to build applications using SOAP Messages with Attachments.
+(see http://www.w3.org/TR/SOAP-attachments) ZSI is intended to make it
+easier to write web services in Python.
+
+In particular, ZSI parses and generates SOAP messages, and converts
+between native Python datatypes and SOAP syntax. Simple dispatch and
+invocation methods are supported. There are no known bugs. It's only
+known limitation is that it cannot handle multi-dimensional arrays.
diff --git a/net/py-zsi/Makefile b/net/py-zsi/Makefile
new file mode 100644
index 00000000000..5faaa7b999b
--- /dev/null
+++ b/net/py-zsi/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/24 10:30:33 recht Exp $
+#
+
+DISTNAME= ZSI-1.4.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pywebsvcs/}
+
+MAINTAINER= recht@NetBSD.org
+HOMEPAGE= http://pywebsvcs.sourceforge.net/
+COMMENT= SOAP implementation
+
+USE_BUILDLINK2= yes
+PYDISTUTILSPKG= yes
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-extract:
+ ${MV} ${WRKSRC}/scripts/wsdl2py \
+ ${WRKSRC}/scripts/wsdl2py-${PYVERSSUFFIX}
+
+.include "../../lang/python/extension.mk"
+.include "../../textproc/pyxml/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-zsi/PLIST b/net/py-zsi/PLIST
new file mode 100644
index 00000000000..70e91fb1004
--- /dev/null
+++ b/net/py-zsi/PLIST
@@ -0,0 +1,82 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/24 10:30:34 recht Exp $
+bin/wsdl2py-${PYVERSSUFFIX}
+${PYSITELIB}/ZSI/ServiceProxy.py
+${PYSITELIB}/ZSI/ServiceProxy.pyc
+${PYSITELIB}/ZSI/ServiceProxy.pyo
+${PYSITELIB}/ZSI/TC.py
+${PYSITELIB}/ZSI/TC.pyc
+${PYSITELIB}/ZSI/TC.pyo
+${PYSITELIB}/ZSI/TCapache.py
+${PYSITELIB}/ZSI/TCapache.pyc
+${PYSITELIB}/ZSI/TCapache.pyo
+${PYSITELIB}/ZSI/TCcompound.py
+${PYSITELIB}/ZSI/TCcompound.pyc
+${PYSITELIB}/ZSI/TCcompound.pyo
+${PYSITELIB}/ZSI/TCnumbers.py
+${PYSITELIB}/ZSI/TCnumbers.pyc
+${PYSITELIB}/ZSI/TCnumbers.pyo
+${PYSITELIB}/ZSI/TCtimes.py
+${PYSITELIB}/ZSI/TCtimes.pyc
+${PYSITELIB}/ZSI/TCtimes.pyo
+${PYSITELIB}/ZSI/__init__.py
+${PYSITELIB}/ZSI/__init__.pyc
+${PYSITELIB}/ZSI/__init__.pyo
+${PYSITELIB}/ZSI/auth.py
+${PYSITELIB}/ZSI/auth.pyc
+${PYSITELIB}/ZSI/auth.pyo
+${PYSITELIB}/ZSI/client.py
+${PYSITELIB}/ZSI/client.pyc
+${PYSITELIB}/ZSI/client.pyo
+${PYSITELIB}/ZSI/compat.py
+${PYSITELIB}/ZSI/compat.pyc
+${PYSITELIB}/ZSI/compat.pyo
+${PYSITELIB}/ZSI/dispatch.py
+${PYSITELIB}/ZSI/dispatch.pyc
+${PYSITELIB}/ZSI/dispatch.pyo
+${PYSITELIB}/ZSI/fault.py
+${PYSITELIB}/ZSI/fault.pyc
+${PYSITELIB}/ZSI/fault.pyo
+${PYSITELIB}/ZSI/parse.py
+${PYSITELIB}/ZSI/parse.pyc
+${PYSITELIB}/ZSI/parse.pyo
+${PYSITELIB}/ZSI/resolvers.py
+${PYSITELIB}/ZSI/resolvers.pyc
+${PYSITELIB}/ZSI/resolvers.pyo
+${PYSITELIB}/ZSI/typeinterpreter.py
+${PYSITELIB}/ZSI/typeinterpreter.pyc
+${PYSITELIB}/ZSI/typeinterpreter.pyo
+${PYSITELIB}/ZSI/version.py
+${PYSITELIB}/ZSI/version.pyc
+${PYSITELIB}/ZSI/version.pyo
+${PYSITELIB}/ZSI/writer.py
+${PYSITELIB}/ZSI/writer.pyc
+${PYSITELIB}/ZSI/writer.pyo
+${PYSITELIB}/ZSI/wsdl2python.py
+${PYSITELIB}/ZSI/wsdl2python.pyc
+${PYSITELIB}/ZSI/wsdl2python.pyo
+${PYSITELIB}/ZSI/wsdlInterface.py
+${PYSITELIB}/ZSI/wsdlInterface.pyc
+${PYSITELIB}/ZSI/wsdlInterface.pyo
+${PYSITELIB}/ZSI/wstools/TimeoutSocket.py
+${PYSITELIB}/ZSI/wstools/TimeoutSocket.pyc
+${PYSITELIB}/ZSI/wstools/TimeoutSocket.pyo
+${PYSITELIB}/ZSI/wstools/UserTuple.py
+${PYSITELIB}/ZSI/wstools/UserTuple.pyc
+${PYSITELIB}/ZSI/wstools/UserTuple.pyo
+${PYSITELIB}/ZSI/wstools/Utility.py
+${PYSITELIB}/ZSI/wstools/Utility.pyc
+${PYSITELIB}/ZSI/wstools/Utility.pyo
+${PYSITELIB}/ZSI/wstools/WSDLTools.py
+${PYSITELIB}/ZSI/wstools/WSDLTools.pyc
+${PYSITELIB}/ZSI/wstools/WSDLTools.pyo
+${PYSITELIB}/ZSI/wstools/XMLSchema.py
+${PYSITELIB}/ZSI/wstools/XMLSchema.pyc
+${PYSITELIB}/ZSI/wstools/XMLSchema.pyo
+${PYSITELIB}/ZSI/wstools/XMLname.py
+${PYSITELIB}/ZSI/wstools/XMLname.pyc
+${PYSITELIB}/ZSI/wstools/XMLname.pyo
+${PYSITELIB}/ZSI/wstools/__init__.py
+${PYSITELIB}/ZSI/wstools/__init__.pyc
+${PYSITELIB}/ZSI/wstools/__init__.pyo
+@dirrm ${PYSITELIB}/ZSI/wstools
+@dirrm ${PYSITELIB}/ZSI
diff --git a/net/py-zsi/distinfo b/net/py-zsi/distinfo
new file mode 100644
index 00000000000..520b063f694
--- /dev/null
+++ b/net/py-zsi/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/24 10:30:33 recht Exp $
+
+SHA1 (ZSI-1.4.1.tar.gz) = 998cb9cc1909ac187e6fc0d8c2179b931a6a7d44
+Size (ZSI-1.4.1.tar.gz) = 345491 bytes
+SHA1 (patch-aa) = 030157c727a75304c76691742a7d1813b925c4ab
diff --git a/net/py-zsi/patches/patch-aa b/net/py-zsi/patches/patch-aa
new file mode 100644
index 00000000000..c5b1f1955ad
--- /dev/null
+++ b/net/py-zsi/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/24 10:30:34 recht Exp $
+
+--- setup.py.orig 2003-10-16 11:19:09.000000000 +0200
++++ setup.py 2003-10-16 11:22:30.000000000 +0200
+@@ -24,7 +24,7 @@
+ version=_version,
+ license="Python",
+ packages=[ "ZSI", "ZSI.wstools" ],
+- scripts=["scripts/wsdl2py"],
++ scripts=["scripts/wsdl2py-%s" % sys.version[0:3]],
+ description="Zolera SOAP Infrastructure",
+ author="Rich Salz",
+ author_email="rsalz@datapower.com",