[Python-modules-commits] r535 - in /packages/quixote1/trunk: ./ debian/ demo/ server/ test/

santiago at users.alioth.debian.org santiago at users.alioth.debian.org
Mon May 8 19:46:49 UTC 2006


Author: santiago
Date: Mon May  8 19:46:44 2006
New Revision: 535

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=535
Log:
Load quixote1-1.2 into packages/quixote1/trunk.

Added:
    packages/quixote1/trunk/debian/
    packages/quixote1/trunk/debian/README.Debian
    packages/quixote1/trunk/debian/changelog
    packages/quixote1/trunk/debian/control
    packages/quixote1/trunk/debian/copyright
    packages/quixote1/trunk/debian/dirs
    packages/quixote1/trunk/debian/python2.3-quixote1.dirs
    packages/quixote1/trunk/debian/python2.3-quixote1.docs
    packages/quixote1/trunk/debian/python2.3-quixote1.lintian
    packages/quixote1/trunk/debian/python2.3-quixote1.postinst
    packages/quixote1/trunk/debian/python2.3-quixote1.prerm
    packages/quixote1/trunk/debian/python2.4-quixote1.dirs
    packages/quixote1/trunk/debian/python2.4-quixote1.docs
    packages/quixote1/trunk/debian/python2.4-quixote1.lintian
    packages/quixote1/trunk/debian/python2.4-quixote1.postinst
    packages/quixote1/trunk/debian/python2.4-quixote1.prerm
    packages/quixote1/trunk/debian/quixote1-doc.docs
    packages/quixote1/trunk/debian/rules   (with props)
Modified:
    packages/quixote1/trunk/demo/demo.cgi   (props changed)
    packages/quixote1/trunk/demo/demo_scgi.py   (contents, props changed)
    packages/quixote1/trunk/demo/demo_scgi.sh   (props changed)
    packages/quixote1/trunk/demo/session_demo.cgi   (props changed)
    packages/quixote1/trunk/demo/upload.cgi   (props changed)
    packages/quixote1/trunk/fcgi.py
    packages/quixote1/trunk/ptl_compile.py
    packages/quixote1/trunk/ptlc_dump.py
    packages/quixote1/trunk/server/medusa_http.py
    packages/quixote1/trunk/server/twisted_http.py
    packages/quixote1/trunk/test/utest_html.py   (props changed)

Added: packages/quixote1/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/README.Debian?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/README.Debian (added)
+++ packages/quixote1/trunk/debian/README.Debian Mon May  8 19:46:44 2006
@@ -1,0 +1,9 @@
+To install the demo:
+
+	# cp /usr/share/doc/quixote1/demo.{cgi,conf} /usr/lib/cgi-bin
+	# chmod +x /usr/lib/cgi-bin/demo.cgi
+
+Assuming your web server is installed, you should now be able to view the demo
+at http://localhost/cgi-bin/demo.cgi .
+
+  Neil Schemenauer <nas at debian.org>

