From 6789395427193c1d40c8899cb3293a57d359c13f Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 22 Mar 2002 10:37:44 +0000 Subject: add py-ro 2.5 Python Remote Objects --- devel/Makefile | 1 + devel/py-ro/Makefile | 37 +++++++++ devel/py-ro/distinfo | 1 + devel/py-ro/files/patch-setup.py | 20 +++++ devel/py-ro/pkg-comment | 1 + devel/py-ro/pkg-descr | 8 ++ devel/py-ro/pkg-plist | 168 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 236 insertions(+) create mode 100644 devel/py-ro/Makefile create mode 100644 devel/py-ro/distinfo create mode 100644 devel/py-ro/files/patch-setup.py create mode 100644 devel/py-ro/pkg-comment create mode 100644 devel/py-ro/pkg-descr create mode 100644 devel/py-ro/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index a4517aba330d..7d7831c0d26d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -552,6 +552,7 @@ SUBDIR += py-period SUBDIR += py-pqueue SUBDIR += py-reverse + SUBDIR += py-ro SUBDIR += py-spark SUBDIR += py-twisted SUBDIR += py-unit diff --git a/devel/py-ro/Makefile b/devel/py-ro/Makefile new file mode 100644 index 000000000000..bd1c74d82454 --- /dev/null +++ b/devel/py-ro/Makefile @@ -0,0 +1,37 @@ +# ex:ts=8 +# Ports collection makefile for: py-ro +# Date created: Mar 22, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= ro +PORTVERSION= 2.5 +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pyro +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= Pyro-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +USE_PYTHON= yes + +SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py + +do-build: + @${SETUP_CMD} build + +do-install: + @${SETUP_CMD} install + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} +.endif + +.include diff --git a/devel/py-ro/distinfo b/devel/py-ro/distinfo new file mode 100644 index 000000000000..19d481770761 --- /dev/null +++ b/devel/py-ro/distinfo @@ -0,0 +1 @@ +MD5 (Pyro-2.5.tar.gz) = fb8193d13ddd729a8b4a5017b0bdec3e diff --git a/devel/py-ro/files/patch-setup.py b/devel/py-ro/files/patch-setup.py new file mode 100644 index 000000000000..4df14536d6ef --- /dev/null +++ b/devel/py-ro/files/patch-setup.py @@ -0,0 +1,20 @@ +--- setup.py.orig Fri Mar 22 18:04:34 2002 ++++ setup.py Fri Mar 22 18:11:18 2002 +@@ -36,16 +36,11 @@ + else: + # first, confirm the installation path of the scripts. + scripts=[] +- scr=raw_input('Do you want the Pyro scripts (in bin/) installed (y/n)? ') ++ scr='y' + if scr.lower()=='y': + cp=ConfigParser() + cp.read('setup.cfg') + loc=cp.get('install','install-scripts') +- print 'Some Pyro scripts may conflict with system tools already on your system.' +- print 'Choose your script install directory carefully.' +- scr=raw_input('Where do you want them to be installed ('+loc+')? ') +- if scr: +- loc=scr + cp.set('install','install-scripts',loc) + cp.write(open('setup.cfg','w')) + diff --git a/devel/py-ro/pkg-comment b/devel/py-ro/pkg-comment new file mode 100644 index 000000000000..c7a77e25f4e1 --- /dev/null +++ b/devel/py-ro/pkg-comment @@ -0,0 +1 @@ +Python Remote Objects diff --git a/devel/py-ro/pkg-descr b/devel/py-ro/pkg-descr new file mode 100644 index 000000000000..1ce4244054c8 --- /dev/null +++ b/devel/py-ro/pkg-descr @@ -0,0 +1,8 @@ +Pyro is an acronym for PYthon Remote Objects. It is a basic Distributed +Object Technology system written entirely in Python, and for use in Python +only. With this, it closely resembles Java's Remote Method Invocation (RMI). +It has less similarity to CORBA - which is a system- and language independent +Distributed Object Technology and has much more to offer than Pyro or RMI. +But Pyro is small, simple and free! + +WWW: http://pyro.sourceforge.net/ diff --git a/devel/py-ro/pkg-plist b/devel/py-ro/pkg-plist new file mode 100644 index 000000000000..cb1f2c1ce647 --- /dev/null +++ b/devel/py-ro/pkg-plist @@ -0,0 +1,168 @@ +bin/es +bin/genguid +bin/ns +bin/nsc +bin/pyroc +bin/rns +bin/xnsc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/EventService/Clients.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/EventService/Clients.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/EventService/Server.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/EventService/Server.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/EventService/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/EventService/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/configuration.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/configuration.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/core.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/core.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/errors.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/errors.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/naming.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/naming.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/nsc.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/nsc.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/protocol.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/protocol.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/pyroc.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/pyroc.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/util.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/util.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyro/xnsc.py +lib/%%PYTHON_VERSION%%/site-packages/Pyro/xnsc.pyc +@dirrm lib/%%PYTHON_VERSION%%/site-packages/Pyro/EventService +@dirrm lib/%%PYTHON_VERSION%%/site-packages/Pyro +%%PORTDOCS%%share/doc/ro/1-intro.html +%%PORTDOCS%%share/doc/ro/10-services.html +%%PORTDOCS%%share/doc/ro/11-changes.html +%%PORTDOCS%%share/doc/ro/2-concepts.html +%%PORTDOCS%%share/doc/ro/3-install.html +%%PORTDOCS%%share/doc/ro/4-usage.html +%%PORTDOCS%%share/doc/ro/5-nameserver.html +%%PORTDOCS%%share/doc/ro/6-implementation.html +%%PORTDOCS%%share/doc/ro/7-features.html +%%PORTDOCS%%share/doc/ro/8-example.html +%%PORTDOCS%%share/doc/ro/9-errors.html +%%PORTDOCS%%share/doc/ro/LICENSE +%%PORTDOCS%%share/doc/ro/PyroManual.html +%%PORTDOCS%%share/doc/ro/index.html +%%PORTDOCS%%share/examples/ro/Bank2/BankServer.py +%%PORTDOCS%%share/examples/ro/Bank2/Readme.txt +%%PORTDOCS%%share/examples/ro/Bank2/banks.py +%%PORTDOCS%%share/examples/ro/Bank2/client.py +%%PORTDOCS%%share/examples/ro/BankExample/BankServer.py +%%PORTDOCS%%share/examples/ro/BankExample/Readme.txt +%%PORTDOCS%%share/examples/ro/BankExample/banks.py +%%PORTDOCS%%share/examples/ro/BankExample/client.py +%%PORTDOCS%%share/examples/ro/NS_sec_plugins/NSSecEx.py +%%PORTDOCS%%share/examples/ro/NS_sec_plugins/Readme.txt +%%PORTDOCS%%share/examples/ro/Readme.txt +%%PORTDOCS%%share/examples/ro/agent/Readme.txt +%%PORTDOCS%%share/examples/ro/agent/ShoppingAgent.py +%%PORTDOCS%%share/examples/ro/agent/client.py +%%PORTDOCS%%share/examples/ro/agent/server.py +%%PORTDOCS%%share/examples/ro/agent/shop.py +%%PORTDOCS%%share/examples/ro/agent2/Readme.txt +%%PORTDOCS%%share/examples/ro/agent2/ShoppingAgent.py +%%PORTDOCS%%share/examples/ro/agent2/client.py +%%PORTDOCS%%share/examples/ro/agent2/serv/server.py +%%PORTDOCS%%share/examples/ro/agent2/serv/shop.py +%%PORTDOCS%%share/examples/ro/attributes/Readme.txt +%%PORTDOCS%%share/examples/ro/attributes/client.py +%%PORTDOCS%%share/examples/ro/attributes/server.py +%%PORTDOCS%%share/examples/ro/autoreconnect/Readme.txt +%%PORTDOCS%%share/examples/ro/autoreconnect/client.py +%%PORTDOCS%%share/examples/ro/autoreconnect/server.py +%%PORTDOCS%%share/examples/ro/benchmark/Readme.txt +%%PORTDOCS%%share/examples/ro/benchmark/bench.py +%%PORTDOCS%%share/examples/ro/benchmark/bench.pyc +%%PORTDOCS%%share/examples/ro/benchmark/client.py +%%PORTDOCS%%share/examples/ro/benchmark/server.py +%%PORTDOCS%%share/examples/ro/callback/Readme.txt +%%PORTDOCS%%share/examples/ro/callback/client.py +%%PORTDOCS%%share/examples/ro/callback/server.py +%%PORTDOCS%%share/examples/ro/callback/shout.py +%%PORTDOCS%%share/examples/ro/countingcars/Client.py +%%PORTDOCS%%share/examples/ro/countingcars/Readme.txt +%%PORTDOCS%%share/examples/ro/countingcars/Server.py +%%PORTDOCS%%share/examples/ro/denyhosts/Readme.txt +%%PORTDOCS%%share/examples/ro/denyhosts/client.py +%%PORTDOCS%%share/examples/ro/denyhosts/server.py +%%PORTDOCS%%share/examples/ro/exceptions/Readme.txt +%%PORTDOCS%%share/examples/ro/exceptions/client.py +%%PORTDOCS%%share/examples/ro/exceptions/excep.py +%%PORTDOCS%%share/examples/ro/exceptions/server.py +%%PORTDOCS%%share/examples/ro/factory/Readme.txt +%%PORTDOCS%%share/examples/ro/factory/client.py +%%PORTDOCS%%share/examples/ro/factory/factory.py +%%PORTDOCS%%share/examples/ro/factory/server.py +%%PORTDOCS%%share/examples/ro/hugetransfer/Pyro_NS_URI +%%PORTDOCS%%share/examples/ro/hugetransfer/Pyro_log +%%PORTDOCS%%share/examples/ro/hugetransfer/Readme.txt +%%PORTDOCS%%share/examples/ro/hugetransfer/client.py +%%PORTDOCS%%share/examples/ro/hugetransfer/server.py +%%PORTDOCS%%share/examples/ro/inheritance/Readme.txt +%%PORTDOCS%%share/examples/ro/inheritance/client.py +%%PORTDOCS%%share/examples/ro/inheritance/inherit.py +%%PORTDOCS%%share/examples/ro/inheritance/server.py +%%PORTDOCS%%share/examples/ro/logging/Readme.txt +%%PORTDOCS%%share/examples/ro/logging/testlogging.py +%%PORTDOCS%%share/examples/ro/maxclients/Readme.txt +%%PORTDOCS%%share/examples/ro/maxclients/client.py +%%PORTDOCS%%share/examples/ro/maxclients/server.py +%%PORTDOCS%%share/examples/ro/multithread/Readme.txt +%%PORTDOCS%%share/examples/ro/multithread/client.py +%%PORTDOCS%%share/examples/ro/multithread/server.py +%%PORTDOCS%%share/examples/ro/naming/Readme.txt +%%PORTDOCS%%share/examples/ro/naming/nametest.py +%%PORTDOCS%%share/examples/ro/noNS/Pyro_log +%%PORTDOCS%%share/examples/ro/noNS/Readme.txt +%%PORTDOCS%%share/examples/ro/noNS/client.py +%%PORTDOCS%%share/examples/ro/noNS/client2.py +%%PORTDOCS%%share/examples/ro/noNS/server.py +%%PORTDOCS%%share/examples/ro/quickstart/Readme.txt +%%PORTDOCS%%share/examples/ro/quickstart/client.py +%%PORTDOCS%%share/examples/ro/quickstart/object.py +%%PORTDOCS%%share/examples/ro/quickstart/pyrorun +%%PORTDOCS%%share/examples/ro/quickstart/remote.py +%%PORTDOCS%%share/examples/ro/quickstart/server.py +%%PORTDOCS%%share/examples/ro/simple/Readme.txt +%%PORTDOCS%%share/examples/ro/simple/client.py +%%PORTDOCS%%share/examples/ro/simple/server.py +%%PORTDOCS%%share/examples/ro/simple/tst.py +%%PORTDOCS%%share/examples/ro/simple/tst.pyc +%%PORTDOCS%%share/examples/ro/stockquotes/Client.py +%%PORTDOCS%%share/examples/ro/stockquotes/MClient.py +%%PORTDOCS%%share/examples/ro/stockquotes/Readme.txt +%%PORTDOCS%%share/examples/ro/stockquotes/Server.py +%%PORTDOCS%%share/examples/ro/testclient.py +%%PORTDOCS%%share/examples/ro/testclient.pyc +%%PORTDOCS%%share/examples/ro/testserver.py +%%PORTDOCS%%share/examples/ro/testserver.pyc +%%PORTDOCS%%@dirrm share/doc/ro +%%PORTDOCS%%@dirrm share/examples/ro/Bank2 +%%PORTDOCS%%@dirrm share/examples/ro/BankExample +%%PORTDOCS%%@dirrm share/examples/ro/NS_sec_plugins +%%PORTDOCS%%@dirrm share/examples/ro/agent +%%PORTDOCS%%@dirrm share/examples/ro/agent2/serv +%%PORTDOCS%%@dirrm share/examples/ro/agent2 +%%PORTDOCS%%@dirrm share/examples/ro/attributes +%%PORTDOCS%%@dirrm share/examples/ro/autoreconnect +%%PORTDOCS%%@dirrm share/examples/ro/benchmark +%%PORTDOCS%%@dirrm share/examples/ro/callback +%%PORTDOCS%%@dirrm share/examples/ro/countingcars +%%PORTDOCS%%@dirrm share/examples/ro/denyhosts +%%PORTDOCS%%@dirrm share/examples/ro/exceptions +%%PORTDOCS%%@dirrm share/examples/ro/factory +%%PORTDOCS%%@dirrm share/examples/ro/hugetransfer +%%PORTDOCS%%@dirrm share/examples/ro/inheritance +%%PORTDOCS%%@dirrm share/examples/ro/logging +%%PORTDOCS%%@dirrm share/examples/ro/maxclients +%%PORTDOCS%%@dirrm share/examples/ro/multithread +%%PORTDOCS%%@dirrm share/examples/ro/naming +%%PORTDOCS%%@dirrm share/examples/ro/noNS +%%PORTDOCS%%@dirrm share/examples/ro/quickstart +%%PORTDOCS%%@dirrm share/examples/ro/simple +%%PORTDOCS%%@dirrm share/examples/ro/stockquotes +%%PORTDOCS%%@dirrm share/examples/ro -- cgit v1.2.3