aboutsummaryrefslogtreecommitdiff
path: root/net/py-xmlrpclib
diff options
context:
space:
mode:
authorJohann Visagie <wjv@FreeBSD.org>2001-06-19 11:39:02 +0000
committerJohann Visagie <wjv@FreeBSD.org>2001-06-19 11:39:02 +0000
commit2693c9221d4a2db5efc5ad3059b97184a53c4dd5 (patch)
tree4302e392c7823a8042101b7d5c55aa49efb08ee7 /net/py-xmlrpclib
parent08524ceacce94f57ec538e6bb87cf60e6d64e310 (diff)
downloadports-2693c9221d4a2db5efc5ad3059b97184a53c4dd5.tar.gz
ports-2693c9221d4a2db5efc5ad3059b97184a53c4dd5.zip
Notes
Diffstat (limited to 'net/py-xmlrpclib')
-rw-r--r--net/py-xmlrpclib/Makefile42
-rw-r--r--net/py-xmlrpclib/distinfo1
-rw-r--r--net/py-xmlrpclib/pkg-comment1
-rw-r--r--net/py-xmlrpclib/pkg-descr11
-rw-r--r--net/py-xmlrpclib/pkg-plist8
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