From d2fc60ddc26a9801697615a69889ed7784cfefbc Mon Sep 17 00:00:00 2001 From: Johann Visagie Date: Mon, 17 Sep 2001 09:06:52 +0000 Subject: [PATCH] Add py-zsi 1.1, a pure Python module that provides an implementation of SOAP 1.1. --- net/Makefile | 1 + net/py-zsi-devel/Makefile | 41 +++++++++++++++++++++++ net/py-zsi-devel/distinfo | 1 + net/py-zsi-devel/pkg-comment | 1 + net/py-zsi-devel/pkg-descr | 14 ++++++++ net/py-zsi-devel/pkg-plist | 63 ++++++++++++++++++++++++++++++++++++ net/py-zsi-devel/pkg-req | 17 ++++++++++ net/py-zsi/Makefile | 41 +++++++++++++++++++++++ net/py-zsi/distinfo | 1 + net/py-zsi/pkg-comment | 1 + net/py-zsi/pkg-descr | 14 ++++++++ net/py-zsi/pkg-plist | 63 ++++++++++++++++++++++++++++++++++++ net/py-zsi/pkg-req | 17 ++++++++++ 13 files changed, 275 insertions(+) create mode 100644 net/py-zsi-devel/Makefile create mode 100644 net/py-zsi-devel/distinfo create mode 100644 net/py-zsi-devel/pkg-comment create mode 100644 net/py-zsi-devel/pkg-descr create mode 100644 net/py-zsi-devel/pkg-plist create mode 100644 net/py-zsi-devel/pkg-req create mode 100644 net/py-zsi/Makefile create mode 100644 net/py-zsi/distinfo create mode 100644 net/py-zsi/pkg-comment create mode 100644 net/py-zsi/pkg-descr create mode 100644 net/py-zsi/pkg-plist create mode 100644 net/py-zsi/pkg-req diff --git a/net/Makefile b/net/Makefile index dc6c7e00c0bf..021a26e0188a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -323,6 +323,7 @@ SUBDIR += py-soap SUBDIR += py-xmlrpc SUBDIR += py-xmlrpclib + SUBDIR += py-zsi SUBDIR += qtella SUBDIR += queso SUBDIR += radius diff --git a/net/py-zsi-devel/Makefile b/net/py-zsi-devel/Makefile new file mode 100644 index 000000000000..86ecb70201a4 --- /dev/null +++ b/net/py-zsi-devel/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: py-zsi +# Date created: 17 September 2001 +# Whom: Johann Visagie +# +# $FreeBSD$ +# + +PORTNAME= zsi +PORTVERSION= 1.1 +CATEGORIES= net python +MASTER_SITES= http://www.zolera.com/resources/opensrc/zsi/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz + +MAINTAINER= wjv@FreeBSD.org + +RUN_DEPENDS= ${PYXML} + +USE_PYTHON= yes +WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION} + +do-build: + @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ + setup.py build + +pre-install: + @ ${SH} ${PKGREQ} INSTALL + +do-install: + @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ + setup.py install -c -O1 --prefix=${PREFIX} + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${DOCSDIR} +.for docfile in CHANGES README doc/zsi.* doc/*.tex + @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/net/py-zsi-devel/distinfo b/net/py-zsi-devel/distinfo new file mode 100644 index 000000000000..e71956452f98 --- /dev/null +++ b/net/py-zsi-devel/distinfo @@ -0,0 +1 @@ +MD5 (zsi-1.1.tgz) = a79c69d59bfd26ecb7ea6392753bd972 diff --git a/net/py-zsi-devel/pkg-comment b/net/py-zsi-devel/pkg-comment new file mode 100644 index 000000000000..5a6b2fb86eda --- /dev/null +++ b/net/py-zsi-devel/pkg-comment @@ -0,0 +1 @@ +A pure Python module that provides an implementation of SOAP 1.1 diff --git a/net/py-zsi-devel/pkg-descr b/net/py-zsi-devel/pkg-descr new file mode 100644 index 000000000000..6f4ddec86936 --- /dev/null +++ b/net/py-zsi-devel/pkg-descr @@ -0,0 +1,14 @@ +Paraphrasing the website: + + ZSI, the Zolera SOAP Infrastructure, is a pure Python module that provides + an implementation of the SOAP 1.1 specification. ZSI parses and generates + SOAP messages, and converts between native Python datatypes and SOAP + syntax. Simple client and server support are also provided. + + ZSI is built on top of DOM. It requires Python 2.0 or later, and PyXML 0.6 + or later. Feedback to . + +Author: Rich Salz +WWW: http://www.zolera.com/resources/opensrc/zsi/ + +-- Johann Visagie diff --git a/net/py-zsi-devel/pkg-plist b/net/py-zsi-devel/pkg-plist new file mode 100644 index 000000000000..b4d853f08504 --- /dev/null +++ b/net/py-zsi-devel/pkg-plist @@ -0,0 +1,63 @@ +%%PORTDOCS%%share/doc/zsi/CHANGES +%%PORTDOCS%%share/doc/zsi/README +%%PORTDOCS%%share/doc/zsi/c01-intro.tex +%%PORTDOCS%%share/doc/zsi/c02-samples.tex +%%PORTDOCS%%share/doc/zsi/c03-except.tex +%%PORTDOCS%%share/doc/zsi/c04-utils.tex +%%PORTDOCS%%share/doc/zsi/c05-parse.tex +%%PORTDOCS%%share/doc/zsi/c06-tc.tex +%%PORTDOCS%%share/doc/zsi/c07-writer.tex +%%PORTDOCS%%share/doc/zsi/c08-fault.tex +%%PORTDOCS%%share/doc/zsi/c09-resolve.tex +%%PORTDOCS%%share/doc/zsi/c10-dispatch.tex +%%PORTDOCS%%share/doc/zsi/zsi.css +%%PORTDOCS%%share/doc/zsi/zsi.html +%%PORTDOCS%%share/doc/zsi/zsi.pdf +%%PORTDOCS%%share/doc/zsi/zsi.ps +%%PORTDOCS%%share/doc/zsi/zsi.tex +%%PORTDOCS%%share/doc/zsi/zsi.xsd +%%PORTDOCS%%share/doc/zsi/zsixsd.tex +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TC.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TC.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TC.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCapache.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCapache.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCapache.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCcompound.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCcompound.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCcompound.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCnumbers.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCnumbers.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCnumbers.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCtimes.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCtimes.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCtimes.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/__init__.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/auth.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/auth.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/auth.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/client.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/client.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/client.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/dispatch.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/dispatch.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/dispatch.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/fault.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/fault.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/fault.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/parse.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/parse.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/parse.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/resolvers.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/resolvers.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/resolvers.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/version.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/version.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/version.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/writer.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/writer.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/writer.pyo +@dirrm lib/%%PYTHON_VERSION%%/site-packages/ZSI +%%PORTDOCS%%@dirrm share/doc/zsi diff --git a/net/py-zsi-devel/pkg-req b/net/py-zsi-devel/pkg-req new file mode 100644 index 000000000000..082883370094 --- /dev/null +++ b/net/py-zsi-devel/pkg-req @@ -0,0 +1,17 @@ +#!/bin/sh + +PATH=$PATH:/usr/local/bin + +if [ "x$1" = "xINSTALL" -o "x$2" = "xINSTALL" ]; then + PYTHON_GT=`python -c 'import string, sys; \ + print string.split(sys.version)[0] >= "2.0"'` + if [ "x${PYTHON_GT}" = "x1" ]; then + exit 0 + else + echo "-----------------------------------------------------------" + echo "ZSI requires Python version 2.0 or greater -" + echo " please update your Python installation before proceeding." + echo "-----------------------------------------------------------" + exit 1 + fi +fi diff --git a/net/py-zsi/Makefile b/net/py-zsi/Makefile new file mode 100644 index 000000000000..86ecb70201a4 --- /dev/null +++ b/net/py-zsi/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: py-zsi +# Date created: 17 September 2001 +# Whom: Johann Visagie +# +# $FreeBSD$ +# + +PORTNAME= zsi +PORTVERSION= 1.1 +CATEGORIES= net python +MASTER_SITES= http://www.zolera.com/resources/opensrc/zsi/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz + +MAINTAINER= wjv@FreeBSD.org + +RUN_DEPENDS= ${PYXML} + +USE_PYTHON= yes +WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION} + +do-build: + @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ + setup.py build + +pre-install: + @ ${SH} ${PKGREQ} INSTALL + +do-install: + @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ + setup.py install -c -O1 --prefix=${PREFIX} + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${DOCSDIR} +.for docfile in CHANGES README doc/zsi.* doc/*.tex + @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/net/py-zsi/distinfo b/net/py-zsi/distinfo new file mode 100644 index 000000000000..e71956452f98 --- /dev/null +++ b/net/py-zsi/distinfo @@ -0,0 +1 @@ +MD5 (zsi-1.1.tgz) = a79c69d59bfd26ecb7ea6392753bd972 diff --git a/net/py-zsi/pkg-comment b/net/py-zsi/pkg-comment new file mode 100644 index 000000000000..5a6b2fb86eda --- /dev/null +++ b/net/py-zsi/pkg-comment @@ -0,0 +1 @@ +A pure Python module that provides an implementation of SOAP 1.1 diff --git a/net/py-zsi/pkg-descr b/net/py-zsi/pkg-descr new file mode 100644 index 000000000000..6f4ddec86936 --- /dev/null +++ b/net/py-zsi/pkg-descr @@ -0,0 +1,14 @@ +Paraphrasing the website: + + ZSI, the Zolera SOAP Infrastructure, is a pure Python module that provides + an implementation of the SOAP 1.1 specification. ZSI parses and generates + SOAP messages, and converts between native Python datatypes and SOAP + syntax. Simple client and server support are also provided. + + ZSI is built on top of DOM. It requires Python 2.0 or later, and PyXML 0.6 + or later. Feedback to . + +Author: Rich Salz +WWW: http://www.zolera.com/resources/opensrc/zsi/ + +-- Johann Visagie diff --git a/net/py-zsi/pkg-plist b/net/py-zsi/pkg-plist new file mode 100644 index 000000000000..b4d853f08504 --- /dev/null +++ b/net/py-zsi/pkg-plist @@ -0,0 +1,63 @@ +%%PORTDOCS%%share/doc/zsi/CHANGES +%%PORTDOCS%%share/doc/zsi/README +%%PORTDOCS%%share/doc/zsi/c01-intro.tex +%%PORTDOCS%%share/doc/zsi/c02-samples.tex +%%PORTDOCS%%share/doc/zsi/c03-except.tex +%%PORTDOCS%%share/doc/zsi/c04-utils.tex +%%PORTDOCS%%share/doc/zsi/c05-parse.tex +%%PORTDOCS%%share/doc/zsi/c06-tc.tex +%%PORTDOCS%%share/doc/zsi/c07-writer.tex +%%PORTDOCS%%share/doc/zsi/c08-fault.tex +%%PORTDOCS%%share/doc/zsi/c09-resolve.tex +%%PORTDOCS%%share/doc/zsi/c10-dispatch.tex +%%PORTDOCS%%share/doc/zsi/zsi.css +%%PORTDOCS%%share/doc/zsi/zsi.html +%%PORTDOCS%%share/doc/zsi/zsi.pdf +%%PORTDOCS%%share/doc/zsi/zsi.ps +%%PORTDOCS%%share/doc/zsi/zsi.tex +%%PORTDOCS%%share/doc/zsi/zsi.xsd +%%PORTDOCS%%share/doc/zsi/zsixsd.tex +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TC.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TC.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TC.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCapache.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCapache.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCapache.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCcompound.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCcompound.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCcompound.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCnumbers.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCnumbers.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCnumbers.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCtimes.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCtimes.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/TCtimes.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/__init__.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/auth.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/auth.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/auth.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/client.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/client.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/client.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/dispatch.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/dispatch.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/dispatch.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/fault.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/fault.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/fault.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/parse.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/parse.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/parse.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/resolvers.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/resolvers.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/resolvers.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/version.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/version.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/version.pyo +lib/%%PYTHON_VERSION%%/site-packages/ZSI/writer.py +lib/%%PYTHON_VERSION%%/site-packages/ZSI/writer.pyc +lib/%%PYTHON_VERSION%%/site-packages/ZSI/writer.pyo +@dirrm lib/%%PYTHON_VERSION%%/site-packages/ZSI +%%PORTDOCS%%@dirrm share/doc/zsi diff --git a/net/py-zsi/pkg-req b/net/py-zsi/pkg-req new file mode 100644 index 000000000000..082883370094 --- /dev/null +++ b/net/py-zsi/pkg-req @@ -0,0 +1,17 @@ +#!/bin/sh + +PATH=$PATH:/usr/local/bin + +if [ "x$1" = "xINSTALL" -o "x$2" = "xINSTALL" ]; then + PYTHON_GT=`python -c 'import string, sys; \ + print string.split(sys.version)[0] >= "2.0"'` + if [ "x${PYTHON_GT}" = "x1" ]; then + exit 0 + else + echo "-----------------------------------------------------------" + echo "ZSI requires Python version 2.0 or greater -" + echo " please update your Python installation before proceeding." + echo "-----------------------------------------------------------" + exit 1 + fi +fi