Added: packages/quixote1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/changelog?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/changelog (added)
+++ packages/quixote1/trunk/debian/changelog Mon May  8 19:46:44 2006
@@ -1,0 +1,21 @@
+quixote1 (1.2-3) unstable; urgency=low
+
+  * Added build-dependecy on python
+
+ -- Santiago Ruano Rincón <santiago at debian.org>  Tue, 25 Apr 2006 18:44:12 -0500
+
+quixote1 (1.2-2) unstable; urgency=low
+
+  * New maintainer address
+  * Added to python modules packaging team 
+  * Building python2.3-quixote1 and python2.4-quixote1 packages
+  * Fixed a conflict with quixote 2.X package (Closes: #363240)
+
+ -- Santiago Ruano Rincón <santiago at debian.org>  Mon, 24 Apr 2006 22:13:56 -0500
+
+quixote1 (1.2-1) unstable; urgency=low
+
+  * Initial debian release. (Closes: #327265: ITP: quixote1 -- A highly
+    Pythonic Web application framework)
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Thu,  8 Sep 2005 16:01:01 -0500

Added: packages/quixote1/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/control?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/control (added)
+++ packages/quixote1/trunk/debian/control Mon May  8 19:46:44 2006
@@ -1,0 +1,91 @@
+Source: quixote1
+Section: web
+Priority: optional
+Maintainer: Santiago Ruano Rincón <santiago at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>> 4.0.0), python, python2.3-dev, python2.4-dev
+Standards-Version: 3.6.2
+
+Package: quixote1
+Architecture: any
+Depends: python2.3-quixote1 (=${Source-Version})
+Conflicts: python2.3-quixote
+Replaces: python2.3-quixote
+Description: A highly Pythonic Web application framework
+ Quixote is yet another framework for developing Web applications in
+ Python.  The design goals were:
+ .
+  1) To allow easy development of Web applications where the
+     emphasis is more on complicated programming logic than
+     complicated templating.
+ .
+  2) To make the templating language as similar to Python as possible,
+     in both syntax and semantics.  The aim is to make as many of the
+     skills and structural techniques used in writing regular Python
+     code applicable to Web applications built using Quixote.
+ .
+  3) No magic.  When it's not obvious what to do in
+     a certain case, Quixote refuses to guess.
+ .
+ If you view a web site as a program, and web pages as subroutines,
+ Quixote just might be the tool for you.  If you view a web site as a
+ graphic design showcase, and each web page as an individual work of
+ art, Quixote is probably not what you're looking for.
+
+Package: python2.3-quixote1
+Architecture: any
+Depends: ${python:Depends}
+Conflicts: python2.3-quixote
+Replaces: quixote1 (<< 1.2-2), python2.3-quixote
+Description: A highly Pythonic Web application framework
+ Quixote is yet another framework for developing Web applications in
+ Python.  The design goals were:
+ .
+  1) To allow easy development of Web applications where the
+     emphasis is more on complicated programming logic than
+     complicated templating.
+ .
+  2) To make the templating language as similar to Python as possible,
+     in both syntax and semantics.  The aim is to make as many of the
+     skills and structural techniques used in writing regular Python
+     code applicable to Web applications built using Quixote.
+ .
+  3) No magic.  When it's not obvious what to do in
+     a certain case, Quixote refuses to guess.
+ .
+ If you view a web site as a program, and web pages as subroutines,
+ Quixote just might be the tool for you.  If you view a web site as a
+ graphic design showcase, and each web page as an individual work of
+ art, Quixote is probably not what you're looking for.
+
+Package: python2.4-quixote1
+Architecture: any
+Depends: ${python:Depends}
+Conflicts: python2.4-quixote
+Replaces: quixote1 (<< 1.2-2), python2.4-quixote
+Description: A highly Pythonic Web application framework
+ Quixote is yet another framework for developing Web applications in
+ Python.  The design goals were:
+ .
+  1) To allow easy development of Web applications where the
+     emphasis is more on complicated programming logic than
+     complicated templating.
+ .
+  2) To make the templating language as similar to Python as possible,
+     in both syntax and semantics.  The aim is to make as many of the
+     skills and structural techniques used in writing regular Python
+     code applicable to Web applications built using Quixote.
+ .
+  3) No magic.  When it's not obvious what to do in
+     a certain case, Quixote refuses to guess.
+ .
+ If you view a web site as a program, and web pages as subroutines,
+ Quixote just might be the tool for you.  If you view a web site as a
+ graphic design showcase, and each web page as an individual work of
+ art, Quixote is probably not what you're looking for.
+
+Package: quixote1-doc
+Architecture: any
+Depends: python2.3-quixote1 | python2.4-quixote1
+Description: Quixote web application framework documentation
+ Contains the documentation and examples for Quixote-1.2.

