--- pylons-0.9.7.orig/debian/README.source +++ pylons-0.9.7/debian/README.source @@ -0,0 +1,2 @@ +This package uses the patch management system quilt as documented in +/usr/share/doc/quilt/README.source. --- pylons-0.9.7.orig/debian/copyright +++ pylons-0.9.7/debian/copyright @@ -0,0 +1,106 @@ +This package was debianized by Oleksandr Moskalenko on +Fri, 13 Oct 2006 01:17:01 -0600. + +It was downloaded from + +Upstream Authors: Ben Bangert and James Gardner +. + +Copyright (c) 2005-2009 Ben Bangert, James Gardner, Philip Jenvey + and contributors. + +All rights reserved. + +License: + + This package is licensed under the 3-clause BSD License. + + + ALL TEMPLATES GENERATED ARE COVERED UNDER THE FOLLOWING LICENSE: + + Copyright (c) 2005-2009 Ben Bangert, James Gardner, Philip Jenvey + and contributors. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following condition is + met: + The name of the author or contributors may not be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS 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 THE AUTHOR OR 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. + + On Debian GNU/Linux systems, the complete text of the BSD license can be + found in `/usr/share/common-licenses/BSD'. + + + pylons/i18n/msgfmt.py and pylons/i18n/pygettext.py are are from the Python + 2.4 source distribution which is released under the open source PSF license + at http://www.python.org/download/releases/2.4.4/license/. + + PSF LICENSE AGREEMENT FOR PYTHON 2.4 + ------------------------------------ + + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") accessing and + otherwise using Python 2.4 software in source or binary form and its + associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, PSF + 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 Python 2.4 + alone or in any derivative version, provided, however, that PSF's + License Agreement and PSF's notice of copyright, i.e., "Copyright (c) + 2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved" + are retained in Python 2.4 alone or in any derivative version prepared + by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python 2.4 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 Python 2.4. + + 4. PSF is making Python 2.4 available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.4 WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + 2.4 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.4, + 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. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF and + Licensee. This License Agreement does not grant permission to use PSF + 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 Python 2.4, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + + + Debian packaging: + + The Debian packaging is © 2006-2009, Oleksandr Moskalenko + and is licensed under the GPL. On Debian GNU/Linux systems, the complete text + of the GPL license can be found in `/usr/share/common-licenses/GPL-3'. --- pylons-0.9.7.orig/debian/watch +++ pylons-0.9.7/debian/watch @@ -0,0 +1,4 @@ +# Compulsory line, this is a version 3 file +version=3 +opts=uversionmangle=s/rc/~rc/ \ +http://pypi.python.org/packages/source/P/Pylons/Pylons-(.*)\.tar\.gz --- pylons-0.9.7.orig/debian/install +++ pylons-0.9.7/debian/install @@ -0,0 +1,3 @@ +pylons/templates/* /usr/share/paster_templates/pylons/ +pylons/media/* /usr/share/python-pylons/media/ + --- pylons-0.9.7.orig/debian/control +++ pylons-0.9.7/debian/control @@ -0,0 +1,35 @@ +Source: pylons +Section: web +Priority: optional +Maintainer: Oleksandr Moskalenko +Uploaders: Debian Python Modules Team , + Piotr Ożarowski +Build-Depends: debhelper (>= 5), quilt +Build-Depends-Indep: python-support (>= 0.6.4), python-all, python-setuptools +Standards-Version: 3.8.3 +XS-Python-Version: all +Homepage: http://pylonshq.com/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/pylons/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pylons/trunk/ + +Package: python-pylons +Architecture: all +Depends: ${python:Depends}, python, python-routes (>= 1.10.3), python-nose (>= 0.10.4), + python-paste (>= 1.7.2), python-pastedeploy (>= 1.3.3), python-pastescript (>= 1.7.3-5~), + python-webob (>= 0.9.6.1), python-weberror (>= 0.10.1), python-webtest (>= 1.1), + python-beaker (>= 1.2.2), python-mako (>= 0.2.4), python-tempita (>= 0.2), + python-formencode (>= 1.2.1), python-webhelpers (>= 0.6.4), python-decorator (>= 2.3.2), + python-simplejson (>= 2.0.8), python-pkg-resources +Recommends: python-sqlalchemy (>= 0.5) | python-sqlobject +Suggests: python (>= 2.5) | python-celementtree | python-elementtree, + python-jinja, python-genshi (>= 0.4.4), python-cheetah (>= 1.0-1.1), + python-kid (>= 0.9.1-3), python-turbokid (>= 0.9.1), python-myghty (>= 1.1), + python-pygments (>= 0.7), python-pudge (>= 0.1.3), ipython, python-docutils (>= 0.4), + python-jinja2, libapache2-mod-wsgi, python-cherrypy3, python-migrate +XB-Python-Version: ${python:Versions} +Description: Python web framework emphasizing flexibility and rapid development + Pylons combines the very best ideas from the worlds of Ruby, Python and Perl, + providing a structured but extremely flexible Python web framework. It's also + one of the first projects to leverage the emerging WSGI standard, which allows + extensive re-use and flexibility, but only if you need it. Out of the box, + Pylons aims to make web development fast, flexible and easy. --- pylons-0.9.7.orig/debian/NEWS +++ pylons-0.9.7/debian/NEWS @@ -0,0 +1,22 @@ +pylons (0.9.7-1) unstable; urgency=low + + Pylons 0.9.7 changes several implicit behaviors of 0.9.6, as well as + toggling some new options of Routes, and using automatic HTML escaping in + Mako. Please read http://pylonshq.com/docs/en/0.9.7/upgrading/ and + /usr/share/doc/python-pylons/changelog.gz. Your 0.9.6 code may no longer + work with 0.9.7, so make sure you upgrade, change your code, and test it on + a system that is not your production machine. + + -- Piotr Ożarowski Mon, 23 Feb 2009 22:07:01 +0100 + +pylons (0.9.6.2-1) unstable; urgency=high + + There was a path traversal bug in default error controller in + all Pylons releases with Routes < 1.7.3. Pylons 0.9.6.2's project + template is already fixed. For existing projects, please make sure + you're using Routes 1.7.3 or later (1.8 is already in testing and + backports.org). For additional checks, please also update your + controllers/error.py file according to notes on Pylons' wiki page: + http://wiki.pylonshq.com/display/pylonsdocs/0.9.6.2 + + -- Piotr Ożarowski Wed, 28 May 2008 23:41:21 +0200 --- pylons-0.9.7.orig/debian/rules +++ pylons-0.9.7/debian/rules @@ -0,0 +1,47 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +package=python-pylons + +include /usr/share/quilt/quilt.make + +clean: unpatch + dh_testdir + dh_testroot + rm -rf build + find . -name '*\.py[co]' -delete + find . -name '\._*' -delete + find . -name '\.DS_Store' -delete + dh_clean + +build: + +install: patch + dh_testdir + dh_testroot + dh_installdirs + python setup.py install \ + --no-compile --prefix=/usr \ + --root $(CURDIR)/debian/$(package) + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs + dh_install + dh_installexamples + dh_compress -X.py + dh_fixperms + dh_pysupport + find debian/$(package) -type f -perm 755 | xargs -r chmod 644 + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- pylons-0.9.7.orig/debian/changelog +++ pylons-0.9.7/debian/changelog @@ -0,0 +1,250 @@ +pylons (0.9.7-2) unstable; urgency=low + + * Move templates to /usr/share/paster_templates (closes: #526767) + - depend on python-pastescript >= 1.7.3-5 + * Move media files to /usr/share/python-pylons/ + * Bump Standards-Version to 3.8.3 (no changes needed) + + -- Piotr Ożarowski Mon, 30 Nov 2009 00:26:47 +0100 + +pylons (0.9.7-1) unstable; urgency=low + + [ Oleksandr Moskalenko ] + * New upstream release + + [ Piotr Ożarowski ] + * Bump python-routes, python-webhelpers, python-beaker, python-pastedeploy, + python-simplejson and python-webob minimum required versions + * Set the minimum required SQLAlchemy version to >= 0.5 + * Add python-pkg-resources to Depends + * debian/copyright updated (added a note about templates) + + -- Oleksandr Moskalenko Mon, 23 Feb 2009 21:10:38 +0100 + +pylons (0.9.7~rc6-1) experimental; urgency=low + + * New upstream release + + -- Piotr Ożarowski Fri, 13 Feb 2009 20:08:50 +0100 + +pylons (0.9.7~rc5-1) experimental; urgency=low + + * New upstream release. + * debian/control: + - Updated depends versions for beaker, pastescript, formencode, + simplejson, mako, webob, weberror, webtest. + - Added suggests - python-jinja2, libapache2-mod-wsgi, python-cherrypy3, + python-turbokid, python-migrate. + * debian/copyright: Updated copyright information and link to GPL. + + -- Oleksandr Moskalenko Thu, 12 Feb 2009 11:21:06 -0700 + +pylons (0.9.7~rc4-1) experimental; urgency=low + + * New upstream release + * Add python-webtest to Depends + * Bump python-beaker, python-formencode, python-mako, python-pastescript and + python-webhelpers minimum required versions + * Add python-docutils to suggested packages + + -- Piotr Ożarowski Tue, 25 Nov 2008 10:09:35 +0100 + +pylons (0.9.7~rc3-1) experimental; urgency=low + + [ Sandro Tosi ] + * Switch Vcs-Browser field to viewsvn + + [ Piotr Ożarowski ] + * New upstream release + * bump python-beaker, python-paste, python-pastescript, python-formencode, + python-simplejson, python-nose, python-webob and python-weberror minimum + required versions + + -- Piotr Ożarowski Thu, 06 Nov 2008 17:50:04 +0100 + +pylons (0.9.7~rc2-1) experimental; urgency=low + + * New upstream release + * bump python-routes, python-beaker, python-webob and python-simplejson + minimum required versions + + -- Piotr Ożarowski Tue, 30 Sep 2008 20:05:28 +0200 + +pylons (0.9.7~rc1-1) experimental; urgency=low + + [ Christoph Haas ] + * add python-tempita, python-webob and python-weberror to Depends + * bump python-webhelpers, python-beaker, python-paste, python-pastescript, + python-formencode, python-nose and python-mako minimum required versions + + [ Piotr Ożarowski ] + * New upstream release + * add python-jinja and ipython to Suggests + * bump python-pastedeploy, python-decorator, python-mako, python-genshi and + python-simplejson minimum required versions + * tests are no longer installed + * s/python-elementree/python-elementtree (without any typos this time, + really closes: #485407) + * Update debian/watch file to handle "rc" versions correctly + + -- Piotr Ożarowski Fri, 15 Aug 2008 15:07:12 +0200 + +pylons (0.9.6.2-2) unstable; urgency=low + + * Typos fixed in: + + debian/NEWS + + debian/control (python-elementree in Suggests, closes: #485407) + * python-nose required version bumped to 0.9.3 (LP: #182384) + * Bump Standards-Version to 3.8.0 (no changes needed) + + -- Piotr Ożarowski Tue, 08 Jul 2008 20:06:43 +0200 + +pylons (0.9.6.2-1) unstable; urgency=high + + [ Piotr Ożarowski ] + * New upstream release (security fix) + + minimum required python-routes' version bumped to 1.8, + python-beaker's bumped to 0.8.1 + * Move python-myghty from Depends to Suggests + * Move python-support to Build-Depends-Indep + * Remove dpatch stuff, not needed anymore (thanks Christoph) + * Standards-version bumped to 3.7.3 + + [ Sandro Tosi ] + * debian/control + - uniforming Vcs-Browser field + + -- Piotr Ożarowski Wed, 28 May 2008 22:42:46 +0200 + +pylons (0.9.6.1-1) unstable; urgency=low + + * New upstream release + * Add Homepage field + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + * Remove README.Debian as python-decorator is already in the archive + * Remove debian/dirs file (no longer needed) + * Bump required versions of: python-routes, python-beaker, python-paste, + python-pastedeploy, python-pastescript, python-formencode, + python-decorator and python-mako + * Add python-{c,}elementtree, python-cheetah, python-kid, python-genshi, + python-pygments and python-pudge to Suggests + * Add myself to Uploaders + + -- Piotr Ożarowski Thu, 04 Oct 2007 23:23:28 +0200 + +pylons (0.9.6-2) unstable; urgency=low + + * debian/control: Updated dependency on python-webhelpers (Closes: #443835). + + -- Oleksandr Moskalenko Wed, 26 Sep 2007 10:49:28 -0600 + +pylons (0.9.6-1) unstable; urgency=low + + * New upstream release. + + -- Oleksandr Moskalenko Mon, 10 Sep 2007 14:23:38 -0600 + +pylons (0.9.5-7) unstable; urgency=low + + * Move tests to documentation (Closes: #433374). + + -- Oleksandr Moskalenko Mon, 16 Jul 2007 14:47:06 -0600 + +pylons (0.9.5-6) unstable; urgency=low + + * debian/control: Added a dependency on dpatch. + * debian/rules: Added rules to handle source patching at build-time using + dpatch. + * debian/patches/01-validate_unicode.dpatch: To fix a unicode validation + problem added a patch provided by "Dwayne C. Litzenberger" + (Closes: #427672). + + -- Oleksandr Moskalenko Tue, 05 Jun 2007 13:07:05 -0600 + +pylons (0.9.5-5) unstable; urgency=low + + * debian/control: Added python-mako to depends (Closes: #425332). + + -- Oleksandr Moskalenko Mon, 21 May 2007 13:10:30 -0600 + +pylons (0.9.5-4) unstable; urgency=low + + * Updated rules and control for new python-support with automated .egg.info + rename (Closes: #423793). + + -- Oleksandr Moskalenko Mon, 14 May 2007 09:26:54 -0600 + +pylons (0.9.5-3) unstable; urgency=low + + * Upload into unstable now that python-decorator is through the NEW queue. + * debian/control: Added a dependency on python-decorator. + + -- Oleksandr Moskalenko Mon, 07 May 2007 15:38:33 -0600 + +pylons (0.9.5-2) experimental; urgency=low + + * debian/control: Temporarily removed the dependency on python-decorator. I + suppose having pylons uninstallable won't help people to see the README + about the decorator package. + + -- Oleksandr Moskalenko Fri, 13 Apr 2007 19:31:07 -0600 + +pylons (0.9.5-1) experimental; urgency=low + + * New upstream release. + * README.Debian: Added a readme about where to obtain python-decorator + package needed by this pylons release. + * debian/control: Added a dependency on python-decorator. Pylons is not + going to be installable until decorator gets through the NEW queue, so I"m + uploading it to the experimental and making python-decorator available + separately. See README.Debian for complete information. + + -- Oleksandr Moskalenko Fri, 13 Apr 2007 12:28:12 -0600 + +pylons (0.9.4.1-4) unstable; urgency=low + + * Etch is released. Upload into unstable. + + -- Oleksandr Moskalenko Tue, 10 Apr 2007 12:32:29 -0600 + +pylons (0.9.4.1-3) experimental; urgency=low + + * Updated package dependencies (Closes: #413514). + + -- Oleksandr Moskalenko Mon, 5 Mar 2007 10:13:47 -0700 + +pylons (0.9.4.1-2) experimental; urgency=low + + * debian/control: + - Added XS-Vcs-Svn and XS-Vcs-Browser control fields. + + -- Oleksandr Moskalenko Mon, 29 Jan 2007 18:29:13 -0700 + +pylons (0.9.4.1-1) experimental; urgency=low + + * New upstream version bugfix release. + + -- Oleksandr Moskalenko Mon, 22 Jan 2007 10:32:11 -0700 + +pylons (0.9.4-1) experimental; urgency=low + + * New upstream version (Closes: #406649). + * debian/control: + - Updated version dependencies that changed with 0.9.4. + - I joined the Debian Python Modules Team, so added + to Uploaders. + + -- Oleksandr Moskalenko Fri, 12 Jan 2007 10:23:16 -0700 + +pylons (0.9.3-2) unstable; urgency=low + + * Fix a typo in package description (Closes: #402518). + + -- Oleksandr Moskalenko Thu, 14 Dec 2006 08:12:28 -0700 + +pylons (0.9.3-1) unstable; urgency=low + + * Initial release (Closes: #392482). + + -- Oleksandr Moskalenko Sun, 12 Nov 2006 21:44:37 -0700 + --- pylons-0.9.7.orig/debian/compat +++ pylons-0.9.7/debian/compat @@ -0,0 +1 @@ +5 --- pylons-0.9.7.orig/debian/patches/move_data_outside_site-packages.patch +++ pylons-0.9.7/debian/patches/move_data_outside_site-packages.patch @@ -0,0 +1,53 @@ +# moves non *.py files outside site-packages +# +# note that paster is modified in Debian to look for templates in +# /usr/share/paster_templates/ so this part of the code doesn't have to +# be patched +Index: pylons-0.9.7/setup.py +=================================================================== +--- pylons-0.9.7.orig/setup.py ++++ pylons-0.9.7/setup.py +@@ -74,7 +74,7 @@ the `Pylons download page