[Python-modules-commits] r1703 - in /packages/quixote/trunk/debian: changelog control patches/01-ptl_compile.py.dpatch python-quixote-doc.dirs python-quixote-doc.lintian python-quixote.lintian pyversions quixote-doc.docs quixote-doc.lintian quixote.lintian rules

malex at users.alioth.debian.org malex at users.alioth.debian.org
Thu Jan 25 22:51:37 CET 2007


Author: malex
Date: Thu Jan 25 22:51:37 2007
New Revision: 1703

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1703
Log:
Final version of the switchover to python-support - working.

Added:
    packages/quixote/trunk/debian/python-quixote-doc.dirs
    packages/quixote/trunk/debian/python-quixote-doc.lintian
    packages/quixote/trunk/debian/python-quixote.lintian
    packages/quixote/trunk/debian/pyversions
Removed:
    packages/quixote/trunk/debian/quixote-doc.docs
    packages/quixote/trunk/debian/quixote-doc.lintian
    packages/quixote/trunk/debian/quixote.lintian
Modified:
    packages/quixote/trunk/debian/changelog
    packages/quixote/trunk/debian/control
    packages/quixote/trunk/debian/patches/01-ptl_compile.py.dpatch
    packages/quixote/trunk/debian/rules

Modified: packages/quixote/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote/trunk/debian/changelog?rev=1703&op=diff
==============================================================================
--- packages/quixote/trunk/debian/changelog (original)
+++ packages/quixote/trunk/debian/changelog Thu Jan 25 22:51:37 2007
@@ -2,11 +2,19 @@
 
   * Acknowledge NMU (thanks to Matthias Klose <doko at debian.org>).
   * Injected quixote package into the svn repository of the Debian Python
-    Modules Packaging Teame (PMPT) with PMPT in uploaders.
+    Modules Packaging Team (PMPT) with PMPT added to uploaders.
   * debian/watch: Added a watch file.
+  * debian/patches/01-ptl_compile.py.dpatch: Changed hashbang from python2.3
+    to "/usr/bin/env python".
   * Switched packaging from python-central to python-support.
-    - debian/control: Changed Build-Depends form python-central to
-      python-support (>= 0.4.17)
+    - debian/control:
+      + Changed Build-Depends form python-central to python-support.
+      + Added PMPT to Uploaders.
+      + Removed "quixote" package - python-quixote replaced it.
+      + Removed "XS-Python-Version: >= 2.3" since debian/pyversions is used.
+      + Updated description of python-quixote.
+    - debian/pyversions: Added per new debian-python policy. Indicates
+      supported python versions.
     - python-quixote.dirs: copied python2.4-quixote.dirs and added
       usr/share/python-support/python-quixote
     - Replaced pythonX.X-* files with python-quixote.* files where appropriate

Modified: packages/quixote/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote/trunk/debian/control?rev=1703&op=diff
==============================================================================
--- packages/quixote/trunk/debian/control (original)
+++ packages/quixote/trunk/debian/control Thu Jan 25 22:51:37 2007
@@ -2,14 +2,42 @@
 Section: web
 Priority: optional
 Maintainer: Oleksandr Moskalenko <malex at debian.org>
-Uploaders: Neil Schemenauer <nas at debian.org>
-Build-Depends: dpatch, debhelper (>= 5.0.37.1), python-all-dev, python-support (>= 0.4.17)
+Uploaders: Neil Schemenauer <nas at debian.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: dpatch, debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-11), python-support (>= 0.5.3)
 Standards-Version: 3.7.2
-XS-Python-Version: >= 2.3
 
-Package: quixote
-Architecture: all
-Depends: python-quixote (=${Source-Version})
+#Package: quixote
+#Architecture: all
+#Depends: python-quixote (=${Source-Version})
+#XB-Python-Version: ${python:Versions}
+#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: python-quixote
+Architecture: any
+Depends: ${python:Depends}
+Recommends: python-quixote-doc
+Replaces: quixote (<< 2.4-6), python2.3-quixote (<< 2.4-6), python2.4-quixote (<< 2.4-6)
+Conflicts: quixote (<< 2.4-6), python2.3-quixote (<< 2.4-6), python2.4-quixote (<< 2.4-6)
+Provides: ${python:Provides}
 XB-Python-Version: ${python:Versions}
 Description: A highly Pythonic Web application framework
  Quixote is yet another framework for developing Web applications in
@@ -32,43 +60,11 @@
  graphic design showcase, and each web page as an individual work of
  art, Quixote is probably not what you're looking for.
 
-Package: python-quixote
-Architecture: any
-Depends: ${python:Depends}
-Recommends: python-quixote-doc
-Replaces: quixote (<< 2.4-4), python2.3-quixote (<< 2.4-4), python2.4-quixote (<< 2.4-4)
-Conflicts: quixote (<< 2.4-4), python2.3-quixote (<< 2.4-4), python2.4-quixote (<< 2.4-4)
-Provides: quixote, ${python:Provides}
-XB-Python-Version: ${python:Versions}
-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.
- .
- This is the actual binary package.
-
 Package: python-quixote-doc
 Section: doc
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Replaces: quixote-doc (<< 2.4-4)
-Conflicts: quixote-doc (<< 2.4-4)
-Provides: quixote-doc
+Replaces: quixote-doc (<< 2.4-6)
+Conflicts: quixote-doc (<< 2.4-6)
 Description: Quixote web application framework documentation
  Contains the documentation and examples for Quixote.