Added: packages/quixote1/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/copyright?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/copyright (added)
+++ packages/quixote1/trunk/debian/copyright Mon May  8 19:46:44 2006
@@ -1,0 +1,130 @@
+This package was debianized by Santiago Ruano Rincón <santiago at debian.org> on
+Mon,  5 Sep 2005 23:25:24 -0500
+based on the old quixote package by Neil Schemenauer <nas at debian.org> 
+
+It was downloaded from http://www.mems-exchange.org/software/quixote/
+
+Upstream Authors: {akuchlin,gward,nas}@mems-exchange.org
+
+Copyright:
+
+CNRI OPEN SOURCE LICENSE AGREEMENT
+
+IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY.  BY
+COPYING, INSTALLING OR OTHERWISE USING QUIXOTE-1.0 SOFTWARE, YOU
+ARE DEEMED TO HAVE AGREED TO THE TERMS AND CONDITIONS OF THIS
+LICENSE AGREEMENT.
+
+1. This LICENSE AGREEMENT is between Corporation for National
+   Research Initiatives, having an office at 1895 Preston White
+   Drive, Reston, VA 20191 ("CNRI"), and the Individual or
+   Organization ("Licensee") copying, installing or otherwise using
+   Quixote-1.0 software in source or binary form and its associated
+   documentation ("Quixote").
+
+2. Subject to the terms and conditions of this License Agreement,
+   CNRI hereby grants Licensee a nonexclusive, royalty-free, world-
+   wide license to reproduce, analyze, test, perform and/or display
+   publicly, prepare derivative works, distribute, and otherwise use
+   Quixote alone or in any derivative version, provided, however,
+   that CNRI's License Agreement and CNRI's notice of copyright,
+   i.e., "Copyright (c) 2004 Corporation for National Research
+   Initiatives; All Rights Reserved" are retained in Quixote alone
+   or in any derivative version prepared by Licensee.
+
+3. In the event Licensee prepares a derivative work that is based on
+   or incorporates Quixote or any part thereof, and wants to make
+   the derivative work available to others as provided herein, then
+   Licensee hereby agrees to include in any such work a brief
+   summary of the changes made to Quixote.
+
+4. CNRI is making Quixote available to Licensee on an "AS IS" basis.
+   CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.
+   BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
+   DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR
+   FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF QUIXOTE
+   WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF
+   QUIXOTE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
+   LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
+   QUIXOTE, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE
+   POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a
+   material breach of its terms and conditions.
+
+7. This License Agreement shall be governed by and interpreted in
+   all respects by the law of the State of Virginia, excluding
+   Virginia's conflict of law provisions.  Nothing in this License
+   Agreement shall be deemed to create any relationship of agency,
+   partnership, or joint venture between CNRI and Licensee.  This
+   License Agreement does not grant permission to use CNRI
+   trademarks or trade name in a trademark sense to endorse or
+   promote products or services of Licensee, or any third party.
+
+8. By copying, installing or otherwise using Quixote, Licensee
+   agrees to be bound by the terms and conditions of this License
+   Agreement.
+
+
+
+Zope Public License (ZPL) Version 2.0
+-----------------------------------------------
+
+This software is Copyright (c) Zope Corporation (tm) and
+Contributors. All rights reserved.
+
+This license has been certified as open source. It has also
+been designated as GPL compatible by the Free Software
+Foundation (FSF).
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the
+following conditions are met:
+
+1. Redistributions in source code must retain the above
+   copyright notice, this list of conditions, and the following
+   disclaimer.
+
+2. Redistributions in binary form must reproduce the above
+   copyright notice, this list of conditions, and the following
+   disclaimer in the documentation and/or other materials
+   provided with the distribution.
+
+3. The name Zope Corporation (tm) must not be used to
+   endorse or promote products derived from this software
+   without prior written permission from Zope Corporation.
+
+4. The right to distribute this software or to use it for
+   any purpose does not give you the right to use Servicemarks
+   (sm) or Trademarks (tm) of Zope Corporation. Use of them is
+   covered in a separate agreement (see
+   http://www.zope.com/Marks).
+
+5. If any files are modified, you must cause the modified
+   files to carry prominent notices stating that you changed
+   the files and the date of any change.
+
+Disclaimer
+
+  THIS SOFTWARE IS PROVIDED BY ZOPE CORPORATION ``AS IS''
+  AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+  NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+  AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
+  NO EVENT SHALL ZOPE CORPORATION OR ITS CONTRIBUTORS BE
+  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+  DAMAGE.
+
+
+This software consists of contributions made by Zope
+Corporation and many individuals on behalf of Zope
+Corporation.  Specific attributions are listed in the
+accompanying credits file.

Added: packages/quixote1/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/dirs?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/dirs (added)
+++ packages/quixote1/trunk/debian/dirs Mon May  8 19:46:44 2006
@@ -1,0 +1,2 @@
+usr/bin
+usr/sbin

Added: packages/quixote1/trunk/debian/python2.3-quixote1.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.3-quixote1.dirs?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.3-quixote1.dirs (added)
+++ packages/quixote1/trunk/debian/python2.3-quixote1.dirs Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+usr/share/lintian/overrides

Added: packages/quixote1/trunk/debian/python2.3-quixote1.docs
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.3-quixote1.docs?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.3-quixote1.docs (added)
+++ packages/quixote1/trunk/debian/python2.3-quixote1.docs Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+debian/README.Debian

Added: packages/quixote1/trunk/debian/python2.3-quixote1.lintian
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.3-quixote1.lintian?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.3-quixote1.lintian (added)
+++ packages/quixote1/trunk/debian/python2.3-quixote1.lintian Mon May  8 19:46:44 2006
@@ -1,0 +1,6 @@
+python2.3-quixote1: script-not-executable ./usr/lib/python2.3/site-packages/quixote/fcgi.py
+python2.3-quixote1: script-not-executable ./usr/lib/python2.3/site-packages/quixote/ptl_compile.py
+python2.3-quixote1: script-not-executable ./usr/lib/python2.3/site-packages/quixote/ptlc_dump.py
+python2.3-quixote1: script-not-executable ./usr/lib/python2.3/site-packages/quixote/demo/demo_scgi.py
+python2.3-quixote1: script-not-executable ./usr/lib/python2.3/site-packages/quixote/server/medusa_http.py
+python2.3-quixote1: script-not-executable ./usr/lib/python2.3/site-packages/quixote/server/twisted_http.py

Added: packages/quixote1/trunk/debian/python2.3-quixote1.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.3-quixote1.postinst?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.3-quixote1.postinst (added)
+++ packages/quixote1/trunk/debian/python2.3-quixote1.postinst Mon May  8 19:46:44 2006
@@ -1,0 +1,54 @@
+#! /bin/sh
+# postinst script for quixote1
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+PACKAGE=quixote1
+VERSION=2.3
+LIB="/usr/lib/python$VERSION"
+DIRLIST="$LIB/site-packages/quixote"
+
+case "$1" in
+    configure|abort-upgrade|abort-remove|abort-deconfigure)
+        for i in $DIRLIST ; do
+            /usr/bin/python$VERSION -O $LIB/compileall.py -q $i
+            /usr/bin/python$VERSION $LIB/compileall.py -q $i
+        done
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/quixote1/trunk/debian/python2.3-quixote1.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.3-quixote1.prerm?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.3-quixote1.prerm (added)
+++ packages/quixote1/trunk/debian/python2.3-quixote1.prerm Mon May  8 19:46:44 2006
@@ -1,0 +1,43 @@
+#! /bin/sh
+# prerm script for quixote1
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+PACKAGE=quixote1
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    	dpkg --listfiles $PACKAGE |
+                  awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+                  xargs rm -f >&2
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/quixote1/trunk/debian/python2.4-quixote1.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.4-quixote1.dirs?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.4-quixote1.dirs (added)
+++ packages/quixote1/trunk/debian/python2.4-quixote1.dirs Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+usr/share/lintian/overrides

