debian/0000755000000000000000000000000012246715651007177 5ustar debian/README.source0000644000000000000000000000015111616046507011350 0ustar This package uses the patch management system quilt as documented in /usr/share/doc/quilt/README.source. debian/install0000644000000000000000000000014711616046507010567 0ustar pylons/templates/* /usr/share/paster_templates/pylons/ pylons/media/* /usr/share/python-pylons/media/ debian/rules0000755000000000000000000000166512246715412010262 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 package=python-pylons clean: dh_testdir dh_testroot rm -rf build Pylons.egg-info tests/test_units/cache tests/test_units/session find . -name '*\.py[co]' -delete find . -name '\._*' -delete find . -name '\.DS_Store' -delete dh_clean build: build-arch: build-indep: install: 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_python2 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 build-arch build-indep clean binary-indep binary-arch binary install debian/compat0000644000000000000000000000000211616046507010372 0ustar 5 debian/copyright0000644000000000000000000001072711616047254011136 0ustar 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. 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-2010, Oleksandr Moskalenko and is licensed under the BSD license as above. debian/control0000644000000000000000000000346012246715645010610 0ustar Source: pylons Section: web Priority: optional Maintainer: Debian Python Modules Team Uploaders: Piotr Ożarowski , Oleksandr Moskalenko Build-Depends: debhelper (>= 5), dh-python Build-Depends-Indep: python-all (>= 2.6.6-3), python-setuptools Standards-Version: 3.9.5 Homepage: http://pylonshq.com/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pylons/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pylons/trunk/ Package: python-pylons Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-routes (>= 1.12.3), python-paste (>= 1.7.5.1), python-pastedeploy (>= 1.5.0), python-pastescript (>= 1.7.4), python-webob (>= 1.1.1), python-weberror (>= 0.10.3), python-webtest (>= 1.3.1), python-beaker (>= 1.5.4), python-mako (>= 0.5.0), python-tempita (>= 0.5.1), python-formencode (>= 1.2.4), python-webhelpers (>= 0.6.4), python-decorator (>= 3.3.2), python-simplejson (>= 2.2.1), python-nose (>= 1.1.2), python-pkg-resources, python-markupsafe (>= 0.15) Recommends: python-sqlalchemy (>= 0.5) | python-sqlobject Suggests: python-jinja2, python-genshi (>= 0.6), python-cheetah (>= 1.0-1.1), python-kid (>= 0.9.1-3), python-myghty (>= 1.1), python-pygments (>= 0.7), python-migrate, python-docutils (>= 0.4), ipython, libapache2-mod-wsgi 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. debian/watch0000644000000000000000000000023311616046507010223 0ustar # 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 debian/NEWS0000644000000000000000000000212211616046507007670 0ustar 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 debian/patches/0000755000000000000000000000000012246712647010630 5ustar debian/patches/move_data_outside_site-packages.patch0000644000000000000000000000424011616046507020137 0ustar # 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 Sun, 01 Dec 2013 21:00:37 +0100 pylons (1.0-2) unstable; urgency=low * Add ipython_0.11_compatibility patch (thanks to Julian Taylor) * Add build-arch and build-indep targets to debian/rules * Switch from dh_pysupport to dh_python2 * Source format changed to 3.0 (quilt) * Standards-Version bumped to 3.9.2 (no changes needed) -- Piotr Ożarowski Tue, 02 Aug 2011 21:17:36 +0200 pylons (1.0-1) experimental; urgency=low * New upstream release * python-pudge removed from Suggests (package is no longer in Debian) -- Piotr Ożarowski Fri, 28 May 2010 20:51:33 +0200 pylons (1.0~rc1-1) experimental; urgency=low [ Oleksandr Moskalenko ] * debian/control: Switched maintainer to DPMT. * debian/copyright: Switched debian packaging license to BSD to sync with upstream. [ Piotr Ożarowski ] * New upstream release - python-routes minimum version bumped to 1.12 * Install UPGRADING file in /usr/share/doc/python-pylons/ -- Piotr Ożarowski Tue, 02 Mar 2010 22:33:25 +0100 pylons (1.0~b1-1) experimental; urgency=low * New upstream release * python-beaker minimum version bumped to 1.3 * python-jinja, *elementtree, python-turbokid and python-cherrypy3 removed from Recommends/Suggests -- Piotr Ożarowski Sat, 06 Feb 2010 17:48:36 +0100 pylons (0.10~b1-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.8.4 (no changes needed) -- Piotr Ożarowski Sat, 06 Feb 2010 17:20:58 +0100 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 debian/docs0000644000000000000000000000001211616046507010040 0ustar UPGRADING