From f307c1b9200b198369a08b85bfb3cf5fbe260af5 Mon Sep 17 00:00:00 2001 From: wjv Date: Tue, 19 Jun 2001 11:39:02 +0000 Subject: Add py-xmlrpclib 0.9.9, a Python implementation of the XML-RPC protocol. PR: 27737 Submitted by: Johann Visagie --- net/Makefile | 1 + net/py-xmlrpclib/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ net/py-xmlrpclib/distinfo | 1 + net/py-xmlrpclib/pkg-comment | 1 + net/py-xmlrpclib/pkg-descr | 11 +++++++++++ net/py-xmlrpclib/pkg-plist | 8 ++++++++ 6 files changed, 64 insertions(+) create mode 100644 net/py-xmlrpclib/Makefile create mode 100644 net/py-xmlrpclib/distinfo create mode 100644 net/py-xmlrpclib/pkg-comment create mode 100644 net/py-xmlrpclib/pkg-descr create mode 100644 net/py-xmlrpclib/pkg-plist (limited to 'net') diff --git a/net/Makefile b/net/Makefile index 20ba35fe683..589d185dc55 100644 --- a/net/Makefile +++ b/net/Makefile @@ -293,6 +293,7 @@ SUBDIR += pvm++ SUBDIR += py-soap SUBDIR += py-xmlrpc + SUBDIR += py-xmlrpclib SUBDIR += queso SUBDIR += radius SUBDIR += radiusclient diff --git a/net/py-xmlrpclib/Makefile b/net/py-xmlrpclib/Makefile new file mode 100644 index 00000000000..ba216931ebb --- /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 +# +# $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 diff --git a/net/py-xmlrpclib/distinfo b/net/py-xmlrpclib/distinfo new file mode 100644 index 00000000000..b8a0c72d3fb --- /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 00000000000..24926faafa7 --- /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 00000000000..d511fbd3946 --- /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 +WWW: http://www.pythonware.com/products/xmlrpc/ + +-- Johann Visagie diff --git a/net/py-xmlrpclib/pkg-plist b/net/py-xmlrpclib/pkg-plist new file mode 100644 index 00000000000..5e519172ace --- /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 -- cgit