Modified: packages/quixote/trunk/debian/patches/01-ptl_compile.py.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote/trunk/debian/patches/01-ptl_compile.py.dpatch?rev=1703&op=diff
==============================================================================
--- packages/quixote/trunk/debian/patches/01-ptl_compile.py.dpatch (original)
+++ packages/quixote/trunk/debian/patches/01-ptl_compile.py.dpatch Thu Jan 25 22:51:37 2007
@@ -10,7 +10,7 @@
 +++ quixote-2.0/ptl/ptl_compile.py	2005-06-29 10:41:13.000000000 -0600
 @@ -1,4 +1,4 @@
 -#!/www/python/bin/python
-+#!/usr/bin/python2.3
++#!/usr/bin/env python
  """
  $URL: svn+ssh://svn.mems-exchange.org/repos/trunk/quixote/ptl/ptl_compile.py $
  $Id: ptl_compile.py 26357 2005-03-16 14:56:23Z dbinger $

Added: packages/quixote/trunk/debian/python-quixote-doc.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote/trunk/debian/python-quixote-doc.dirs?rev=1703&op=file
==============================================================================
--- packages/quixote/trunk/debian/python-quixote-doc.dirs (added)
+++ packages/quixote/trunk/debian/python-quixote-doc.dirs Thu Jan 25 22:51:37 2007
@@ -1,0 +1,1 @@
+usr/share/lintian/overrides

Added: packages/quixote/trunk/debian/python-quixote-doc.lintian
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote/trunk/debian/python-quixote-doc.lintian?rev=1703&op=file
==============================================================================
--- packages/quixote/trunk/debian/python-quixote-doc.lintian (added)
+++ packages/quixote/trunk/debian/python-quixote-doc.lintian Thu Jan 25 22:51:37 2007
@@ -1,0 +1,1 @@
+python-quixote-doc: copyright-should-refer-to-common-license-file-for-gpl

Added: packages/quixote/trunk/debian/python-quixote.lintian
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote/trunk/debian/python-quixote.lintian?rev=1703&op=file
==============================================================================
--- packages/quixote/trunk/debian/python-quixote.lintian (added)
+++ packages/quixote/trunk/debian/python-quixote.lintian Thu Jan 25 22:51:37 2007
@@ -1,0 +1,10 @@
+python-quixote: copyright-should-refer-to-common-license-file-for-gpl
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/server/twisted_server.py
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/server/simple_server.py
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/server/fastcgi_server.py
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/server/scgi_server.py
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/server/cgi_server.py
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/server/medusa_server.py
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/demo/mini_demo.py
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/ptl/ptlrun.py
+python-quixote: script-not-executable ./usr/share/python-support/python-quixote/quixote/ptl/ptl_compile.py

Added: packages/quixote/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote/trunk/debian/pyversions?rev=1703&op=file
==============================================================================
--- packages/quixote/trunk/debian/pyversions (added)
+++ packages/quixote/trunk/debian/pyversions Thu Jan 25 22:51:37 2007
@@ -1,0 +1,1 @@
+2.3-

Modified: packages/quixote/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote/trunk/debian/rules?rev=1703&op=diff
==============================================================================
--- packages/quixote/trunk/debian/rules (original)
+++ packages/quixote/trunk/debian/rules Thu Jan 25 22:51:37 2007
@@ -1,12 +1,9 @@
 #!/usr/bin/make -f
 # GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 package=python-quixote
 DEBIAN_DIR = $(shell pwd)/debian
-PYVERS=$(shell pyversions -r debian/control)
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -g
@@ -45,10 +42,9 @@
 	dh_installdirs
 
 install: build install-prereq
-	python setup.py install
+	python setup.py install \
 		--no-compile \
-		--single-version-externally-managed \
-		--root $(CURDIR)/debian/$(package)
+		--root $(DEBIAN_DIR)/$(package)
 
 binary-indep: build install
 
@@ -58,10 +54,15 @@
 	dh_installchangelogs CHANGES
 	dh_installdocs
 	dh_installexamples
+	install -m 644 debian/python-quixote.lintian \
+		$(DEBIAN_DIR)/$(package)/usr/share/lintian/overrides/python-quixote
+	install -m 644 debian/python-quixote-doc.lintian \
+		$(DEBIAN_DIR)/$(package)-doc/usr/share/lintian/overrides/python-quixote-doc
 	dh_link
 	dh_strip
 	dh_compress -X.cgi -X.py -X.conf
 	dh_fixperms
+	rm -f $(DEBIAN_DIR)/python-quixote-doc/usr/share/doc/python-quixote-doc/INSTALL.*
 	dh_pysupport
 	dh_installdeb
 	dh_gencontrol




More information about the Python-modules-commits mailing list