[Python-modules-commits] r3136 - in /packages/pyro/trunk: ./ Pyro/ Pyro/ext/ bin/ debian/

bzed-guest at users.alioth.debian.org bzed-guest at users.alioth.debian.org
Thu Aug 30 21:39:58 UTC 2007


Author: bzed-guest
Date: Thu Aug 30 21:39:58 2007
New Revision: 3136

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3136
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/pyro/trunk/debian/   (with props)
    packages/pyro/trunk/debian/README.Debian
    packages/pyro/trunk/debian/changelog
    packages/pyro/trunk/debian/compat
    packages/pyro/trunk/debian/control
    packages/pyro/trunk/debian/copyright
    packages/pyro/trunk/debian/docs
    packages/pyro/trunk/debian/pycompat
    packages/pyro/trunk/debian/pyro-doc.doc-base
    packages/pyro/trunk/debian/pyro-examples.install
    packages/pyro/trunk/debian/pyro-gui.1.xml
    packages/pyro/trunk/debian/pyro-gui.install
    packages/pyro/trunk/debian/pyro-gui.links
    packages/pyro/trunk/debian/pyro.1
    packages/pyro/trunk/debian/pyro.docs
    packages/pyro/trunk/debian/pyro.install
    packages/pyro/trunk/debian/pyro.links
    packages/pyro/trunk/debian/pyro.postinst
    packages/pyro/trunk/debian/pyro.postrm
    packages/pyro/trunk/debian/pyro.prerm
    packages/pyro/trunk/debian/pyro.pyro-nsd.default
    packages/pyro/trunk/debian/pyro.pyro-nsd.init
    packages/pyro/trunk/debian/rules   (with props)
    packages/pyro/trunk/debian/semantic.cache
Modified:
    packages/pyro/trunk/Pyro/ext/daemonizer.py
    packages/pyro/trunk/Pyro/wxnsc.py
    packages/pyro/trunk/bin/es
    packages/pyro/trunk/bin/esd
    packages/pyro/trunk/bin/genguid
    packages/pyro/trunk/bin/ns
    packages/pyro/trunk/bin/nsc
    packages/pyro/trunk/bin/nsd
    packages/pyro/trunk/bin/rns
    packages/pyro/trunk/bin/wxnsc
    packages/pyro/trunk/bin/xnsc
    packages/pyro/trunk/setup.cfg

Modified: packages/pyro/trunk/Pyro/ext/daemonizer.py
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/Pyro/ext/daemonizer.py?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/Pyro/ext/daemonizer.py (original)
+++ packages/pyro/trunk/Pyro/ext/daemonizer.py Thu Aug 30 21:39:58 2007
@@ -1,4 +1,3 @@
-#!/bin/env python
 #############################################################################
 #  
 #	$Id: daemonizer.py,v 1.3 2005/01/22 01:05:44 irmen Exp $

