aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-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
6 files changed, 64 insertions, 0 deletions
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 <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 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 <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 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