Added: packages/quixote1/trunk/debian/python2.4-quixote1.docs
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.4-quixote1.docs?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.4-quixote1.docs (added)
+++ packages/quixote1/trunk/debian/python2.4-quixote1.docs Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+debian/README.Debian

Added: packages/quixote1/trunk/debian/python2.4-quixote1.lintian
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.4-quixote1.lintian?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.4-quixote1.lintian (added)
+++ packages/quixote1/trunk/debian/python2.4-quixote1.lintian Mon May  8 19:46:44 2006
@@ -1,0 +1,6 @@
+python2.4-quixote1: script-not-executable ./usr/lib/python2.4/site-packages/quixote/fcgi.py
+python2.4-quixote1: script-not-executable ./usr/lib/python2.4/site-packages/quixote/ptl_compile.py
+python2.4-quixote1: script-not-executable ./usr/lib/python2.4/site-packages/quixote/ptlc_dump.py
+python2.4-quixote1: script-not-executable ./usr/lib/python2.4/site-packages/quixote/demo/demo_scgi.py
+python2.4-quixote1: script-not-executable ./usr/lib/python2.4/site-packages/quixote/server/medusa_http.py
+python2.4-quixote1: script-not-executable ./usr/lib/python2.4/site-packages/quixote/server/twisted_http.py

