Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2001 16:09:40 +0200 (SAST)
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27737: New port: net/py-xmlrpclib
Message-ID:  <200105291409.f4TE9eL23515@shuffle.egenetics.com>

next in thread | raw e-mail | index | archive | help

>Number:         27737
>Category:       ports
>Synopsis:       New port: net/py-xmlrpclib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 29 07:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Johann Visagie
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Electric Genetics
>Environment:
>Description:
- A port of Fredrik Lundh's xmlrpclib, the original implementation of the
  XML-RPC protocol for Python.  This module is still widely depended upon by
  various other Python modules and applications.
- This is not to be confused with the Python implementation of XML-RPC which
  can currently be found in the port net/py-xmlrpc.  The latter is a faster
  reimplementation based around a C++ core.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-xmlrpclib
#	py-xmlrpclib/Makefile
#	py-xmlrpclib/distinfo
#	py-xmlrpclib/pkg-comment
#	py-xmlrpclib/pkg-plist
#	py-xmlrpclib/pkg-descr
#
echo c - py-xmlrpclib
mkdir -p py-xmlrpclib > /dev/null 2>&1
echo x - py-xmlrpclib/Makefile
sed 's/^X//' >py-xmlrpclib/Makefile << 'END-of-py-xmlrpclib/Makefile'
X# New ports collection makefile for:	py-xmlrpclib
X# Date created:		29 May 2001
X# Whom:	      		Johann Visagie <johann@egenetics.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xmlrpclib
XPORTVERSION=	0.9.9
XCATEGORIES=	net python
XMASTER_SITES=	http://www.pythonware.com/downloads/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	xmlrpc-${PORTVERSION}-010226
X
XMAINTAINER=	johann@egenetics.com
X
XUSE_PYTHON=	yes
XUSE_ZIP=	yes
XNO_WRKSUBDIR=	yes
X
XXRL_DOCDIR=	${PREFIX}/share/doc/py-xmlrpclib
XXRL_EGDIR=	${PREFIX}/share/examples/py-xmlrpclib
X
Xdo-build:
X	@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
X	@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
X
Xdo-install:
X	@ ${INSTALL_DATA} ${WRKSRC}/xmlrpclib.py* \
X	  ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
X	@ ${MKDIR} ${XRL_EGDIR}
X.for egfile in xmlrpcserver.py xmlrpc_handler.py
X	@ ${INSTALL_DATA} ${WRKSRC}/${egfile} ${XRL_EGDIR}
X.endfor
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${XRL_DOCDIR}
X	@ ${INSTALL_MAN} ${WRKSRC}/README ${XRL_DOCDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-py-xmlrpclib/Makefile
echo x - py-xmlrpclib/distinfo
sed 's/^X//' >py-xmlrpclib/distinfo << 'END-of-py-xmlrpclib/distinfo'
XMD5 (xmlrpc-0.9.9-010226.zip) = 49d877913f712e1fa24d1072d4898cb6
END-of-py-xmlrpclib/distinfo
echo x - py-xmlrpclib/pkg-comment
sed 's/^X//' >py-xmlrpclib/pkg-comment << 'END-of-py-xmlrpclib/pkg-comment'
XA Python implementation of the XML-RPC protocol
END-of-py-xmlrpclib/pkg-comment
echo x - py-xmlrpclib/pkg-plist
sed 's/^X//' >py-xmlrpclib/pkg-plist << 'END-of-py-xmlrpclib/pkg-plist'
X%%PORTDOCS%%share/doc/py-xmlrpclib/README
Xlib/%%PYTHON_VERSION%%/site-packages/xmlrpclib.py
Xlib/%%PYTHON_VERSION%%/site-packages/xmlrpclib.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/xmlrpclib.pyo
Xshare/examples/py-xmlrpclib/xmlrpc_handler.py
Xshare/examples/py-xmlrpclib/xmlrpcserver.py
X@dirrm share/examples/py-xmlrpclib
X%%PORTDOCS%%@dirrm share/doc/py-xmlrpclib
END-of-py-xmlrpclib/pkg-plist
echo x - py-xmlrpclib/pkg-descr
sed 's/^X//' >py-xmlrpclib/pkg-descr << 'END-of-py-xmlrpclib/pkg-descr'
XFredrik Lundh's original and widely used Python implementation of Userland's
XXML-RPC protocol (http://www.xmlrpc.com/) is tightly integrated with Python
Xand extremely simple to use.  It includes a simple example server based on
XPython's SocketServer class, and an XML-RPC handler for Medusa.
X
XVersion 0.9.9 is regarded as a beta-quality development release.
X
XAuthor: Fredrik Lundh <fredrik@pythonware.com>
XWWW:    http://www.pythonware.com/products/xmlrpc/
X
X-- Johann Visagie <johann@egenetics.com>
END-of-py-xmlrpclib/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105291409.f4TE9eL23515>