diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2001-09-17 09:06:52 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2001-09-17 09:06:52 +0000 |
commit | d2fc60ddc26a9801697615a69889ed7784cfefbc (patch) | |
tree | b53a91b18b1f0fe25b21e05814519de21a03efe5 /net/py-zsi | |
parent | Do not static link everything (including libc) but just compile in (diff) |
Add py-zsi 1.1, a pure Python module that provides an
implementation of SOAP 1.1.
Notes
Notes:
svn path=/head/; revision=47907
Diffstat (limited to 'net/py-zsi')
-rw-r--r-- | net/py-zsi/Makefile | 41 | ||||
-rw-r--r-- | net/py-zsi/distinfo | 1 | ||||
-rw-r--r-- | net/py-zsi/pkg-comment | 1 | ||||
-rw-r--r-- | net/py-zsi/pkg-descr | 14 | ||||
-rw-r--r-- | net/py-zsi/pkg-plist | 63 | ||||
-rw-r--r-- | net/py-zsi/pkg-req | 17 |
6 files changed, 137 insertions, 0 deletions
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 <wjv@FreeBSD.org> +# +# $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 <bsd.port.mk> 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 <zsi@zolera.com>. + +Author: Rich Salz <rsalz@zolera.com> +WWW: http://www.zolera.com/resources/opensrc/zsi/ + +-- Johann Visagie <wjv@FreeBSD.org> 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 |