Added: packages/quixote1/trunk/debian/python2.4-quixote1.postinst
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.4-quixote1.postinst?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.4-quixote1.postinst (added)
+++ packages/quixote1/trunk/debian/python2.4-quixote1.postinst Mon May  8 19:46:44 2006
@@ -1,0 +1,54 @@
+#! /bin/sh
+# postinst script for quixote1
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+PACKAGE=quixote1
+VERSION=2.3
+LIB="/usr/lib/python$VERSION"
+DIRLIST="$LIB/site-packages/quixote"
+
+case "$1" in
+    configure|abort-upgrade|abort-remove|abort-deconfigure)
+        for i in $DIRLIST ; do
+            /usr/bin/python$VERSION -O $LIB/compileall.py -q $i
+            /usr/bin/python$VERSION $LIB/compileall.py -q $i
+        done
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/quixote1/trunk/debian/python2.4-quixote1.prerm
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/python2.4-quixote1.prerm?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/python2.4-quixote1.prerm (added)
+++ packages/quixote1/trunk/debian/python2.4-quixote1.prerm Mon May  8 19:46:44 2006
@@ -1,0 +1,43 @@
+#! /bin/sh
+# prerm script for quixote1
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+PACKAGE=quixote1
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    	dpkg --listfiles $PACKAGE |
+                  awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+                  xargs rm -f >&2
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/quixote1/trunk/debian/quixote1-doc.docs
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/quixote1-doc.docs?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/quixote1-doc.docs (added)
+++ packages/quixote1/trunk/debian/quixote1-doc.docs Mon May  8 19:46:44 2006
@@ -1,0 +1,34 @@
+ACKS
+CHANGES
+README
+TODO
+doc/PTL.txt
+doc/demo.txt
+doc/demo.html
+doc/default.css
+doc/form2conversion.txt
+doc/form2conversion.html
+doc/multi-threaded.txt
+doc/multi-threaded.html
+doc/programming.txt
+doc/programming.html
+doc/session-mgmt.txt
+doc/session-mgmt.html
+doc/static-files.txt
+doc/static-files.html
+doc/upgrading.txt
+doc/upgrading.html
+doc/upload.txt
+doc/upload.html
+doc/web-server.txt
+doc/web-server.html
+doc/web-services.txt
+doc/web-services.html
+doc/widgets.txt
+doc/widgets.html
+demo/demo.cgi
+demo/demo.conf
+demo/demo_scgi.py
+demo/demo_scgi.sh
+demo/session_demo.cgi
+demo/upload.cgi

Added: packages/quixote1/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/rules?rev=535&op=file
==============================================================================
--- packages/quixote1/trunk/debian/rules (added)
+++ packages/quixote1/trunk/debian/rules Mon May  8 19:46:44 2006
@@ -1,0 +1,79 @@
+#!/usr/bin/make -f
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=4
+
+
+PYTHON23=/usr/bin/python2.3
+PYTHON24=/usr/bin/python2.4
+DESTDIR23=$(CURDIR)/debian/python2.3-quixote1/usr
+DESTDIR24=$(CURDIR)/debian/python2.4-quixote1/usr
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+build: build-stamp
+
+build-stamp:
+	dh_testdir
+
+	$(PYTHON23) setup.py build
+	$(PYTHON24) setup.py build
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	$(PYTHON23) setup.py clean --all
+	-rm -rf $(CURDIR)/debian/python2.3-quixote
+	$(PYTHON24) setup.py clean --all
+	-rm -rf $(CURDIR)/debian/python2.4-quixote
+	find . -name '*.pyc' -exec rm {} \;
+	-rm -rf $(CURDIR)/debian/quixote-doc
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(PYTHON23) setup.py install --prefix=$(DESTDIR23) --no-compile
+	$(PYTHON24) setup.py install --prefix=$(DESTDIR24) --no-compile
+
+	install -m 644 debian/python2.3-quixote1.lintian debian/python2.3-quixote1/usr/share/lintian/overrides/python2.3-quixote1
+	install -m 644 debian/python2.4-quixote1.lintian debian/python2.4-quixote1/usr/share/lintian/overrides/python2.4-quixote1
+
+binary-indep:
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installchangelogs CHANGES
+	dh_link
+	dh_strip
+	dh_compress -X.cgi -X.py -X.conf
+	dh_fixperms
+	dh_python -a
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install

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

