[Python-modules-commits] r1250 - /packages/quixote1/trunk/debian/
santiago at users.alioth.debian.org
santiago at users.alioth.debian.org
Fri Aug 11 05:01:49 UTC 2006
Author: santiago
Date: Fri Aug 11 05:01:49 2006
New Revision: 1250
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1250
Log:
* Initial attempt to follow the new python policy
Added:
packages/quixote1/trunk/debian/pycompat
Removed:
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/watch
Modified:
packages/quixote1/trunk/debian/changelog
packages/quixote1/trunk/debian/control
packages/quixote1/trunk/debian/rules
Modified: packages/quixote1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/changelog?rev=1250&op=diff
==============================================================================
--- packages/quixote1/trunk/debian/changelog (original)
+++ packages/quixote1/trunk/debian/changelog Fri Aug 11 05:01:49 2006
@@ -1,9 +1,8 @@
-quixote1 (2.4-1) UNRELEASED; urgency=low
+quixote1 (1.2-4) unstable; urgency=low
- * New upstream version
- * Added watch file
+ * Updated to the new python policy (Closes: #380926)
- -- Piotr Ozarowski <ozarow at gmail.com> Tue, 6 Jun 2006 13:50:09 +0200
+ -- Santiago Ruano Rincón <santiago at debian.org> Thu, 10 Aug 2006 22:13:36 -0500
quixote1 (1.2-3) unstable; urgency=low
Modified: packages/quixote1/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/control?rev=1250&op=diff
==============================================================================
--- packages/quixote1/trunk/debian/control (original)
+++ packages/quixote1/trunk/debian/control Fri Aug 11 05:01:49 2006
@@ -1,68 +1,18 @@
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
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Santiago Ruano Rincón <santiago at debian.org>
+Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.3.5-11), python-all-dev (>= 2.3.5-11)
+Standards-Version: 3.7.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
+Package: python-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
+Conflicts: quixote1, python2.3-quixote1, python2.4-quixote1, quixote, python-quixote
+Replaces: quixote1, python2.3-quixote1, python2.4-quixote1, quixote, python-quixote
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
Description: A highly Pythonic Web application framework
Quixote is yet another framework for developing Web applications in
Python. The design goals were:
@@ -86,6 +36,6 @@
Package: quixote1-doc
Architecture: any
-Depends: python2.3-quixote1 | python2.4-quixote1
+Depends: python-quixote1
Description: Quixote web application framework documentation
Contains the documentation and examples for Quixote-1.2.
Added: packages/quixote1/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/pycompat?rev=1250&op=file
==============================================================================
--- packages/quixote1/trunk/debian/pycompat (added)
+++ packages/quixote1/trunk/debian/pycompat Fri Aug 11 05:01:49 2006
@@ -1,0 +1,1 @@
+2
Modified: packages/quixote1/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/quixote1/trunk/debian/rules?rev=1250&op=diff
==============================================================================
--- packages/quixote1/trunk/debian/rules (original)
+++ packages/quixote1/trunk/debian/rules Fri Aug 11 05:01:49 2006
@@ -8,10 +8,9 @@
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
+DESTDIR=$(CURDIR)/debian/python-quixote1/usr
+
+PYVERS=$(shell pyversions -rs)
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
@@ -25,8 +24,9 @@
build-stamp:
dh_testdir
- $(PYTHON23) setup.py build
- $(PYTHON24) setup.py build
+ for python in $(PYVERS); do \
+ $$python setup.py build ; \
+ done
touch build-stamp
clean:
@@ -34,10 +34,10 @@
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
+ for python in $(PYVERS); do \
+ $$python setup.py clean --all ; \
+ done
+ -rm -rf $(CURDIR)/debian/python-quixote
find . -name '*.pyc' -exec rm {} \;
-rm -rf $(CURDIR)/debian/quixote-doc
@@ -49,11 +49,11 @@
dh_clean -k
dh_installdirs
- $(PYTHON23) setup.py install --prefix=$(DESTDIR23) --no-compile
- $(PYTHON24) setup.py install --prefix=$(DESTDIR24) --no-compile
+ for python in $(PYVERS); do \
+ $$python setup.py install --prefix=$(DESTDIR) --no-compile ; \
+ done
- 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
+ install -m 644 debian/python-quixote1.lintian debian/python-quixote1/usr/share/lintian/overrides/python-quixote1
binary-indep:
@@ -68,6 +68,7 @@
dh_strip
dh_compress -X.cgi -X.py -X.conf
dh_fixperms
+ dh_pysupport
dh_python -a
dh_installdeb
dh_shlibdeps
More information about the Python-modules-commits
mailing list