Modified: packages/pyro/trunk/Pyro/wxnsc.py
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/Pyro/wxnsc.py?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/Pyro/wxnsc.py (original)
+++ packages/pyro/trunk/Pyro/wxnsc.py Thu Aug 30 21:39:58 2007
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
 """
 $Id: wxnsc.py,v 1.10 2005/02/12 23:45:29 irmen Exp $
 

Modified: packages/pyro/trunk/bin/es
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/es?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/es (original)
+++ packages/pyro/trunk/bin/es Thu Aug 30 21:39:58 2007
@@ -1,2 +1,2 @@
 #! /bin/sh
-exec python -O -tt -c "from Pyro.EventService import Server; import sys; Server.start(sys.argv[1:])" "$@"
+exec /usr/bin/python -O -tt -c "from Pyro.EventService import Server; import sys; Server.start(sys.argv[1:])" "$@"

Modified: packages/pyro/trunk/bin/esd
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/esd?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/esd (original)
+++ packages/pyro/trunk/bin/esd Thu Aug 30 21:39:58 2007
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/usr/bin/python
 
 #############################################################################
 #  

Modified: packages/pyro/trunk/bin/genguid
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/genguid?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/genguid (original)
+++ packages/pyro/trunk/bin/genguid Thu Aug 30 21:39:58 2007
@@ -1,2 +1,2 @@
-#! /bin/sh
-exec python -O -tt -c "import Pyro.util,sys; Pyro.util.genguid_scripthelper(sys.argv[1:])" "$@"
+#!/bin/sh
+exec /usr/bin/python -O -tt -c "import Pyro.util,sys; Pyro.util.genguid_scripthelper(sys.argv[1:])" "$@"

Modified: packages/pyro/trunk/bin/ns
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/ns?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/ns (original)
+++ packages/pyro/trunk/bin/ns Thu Aug 30 21:39:58 2007
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec python -O -tt -c "import Pyro.naming,sys; Pyro.naming.main(sys.argv[1:])" "$@"
+exec /usr/bin/python -O -tt -c "import Pyro.naming,sys; Pyro.naming.main(sys.argv[1:])" "$@"

Modified: packages/pyro/trunk/bin/nsc
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/nsc?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/nsc (original)
+++ packages/pyro/trunk/bin/nsc Thu Aug 30 21:39:58 2007
@@ -1,2 +1,2 @@
-#! /bin/sh
-exec python -O -tt -c "import Pyro.nsc,sys; Pyro.nsc.main(sys.argv[1:])" "$@"
+#!/bin/sh
+exec /usr/bin/python -O -tt -c "import Pyro.nsc,sys; Pyro.nsc.main(sys.argv[1:])" "$@"

Modified: packages/pyro/trunk/bin/nsd
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/nsd?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/nsd (original)
+++ packages/pyro/trunk/bin/nsd Thu Aug 30 21:39:58 2007
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/usr/bin/python
 
 #############################################################################
 #  
@@ -18,7 +18,7 @@
 
 class NSD(Daemonizer):
     def __init__(self):
-        Daemonizer.__init__(self)
+        Daemonizer.__init__(self, "/var/run/pyro-nsd.pid")
 
     def main_loop(self):
         Pyro.naming.main(sys.argv[1:])

Modified: packages/pyro/trunk/bin/rns
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/rns?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/rns (original)
+++ packages/pyro/trunk/bin/rns Thu Aug 30 21:39:58 2007
@@ -1,7 +1,7 @@
-#! /bin/sh
+#!/bin/sh
 while true ; do
 	echo Starting Pyro Name Server
-	python -O -tt -c "import Pyro.naming,sys; Pyro.naming.main(sys.argv[1:])" "$@"
+	/usr/bin/python -O -tt -c "import Pyro.naming,sys; Pyro.naming.main(sys.argv[1:])" "$@"
 	echo
 	echo "---- Name server stopped! Restarting! (press ctrl-C now to abort) ----"
 	echo 

Modified: packages/pyro/trunk/bin/wxnsc
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/wxnsc?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/wxnsc (original)
+++ packages/pyro/trunk/bin/wxnsc Thu Aug 30 21:39:58 2007
@@ -1,2 +1,2 @@
-#! /bin/sh
-exec python -O -tt -c "import Pyro.wxnsc,sys; Pyro.wxnsc.main(sys.argv[1:])" "$@"
+#!/bin/sh
+exec /usr/bin/python -O -tt -c "import Pyro.wxnsc,sys; Pyro.wxnsc.main(sys.argv[1:])" "$@"

Modified: packages/pyro/trunk/bin/xnsc
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/bin/xnsc?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/bin/xnsc (original)
+++ packages/pyro/trunk/bin/xnsc Thu Aug 30 21:39:58 2007
@@ -1,2 +1,2 @@
-#! /bin/sh
-exec python -O -tt -c "import Pyro.xnsc,sys; Pyro.xnsc.main(sys.argv[1:])" "$@"
+#!/bin/sh
+exec /usr/bin/python -O -tt -c "import Pyro.xnsc,sys; Pyro.xnsc.main(sys.argv[1:])" "$@"

Propchange: packages/pyro/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/pyro/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/README.Debian?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/README.Debian (added)
+++ packages/pyro/trunk/debian/README.Debian Thu Aug 30 21:39:58 2007
@@ -1,0 +1,15 @@
+pyro for Debian
+---------------
+
+To prevent namespace collisions, Pyro binaries have been put in the
+/usr/share/pyro directory, and symlinked in /usr/bin with this prefix: pyro-
+For example, pyro-xnsc must be used to run xnsc.
+
+If you were using a local installation before using this Debian package, you 
+can simply put /usr/share/pyro in your PATH.
+
+The documentation is available in the pyro-doc package.
+Some examples are available in the pyro-examples package. You should install it
+and try these examples to start working with Pyro.
+
+ -- Cédric Delfosse <cedric at debian.org>, Tue Sep 16 21:38:12 CEST 2003

Added: packages/pyro/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/changelog?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/changelog (added)
+++ packages/pyro/trunk/debian/changelog Thu Aug 30 21:39:58 2007
@@ -1,0 +1,62 @@
+pyro (3.5-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch to python-wxgkt2.6 instead of python-wxgtk2.4.
+  * Implement better use of pycentral. (Closes: #391808)
+  * Move debhelper from Build-Depends-Indep to Build-Depends as debhelper is
+    used in the clean rule (see policy 7.6).
+  * Update python-central dependency (>= 0.5).
+  * Add LSB header to init script.
+  * Fix pyro-nsd pid file location (was in /tmp, now in /var/run).
+
+ -- Jérémy Bobbio <jeremy.bobbio at etu.upmc.fr>  Sun,  8 Oct 2006 22:33:36 +0200
+
+pyro (3.5-1.1) unstable; urgency=low
+
+  * NMU
+  * Support multiple Python version (closes: #216731)
+  * Support the new python policy (closes: #377680)
+  * updated standards to 3.7.2
+  * switched debhelper compatibility mode to 5
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Wed, 12 Jul 2006 10:27:11 +0200
+
+pyro (3.5-1) unstable; urgency=low
+
+  * New upstream release (Closes: Bug#344878)
+
+ -- Cédric Delfosse <cedric at debian.org>  Thu,  2 Feb 2006 23:11:47 +0100
+
+pyro (3.4-3) unstable; urgency=low
+
+  * pyro-gui now depends on python-wxgtk2.4 instead of libwxgtk2.4-python that
+    no more exist. (Closes: Bug#335667)
+
+ -- Cédric Delfosse <cedric at debian.org>  Tue, 25 Oct 2005 20:55:59 +0200
+
+pyro (3.4-2) unstable; urgency=low
+  
+  [Thanks to Nicolas Chauvat and Alexandre Fayolle]
+  * Added init.d script (closes: Bug#274842)
+  * A manpage (closes: Bug#274835)
+
+ -- Cédric Delfosse <cedric at debian.org>  Mon,  4 Oct 2004 22:05:29 +0200
+
+pyro (3.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Cédric Delfosse <cedric at debian.org>  Sat, 29 May 2004 18:51:50 +0200
+
+pyro (3.3-2) unstable; urgency=low
+
+  * Put graphical tools in the new pyro-gui binary package (closes: Bug#213169)
+
+ -- Cédric Delfosse <cedric at debian.org>  Sat,  4 Oct 2003 18:01:41 +0200
+
+pyro (3.3-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#178690)
+
+ -- Cédric Delfosse <cedric at debian.org>  Sat, 30 Aug 2003 21:27:41 +0200
+

Added: packages/pyro/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/compat?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/compat (added)
+++ packages/pyro/trunk/debian/compat Thu Aug 30 21:39:58 2007
@@ -1,0 +1,1 @@
+5

Added: packages/pyro/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/control?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/control (added)
+++ packages/pyro/trunk/debian/control Thu Aug 30 21:39:58 2007
@@ -1,0 +1,63 @@
+Source: pyro
+Section: python
+Priority: optional
+Maintainer: Cédric Delfosse <cedric at debian.org>
+Build-Depends: debhelper (>= 5.0.37.2) 
+Build-Depends-Indep: python, python-dev, python-central (>= 0.5), xsltproc, docbook-xsl
+Standards-Version: 3.7.2
+XS-Python-Version: all
+
+Package: pyro
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}
+Suggests: pyro-gui, pyro-doc
+Description: distributed object system for Python
+ Pyro (PYthon Remote Object) is an easy to use and powerful distributed object
+ system for Python. In a distributed object system, clients send requests to
+ distant servers, which owns the remote objects. Pyro simplifies a lot the
+ creation of clients and servers, and has among its features:
+  - dynamic and static proxies for all remote method invocations,
+  - a naming service which keeps record of the location of objects,
+  - mobile objects support: clients and servers can pass objects around,
+  - exceptions that occur in the remote object is raised on the client too,
+  - multithreaded server support to handle multiple requests simultaneously.
+ .
+ This package contains the core Pyro library and the command line tools.
+ .
+ Some graphical tools are available in the pyro-gui package.
+ The documentation is available in the pyro-doc package.
+ A lot of examples are available in the pyro-examples package.
+ .
+ Homepage: http://pyro.sourceforge.net
+
+Package: pyro-gui
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, pyro, python-tk, python-wxgtk2.6
+Description: graphicals tool for Pyro
+ Pyro (PYthon Remote Object) is an easy to use and powerful distributed object
+ system for Python.
+ .
+ This package contains two graphical name server control tools:
+  - xnsc : built on top of the Tk toolkit
+  - wxnsc : build in on top of WxWindows
+
+Package: pyro-doc
+Architecture: all
+Suggests: pyro
+Description: documentation for Pyro
+ Pyro (PYthon Remote Object) is an easy to use and powerful distributed object
+ system for Python.
+ .
+ This package contains the documentation files for the pyro package.
+
+Package: pyro-examples
+Architecture: all
+Depends: pyro
+Description: examples for Pyro
+ Pyro (PYthon Remote Object) is an easy to use and powerful distributed object
+ system for Python.
+ .
+ This package contains some examples for the pyro package.
+

Added: packages/pyro/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/copyright?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/copyright (added)
+++ packages/pyro/trunk/debian/copyright Thu Aug 30 21:39:58 2007
@@ -1,0 +1,26 @@
+This package was debianized by Cédric Delfosse <cedric at debian.org> on
+Sat, 30 Aug 2003 21:27:41 +0200.
+
+It was downloaded from http://pyro.sourceforge.net
+
+Upstream Author: Irmen de Jong <irmen at users.sourceforge.net>
+
+Copyright: 
+
+      Pyro is copyrighted under the MIT license.
+
+      Permission is hereby granted, free of charge, to any person obtaining a copy of this
+      software and associated documentation files (the "Software"), to deal in the Software
+      without restriction, including without limitation the rights to use, copy, modify, merge,
+      publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
+      to whom the Software is furnished to do so, subject to the following conditions:
+
+      The above copyright notice and this permission notice shall be included in all copies or
+      substantial portions of the Software.
+
+      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+      INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+      PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
+      FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+      OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+      DEALINGS IN THE SOFTWARE.

Added: packages/pyro/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/docs?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/docs (added)
+++ packages/pyro/trunk/debian/docs Thu Aug 30 21:39:58 2007
@@ -1,0 +1,2 @@
+README.txt
+TODO

Added: packages/pyro/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pycompat?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pycompat (added)
+++ packages/pyro/trunk/debian/pycompat Thu Aug 30 21:39:58 2007
@@ -1,0 +1,1 @@
+2

Added: packages/pyro/trunk/debian/pyro-doc.doc-base
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro-doc.doc-base?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro-doc.doc-base (added)
+++ packages/pyro/trunk/debian/pyro-doc.doc-base Thu Aug 30 21:39:58 2007
@@ -1,0 +1,12 @@
+Document: pyro
+Title: Debian PYthon Remote Objects (pyro) Manual
+Author: Irmen de Jong
+Abstract: This manual describes what pyro is
+ and how to use it.
+Section: devel
+
+Format: HTML
+Index: /usr/share/doc/pyro/html/index.html
+Files: /usr/share/doc/pyro/html/*.html
+
+  

Added: packages/pyro/trunk/debian/pyro-examples.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro-examples.install?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro-examples.install (added)
+++ packages/pyro/trunk/debian/pyro-examples.install Thu Aug 30 21:39:58 2007
@@ -1,0 +1,1 @@
+examples usr/share/doc/pyro

Added: packages/pyro/trunk/debian/pyro-gui.1.xml
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro-gui.1.xml?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro-gui.1.xml (added)
+++ packages/pyro/trunk/debian/pyro-gui.1.xml Thu Aug 30 21:39:58 2007
@@ -1,0 +1,152 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Jeremy</firstname>">
+  <!ENTITY dhsurname   "<surname>Bobbio</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>8 Oct 2006</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>jeremy.bobbio at etu.upmc.fr</email>">
+  <!ENTITY dhusername  "Jeremy Bobbio">
+  <!ENTITY dhucpackage "<refentrytitle>PYRO-GUI</refentrytitle>">
+  <!ENTITY dhpackage   "pyro-gui">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>graphical interfaces to Pyro Name Server Control tool</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>pyro-xnsc</command>
+    </cmdsynopsis>
+    <cmdsynopsis>
+      <command>pyro-wxnsc</command>
+      <arg><option><replaceable>host</replaceable></option></arg>
+      <arg><option><replaceable>port</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>
+      This manual page documents briefly the <command>pyro-xnsc</command> and
+      <command>pyro-wxnsc</command> commands.
+    </para>
+
+    <para>
+      This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+    </para>
+
+    <para>
+      <command>pyro-xnsc</command> and <command>pyro-wxnsc</command> 
+      are programs starting a graphical user interface (GUI) to control
+      <command>nsc</command>, the Pyro Name Server Control Tool
+    </para>
+
+    <para>
+      <command>pyro-xnsc</command> uses the Tk toolkit whereas
+      <command>pyro-wxnsc</command> uses WxWidgets.  Both share a common set of
+      features, but small differences exists.
+    </para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      The <command>pyro-wxnsc</command> recognizes the following arguments:
+    </para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>host</option></term>
+        <listitem>
+          <para>Hostname of the Pyro name server.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>port</option></term>
+        <listitem>
+          <para>Port of the Pyro name server.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>ENVIRONMENT</title>
+    
+    <para>
+      The <command>python-wxnsc</command> understands the following
+      environment variables:
+    </para>
+
+    <variablelist>
+      <varlistentry>
+        <term><envar>PYRO_NS_HOSTNAME</envar></term>
+        <listitem>
+          <para>Hostname of the Pyro name server</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><envar>PYRO_NS_BC_PORT</envar></term>
+        <listitem>
+          <para>Port of the Pyro name server</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>pyro(1)</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+      later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.
+    </para>
+
+  </refsect1>
+</refentry>
+
+<!-- vim: et sw=2
+  -->

Added: packages/pyro/trunk/debian/pyro-gui.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro-gui.install?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro-gui.install (added)
+++ packages/pyro/trunk/debian/pyro-gui.install Thu Aug 30 21:39:58 2007
@@ -1,0 +1,4 @@
+usr/share/pyro/wxnsc
+usr/share/pyro/xnsc
+usr/share/pycentral/pyro-gui/site-packages/Pyro/xnsc.py
+usr/share/pycentral/pyro-gui/site-packages/Pyro/wxnsc.py

Added: packages/pyro/trunk/debian/pyro-gui.links
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro-gui.links?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro-gui.links (added)
+++ packages/pyro/trunk/debian/pyro-gui.links Thu Aug 30 21:39:58 2007
@@ -1,0 +1,4 @@
+usr/share/pyro/wxnsc usr/bin/pyro-wxnsc
+usr/share/pyro/xnsc usr/bin/pyro-xnsc
+pyro-gui.1.gz usr/share/man/man1/pyro-xnsc.1.gz
+pyro-gui.1.gz usr/share/man/man1/pyro-wxnsc.1.gz

Added: packages/pyro/trunk/debian/pyro.1
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.1?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.1 (added)
+++ packages/pyro/trunk/debian/pyro.1 Thu Aug 30 21:39:58 2007
@@ -1,0 +1,64 @@
+.TH pyro 1 "2004-10-04" "python remote objects"
+
+.SH NAME
+pyro \- python remote objects (Debian package's way)
+
+
+.SH SYNOPSIS
+.B pyro-ns
+.RI [ options ]
+.BR
+    start name server.
+.BR
+
+.B pyro-rns
+.RI [ options ]
+.BR
+    same as pyro-ns but will restart if server quits or crashes.
+.BR
+
+.B pyro-nsd
+.RI [ options ]
+.BR
+    same as pyro-ns but starts as unix daemon that forks to background.
+.BR
+
+.B pyro-nsc
+.RI [ options ] command [ args... ]
+.BR
+    name server control tool.
+.BR
+
+.B pyro-es
+.RI [ options ]
+.BR
+    start event server.
+.BR
+
+.B pyro-esd
+.RI [ options ]
+.BR
+    same as pyro-es but starts as unix daemon that forks to background.
+.BR
+
+.B pyro-genguid
+.BR
+    a simple GUID generator.
+.BR
+
+
+.SH DESCRIPTION
+Python Remote Objects is a full-python distributed objects system. This manual
+page was created for Debian were the utilities got renamed to avoid name-clashes.
+
+.SH LICENCE
+Pyro is copyrighted under the MIT license.
+
+.SH SEE ALSO
+file:///usr/share/doc/pyro/html/ from the pyro-doc package.
+
+http://pyro.sourceforge.net/ the home web site.
+
+.SH AUTHOR
+Nicolas Chauvat <nicolas.chauvat at logilab.fr>
+

Added: packages/pyro/trunk/debian/pyro.docs
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.docs?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.docs (added)
+++ packages/pyro/trunk/debian/pyro.docs Thu Aug 30 21:39:58 2007
@@ -1,0 +1,1 @@
+Pyro.conf

Added: packages/pyro/trunk/debian/pyro.install
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.install?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.install (added)
+++ packages/pyro/trunk/debian/pyro.install Thu Aug 30 21:39:58 2007
@@ -1,0 +1,8 @@
+usr/share/pycentral/pyro/site-packages
+usr/share/pyro/es
+usr/share/pyro/genguid
+usr/share/pyro/ns
+usr/share/pyro/nsc
+usr/share/pyro/rns
+usr/share/pyro/esd
+usr/share/pyro/nsd

Added: packages/pyro/trunk/debian/pyro.links
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.links?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.links (added)
+++ packages/pyro/trunk/debian/pyro.links Thu Aug 30 21:39:58 2007
@@ -1,0 +1,14 @@
+usr/share/pyro/es usr/bin/pyro-es
+usr/share/pyro/esd usr/bin/pyro-esd
+usr/share/pyro/genguid usr/bin/pyro-genguid
+usr/share/pyro/ns usr/bin/pyro-ns
+usr/share/pyro/nsc usr/bin/pyro-nsc
+usr/share/pyro/nsd usr/bin/pyro-nsd
+usr/share/pyro/rns usr/bin/pyro-rns
+usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-es.1.gz
+usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-esd.1.gz
+usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-genguid.1.gz
+usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-ns.1.gz
+usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-nsc.1.gz
+usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-nsd.1.gz
+usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-rns.1.gz

Added: packages/pyro/trunk/debian/pyro.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.postinst?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.postinst (added)
+++ packages/pyro/trunk/debian/pyro.postinst Thu Aug 30 21:39:58 2007
@@ -1,0 +1,19 @@
+#! /bin/sh
+
+set -e
+
+# Workaround needed because postinst and prerm are written by debhelper in the
+# same order (instead of reverse order).
+
+# Let's pycentral do its work first. 
+#DEBHELPER#
+
+if [ -x "/etc/init.d/pyro-nsd" ]; then
+	update-rc.d pyro-nsd defaults >/dev/null
+	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+		invoke-rc.d pyro-nsd start || exit $?
+	else
+		/etc/init.d/pyro-nsd start || exit $?
+	fi
+fi
+

Added: packages/pyro/trunk/debian/pyro.postrm
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.postrm?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.postrm (added)
+++ packages/pyro/trunk/debian/pyro.postrm Thu Aug 30 21:39:58 2007
@@ -1,0 +1,12 @@
+#! /bin/sh
+
+set -e
+
+# Workaround needed because postinst and prerm are written by debhelper in the
+# same order (instead of reverse order).
+
+if [ "$1" = "purge" ] ; then
+	update-rc.d pyro-nsd remove >/dev/null || exit $?
+fi
+
+#DEBHELPER#

Added: packages/pyro/trunk/debian/pyro.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.prerm?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.prerm (added)
+++ packages/pyro/trunk/debian/pyro.prerm Thu Aug 30 21:39:58 2007
@@ -1,0 +1,18 @@
+#! /bin/sh
+
+set -e
+
+# Workaround needed because postinst and prerm are written by debhelper in the
+# same order (instead of reverse order).
+
+if [ -x "/etc/init.d/pyro-nsd" ]; then
+	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+		invoke-rc.d pyro-nsd stop || exit $?
+	else
+		/etc/init.d/pyro-nsd stop || exit $?
+	fi
+fi
+
+# Let's pycentral do its work then.
+#DEBHELPER#
+

Added: packages/pyro/trunk/debian/pyro.pyro-nsd.default
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.pyro-nsd.default?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.pyro-nsd.default (added)
+++ packages/pyro/trunk/debian/pyro.pyro-nsd.default Thu Aug 30 21:39:58 2007
@@ -1,0 +1,8 @@
+# /etc/default/pyro-nsd
+
+# Change to one to enable pyro-nsd
+ENABLED=0
+
+# Options to pass to pyro-nsd
+OPTIONS=""
+

Added: packages/pyro/trunk/debian/pyro.pyro-nsd.init
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/pyro.pyro-nsd.init?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/pyro.pyro-nsd.init (added)
+++ packages/pyro/trunk/debian/pyro.pyro-nsd.init Thu Aug 30 21:39:58 2007
@@ -1,0 +1,73 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          pyro-nsd
+# Required-Start:    $time $local_fs $remote_fs $network
+# Required-Stop:     $time $local_fs $remote_fs $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Pyro name server daemon
+# Description:       Debian init script for pyro-nsd (Pyro name server daemon)
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/bin/pyro-nsd
+DESC="Pyro name server daemon"
+NAME=pyro-nsd
+
+test -x $DAEMON || exit 0
+
+# Defaults - don't touch, edit /etc/default/pyro-nsd
+ENABLED=0
+
+if [ -f /etc/default/pyro-nsd ] ; then
+        . /etc/default/pyro-nsd
+fi
+
+if [ "$ENABLED" = "0" ]; then
+    echo "$DESC: disabled, see /etc/default/pyro-nsd"
+    exit 0
+fi
+  
+PYRO_NS=/usr/bin/pyro-nsd
+PYRO_PID=/var/run/pyro-nsd.pid
+END_PHRASE="python remote objects name service: pyro-nsd"
+
+set -e
+
+case "$1" in
+    start)
+	echo -n "Starting $DESC: "
+	$DAEMON start $OPTIONS
+	echo "$NAME."
+	;;
+    stop)
+        echo -n "Stopping $DESC: "
+	$DAEMON stop
+	echo "$NAME."
+	;;
+    restart|force-reload)
+	echo -n "Restarting $DESC: "
+	$DAEMON stop
+	sleep 1
+	$DAEMON start $OPTIONS
+	echo "$NAME."
+	;;
+    status)
+	STATUS="$($DAEMON status)"
+	echo "$STATUS"
+	if echo "$STATUS" | grep -q "not running"; then
+	    if [ -f "$PYRO_PID" ]; then
+	        exit 1
+	    else
+	        exit 3
+	    fi
+	fi
+	;;
+    *)
+	echo -n "Usage: /etc/init.d/pyro-nsd " >&2
+	echo "{start|stop|restart|force-reload|status}" >&2
+	exit 1
+	;;
+esac
+     
+exit 0

Added: packages/pyro/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/rules?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/rules (added)
+++ packages/pyro/trunk/debian/rules Thu Aug 30 21:39:58 2007
@@ -1,0 +1,83 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYTHON = /usr/bin/python
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+%.1: %.1.xml
+	$(XP) -o $@ $(DB2MAN) $< 
+
+build: build-stamp
+
+build-stamp: debian/pyro-gui.1
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	rm -fr build debian/pyro-gui.1
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/pyro.
+	$(PYTHON) setup.py install --no-compile --root debian/tmp \
+		--install-lib     /usr/share/pycentral/pyro/site-packages \
+		--install-data    /usr/share/pycentral/pyro/site-packages \
+		--install-scripts /usr/share/pyro
+	# Move what belongs to pyro-gui
+	install -d debian/tmp/usr/share/pycentral/pyro-gui/site-packages/Pyro
+	mv debian/tmp/usr/share/pycentral/pyro/site-packages/Pyro/xnsc.py \
+	   debian/tmp/usr/share/pycentral/pyro-gui/site-packages/Pyro/xnsc.py
+	mv debian/tmp/usr/share/pycentral/pyro/site-packages/Pyro/wxnsc.py \
+	   debian/tmp/usr/share/pycentral/pyro-gui/site-packages/Pyro/wxnsc.py
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_install --sourcedir=debian/tmp -ppyro -Xwxnsc.py -Xxnsc.py
+	dh_install --sourcedir=debian/tmp -ppyro-gui
+	dh_install -ppyro-examples
+	dh_install -ppyro-doc -X docs/LICENSE docs/* usr/share/doc/pyro/html
+	dh_installdocs
+	dh_installman -ppyro debian/pyro.1
+	dh_installman -ppyro-gui debian/pyro-gui.1
+	# --noscripts needed because debhelper write postinst and prerm
+	# in the same order (instead of reverse order), which fails for
+	# python-central+init.d.
+	dh_installinit --noscripts -ppyro --name=pyro-nsd
+	# some permissions that makes lintian/linda happier
+	find debian/pyro-examples/usr/share/doc/pyro/examples -exec chmod a-x {} \;
+	# chmod a-x debian/pyro-examples/usr/share/doc/pyro/examples/circle/chain.py debian/pyro-examples/usr/share/doc/pyro/examples/callback/bouncer2.py debian/pyro-examples/usr/share/doc/pyro/examples/callback/bouncer.py debian/pyro-examples/usr/share/doc/pyro/examples/quickstart-noNS/object.py debian/pyro-examples/usr/share/doc/pyro/examples/rserve/README debian/pyro-examples/usr/share/doc/pyro/examples/user_passwd_auth/connvalidator.py debian/pyro-examples/usr/share/doc/pyro/examples/rserve/rserve.py debian/pyro-examples/usr/share/doc/pyro/examples/rserve/example-b.py debian/pyro-examples/usr/share/doc/pyro/examples/AllInOne/Readme.txt debian/pyro-examples/usr/share/doc/pyro/examples/rserve/example-a.py debian/pyro-examples/usr/share/doc/pyro/examples/rserve/exlib.py
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_pycentral -ppyro -ppyro-gui
+	dh_python -ppyro -ppyro-gui
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: packages/pyro/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/pyro/trunk/debian/semantic.cache
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/debian/semantic.cache?rev=3136&op=file
==============================================================================
--- packages/pyro/trunk/debian/semantic.cache (added)
+++ packages/pyro/trunk/debian/semantic.cache Thu Aug 30 21:39:58 2007
@@ -1,0 +1,16 @@
+;; Object debian/
+;; SEMANTICDB Tags save file
+(semanticdb-project-database-file "debian/"
+  :tables (list 
+   (semanticdb-table "rules"
+    :major-mode 'makefile-mode
+    :tags '(("build" function (:arguments ("build-stamp")) nil [172 192]) ("build-stamp" function nil nil [192 237]) ("clean" function nil nil [237 289]) ("install" function (:arguments ("build")) nil [372 442]) ("binary-indep" function (:arguments ("build" "install")) nil [612 1953]) ("binary-arch" function (:arguments ("build" "install")) nil [1996 2024]) ("binary" function (:arguments ("binary-indep" "binary-arch")) nil [2024 2063]))
+    :file "rules"
+    :pointmax 2127
+    :unmatched-syntax 'nil
+    )
+   )
+  :file "semantic.cache"
+  :semantic-tag-version "2.0beta3"
+  :semanticdb-version "2.0beta3"
+  )

Modified: packages/pyro/trunk/setup.cfg
URL: http://svn.debian.org/wsvn/python-modules/packages/pyro/trunk/setup.cfg?rev=3136&op=diff
==============================================================================
--- packages/pyro/trunk/setup.cfg (original)
+++ packages/pyro/trunk/setup.cfg Thu Aug 30 21:39:58 2007
@@ -4,9 +4,9 @@
 ### Enable the following two items for unattended install.
 ### The scripts location is mandatory. Change it so something sensible.
 
-#[install-options]
-#unattended=1
+[install-options]
+unattended=1
 
 [install]
 optimize=1
-#install-scripts=/foo/bar
+install-scripts=debian/tmp/usr/share/pyro




More information about the Python-modules-commits mailing list