Propchange: packages/quixote1/trunk/demo/demo.cgi
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+*

Modified: packages/quixote1/trunk/demo/demo_scgi.py
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/demo/demo_scgi.py?rev=535&op=diff
==============================================================================
--- packages/quixote1/trunk/demo/demo_scgi.py (original)
+++ packages/quixote1/trunk/demo/demo_scgi.py Mon May  8 19:46:44 2006
@@ -1,4 +1,4 @@
-#!/www/python/bin/python
+#! /usr/bin/python
 
 # Example SCGI driver script for the Quixote demo: publishes the contents of
 # the quixote.demo package.  To use this script with mod_scgi and Apache

Propchange: packages/quixote1/trunk/demo/demo_scgi.py
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/quixote1/trunk/demo/demo_scgi.sh
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/quixote1/trunk/demo/session_demo.cgi
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+*

Propchange: packages/quixote1/trunk/demo/upload.cgi
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+*

Modified: packages/quixote1/trunk/fcgi.py
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/fcgi.py?rev=535&op=diff
==============================================================================
--- packages/quixote1/trunk/fcgi.py (original)
+++ packages/quixote1/trunk/fcgi.py Mon May  8 19:46:44 2006
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python1.5
+#! /usr/bin/python
 #------------------------------------------------------------------------
 #               Copyright (c) 1998 by Total Control Software
 #                         All Rights Reserved

Modified: packages/quixote1/trunk/ptl_compile.py
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/ptl_compile.py?rev=535&op=diff
==============================================================================
--- packages/quixote1/trunk/ptl_compile.py (original)
+++ packages/quixote1/trunk/ptl_compile.py Mon May  8 19:46:44 2006
@@ -1,4 +1,4 @@
-#!/www/python/bin/python
+#! /usr/bin/python
 #$HeadURL: svn+ssh://svn/repos/trunk/quixote/ptl_compile.py $
 #$Id: ptl_compile.py 25234 2004-09-30 17:36:19Z nascheme $
 

Modified: packages/quixote1/trunk/ptlc_dump.py
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/ptlc_dump.py?rev=535&op=diff
==============================================================================
--- packages/quixote1/trunk/ptlc_dump.py (original)
+++ packages/quixote1/trunk/ptlc_dump.py Mon May  8 19:46:44 2006
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/python
 """
 Dump the information contained in a compiled PTL file.  Based on the
 dumppyc.py script in the Tools/compiler directory of the Python

Modified: packages/quixote1/trunk/server/medusa_http.py
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/server/medusa_http.py?rev=535&op=diff
==============================================================================
--- packages/quixote1/trunk/server/medusa_http.py (original)
+++ packages/quixote1/trunk/server/medusa_http.py Mon May  8 19:46:44 2006
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 """quixote.server.medusa_http
 

Modified: packages/quixote1/trunk/server/twisted_http.py
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/server/twisted_http.py?rev=535&op=diff
==============================================================================
--- packages/quixote1/trunk/server/twisted_http.py (original)
+++ packages/quixote1/trunk/server/twisted_http.py Mon May  8 19:46:44 2006
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 """
 twist -- Demo of an HTTP server built on top of Twisted Python.

Propchange: packages/quixote1/trunk/test/utest_html.py
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Mon May  8 19:46:44 2006
@@ -1,0 +1,1 @@
+*




More information about the Python-modules-commits mailing list