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/pkg-req | |
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/pkg-req')
-rw-r--r-- | net/py-zsi/pkg-req | 17 |
1 files changed, 17 insertions, 0 deletions
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 |