diff options
author | wjv <wjv@FreeBSD.org> | 2001-06-19 19:39:02 +0800 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2001-06-19 19:39:02 +0800 |
commit | f307c1b9200b198369a08b85bfb3cf5fbe260af5 (patch) | |
tree | 91c3c49c8aeb450977292492cd09801c5994c9c8 /net/py-xmlrpclib | |
parent | 71a6052ab41dd61b87b9e383a46fcdc32c19d0c6 (diff) | |
download | freebsd-ports-gnome-f307c1b9200b198369a08b85bfb3cf5fbe260af5.tar.gz freebsd-ports-gnome-f307c1b9200b198369a08b85bfb3cf5fbe260af5.tar.zst freebsd-ports-gnome-f307c1b9200b198369a08b85bfb3cf5fbe260af5.zip |
Add py-xmlrpclib 0.9.9, a Python implementation of the XML-RPC
protocol.
PR: 27737
Submitted by: Johann Visagie <johann@egenetics.com>
Diffstat (limited to 'net/py-xmlrpclib')
-rw-r--r-- | net/py-xmlrpclib/Makefile | 42 | ||||
-rw-r--r-- | net/py-xmlrpclib/distinfo | 1 | ||||
-rw-r--r-- | net/py-xmlrpclib/pkg-comment | 1 | ||||
-rw-r--r-- | net/py-xmlrpclib/pkg-descr | 11 | ||||
-rw-r--r-- | net/py-xmlrpclib/pkg-plist | 8 |
5 files changed, 63 insertions, 0 deletions
diff --git a/net/py-xmlrpclib/Makefile b/net/py-xmlrpclib/Makefile new file mode 100644 index 000000000000..ba216931ebb2 --- /dev/null +++ b/net/py-xmlrpclib/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: py-xmlrpclib +# Date created: 29 May 2001 +# Whom: Johann Visagie <johann@egenetics.com> +# +# $FreeBSD$ +# + +PORTNAME= xmlrpclib +PORTVERSION= 0.9.9 +CATEGORIES= net python +MASTER_SITES= http://www.pythonware.com/downloads/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= xmlrpc-${PORTVERSION}-010226 + +MAINTAINER= wjv@FreeBSD.org + +USE_PYTHON= yes +USE_ZIP= yes +NO_WRKSUBDIR= yes + +XRL_DOCDIR= ${PREFIX}/share/doc/py-xmlrpclib +XRL_EGDIR= ${PREFIX}/share/examples/py-xmlrpclib + +do-build: + @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + @ ${INSTALL_DATA} ${WRKSRC}/xmlrpclib.py* \ + ${PREFIX}/lib/${PYTHON_VERSION}/site-packages + @ ${MKDIR} ${XRL_EGDIR} +.for egfile in xmlrpcserver.py xmlrpc_handler.py + @ ${INSTALL_DATA} ${WRKSRC}/${egfile} ${XRL_EGDIR} +.endfor + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${XRL_DOCDIR} + @ ${INSTALL_MAN} ${WRKSRC}/README ${XRL_DOCDIR} +.endif + +.include <bsd.port.mk> diff --git a/net/py-xmlrpclib/distinfo b/net/py-xmlrpclib/distinfo new file mode 100644 index 000000000000..b8a0c72d3fbc --- /dev/null +++ b/net/py-xmlrpclib/distinfo @@ -0,0 +1 @@ +MD5 (xmlrpc-0.9.9-010226.zip) = 49d877913f712e1fa24d1072d4898cb6 diff --git a/net/py-xmlrpclib/pkg-comment b/net/py-xmlrpclib/pkg-comment new file mode 100644 index 000000000000..24926faafa7a --- /dev/null +++ b/net/py-xmlrpclib/pkg-comment @@ -0,0 +1 @@ +A Python implementation of the XML-RPC protocol diff --git a/net/py-xmlrpclib/pkg-descr b/net/py-xmlrpclib/pkg-descr new file mode 100644 index 000000000000..d511fbd39460 --- /dev/null +++ b/net/py-xmlrpclib/pkg-descr @@ -0,0 +1,11 @@ +Fredrik Lundh's original and widely used Python implementation of Userland's +XML-RPC protocol (http://www.xmlrpc.com/) is tightly integrated with Python +and extremely simple to use. It includes a simple example server based on +Python's SocketServer class, and an XML-RPC handler for Medusa. + +Version 0.9.9 is regarded as a beta-quality development release. + +Author: Fredrik Lundh <fredrik@pythonware.com> +WWW: http://www.pythonware.com/products/xmlrpc/ + +-- Johann Visagie <johann@egenetics.com> diff --git a/net/py-xmlrpclib/pkg-plist b/net/py-xmlrpclib/pkg-plist new file mode 100644 index 000000000000..5e519172aced --- /dev/null +++ b/net/py-xmlrpclib/pkg-plist @@ -0,0 +1,8 @@ +%%PORTDOCS%%share/doc/py-xmlrpclib/README +lib/%%PYTHON_VERSION%%/site-packages/xmlrpclib.py +lib/%%PYTHON_VERSION%%/site-packages/xmlrpclib.pyc +lib/%%PYTHON_VERSION%%/site-packages/xmlrpclib.pyo +share/examples/py-xmlrpclib/xmlrpc_handler.py +share/examples/py-xmlrpclib/xmlrpcserver.py +@dirrm share/examples/py-xmlrpclib +%%PORTDOCS%%@dirrm share/doc/py-xmlrpclib |