debian/0000755000000000000000000000000012302375761007174 5ustar debian/__init__.py0000644000000000000000000000000011561301557011271 0ustar debian/copyright0000644000000000000000000000353011414713356011127 0ustar This package was debianized by Piotr Ożarowski on Fri, 16 Apr 2010 21:45:12 +0200. It was downloaded from http://pypi.python.org/pypi/Flask Copyright (c) 2010 by Armin Ronacher and contributors. See AUTHORS for more details. Some rights reserved. Redistribution and use in source and binary forms of the software as well as documentation, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * The names of the contributors may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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 AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The Debian packaging is © 2010, Piotr Ożarowski and is licensed under the BSD as well. debian/python-flask-doc.doc-base0000644000000000000000000000051612201001617013737 0ustar Document: flask Title: Flask Documentation Author: Armin Ronacher Abstract: This document describes Flask - Python micro web framework Section: Programming/Python Format: text Files: /usr/share/doc/python-flask/rst/*.txt Format: HTML Index: /usr/share/doc/python-flask/html/index.html Files: /usr/share/doc/python-flask/html/*.html debian/python-flask.pyremove0000644000000000000000000000002012007010721013353 0ustar flask/testsuite debian/changelog0000644000000000000000000000746612302375761011063 0ustar flask (0.10.1-2build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:47:29 +0000 flask (0.10.1-2) unstable; urgency=low * Add python3-flask binary package * Add python-blinker to Recommends (used in flask.signals) * Switch to pybuild buildsystem * Add fix_test_appcontext_signals and fix_test_json_key_sorting patches and enable tests at build time (patches taked from upstream repo) -- Piotr Ożarowski Thu, 08 Aug 2013 22:19:13 +0200 flask (0.10.1-1) unstable; urgency=low * New upstream release * Add python-itsdangerous to Build-Depends and let dh_python2 add it to Depends -- Piotr Ożarowski Sun, 16 Jun 2013 15:08:42 +0200 flask (0.9-2) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Piotr Ożarowski ] * Add python-flask-doc binary package (closes: #703802) * debian/compat bumped to 9 * Standards-Version bumped to 3.9.4 (no changes needed) * upload to unstable -- Piotr Ożarowski Sun, 05 May 2013 20:25:15 +0200 flask (0.9-1) experimental; urgency=low * New upstream release - upload to experimental due to Wheezy freeze * remove flask/testsuite from binary package (it's doesn't work outside build directory) * Standards-Version bumped to 3.9.3 (no changes needed) -- Piotr Ożarowski Fri, 03 Aug 2012 19:29:35 +0200 flask (0.8-1) unstable; urgency=low * New upstream release * Bump minimum required python-werkzeug version to 0.8 -- Piotr Ożarowski Sun, 16 Oct 2011 19:37:43 +0200 flask (0.7.2-1) unstable; urgency=low * New upstream release -- Piotr Ożarowski Thu, 07 Jul 2011 23:09:37 +0200 flask (0.7.1-1) unstable; urgency=low * New upstream release -- Piotr Ożarowski Wed, 29 Jun 2011 20:17:09 +0200 flask (0.7-1) unstable; urgency=low * New upstream release -- Piotr Ożarowski Tue, 28 Jun 2011 21:46:12 +0200 flask (0.6.1-2) unstable; urgency=low * Provide flaskext namespace * Build depend on python-all to make sure dh will invoke setup.py install for all supported Python versions (and thus avoid dh_python2's .pyinstall vs. guess_versions race) * Standards-Version bumped to 3.9.2 (no changes needed) -- Piotr Ożarowski Sat, 07 May 2011 19:34:59 +0200 flask (0.6.1-1) unstable; urgency=low * New upstream release -- Piotr Ożarowski Sat, 15 Jan 2011 20:49:53 +0100 flask (0.6-1) unstable; urgency=low * New upstream release * Standards-Version bumped to 3.9.1 (no changes needed) -- Piotr Ożarowski Wed, 28 Jul 2010 17:46:02 +0200 flask (0.5.2-1) unstable; urgency=low * New upstream release -- Piotr Ożarowski Sun, 18 Jul 2010 14:46:40 +0200 flask (0.5.1-1) unstable; urgency=low * New upstream release * Convert to dh_python2 * Standards-Version bumped to 3.9.0 (no changes needed) -- Piotr Ożarowski Sun, 11 Jul 2010 19:51:17 +0200 flask (0.4-1) unstable; urgency=low * New upstream release -- Piotr Ożarowski Thu, 24 Jun 2010 01:26:58 +0200 flask (0.3.1-1) unstable; urgency=low * New upstream release * Add python-jinja2 and python-werkzeug to Build-Depends-Indep (for tests) -- Piotr Ożarowski Fri, 28 May 2010 22:08:19 +0200 flask (0.2-1) unstable; urgency=low * New upstream release * Add python-simplejson | python (>= 2.6) to Recommends -- Piotr Ożarowski Wed, 12 May 2010 11:04:18 +0200 flask (0.1-1) unstable; urgency=low * Initial release (closes: #578093) -- Piotr Ożarowski Fri, 16 Apr 2010 21:45:12 +0200 debian/python-flask-doc.links0000644000000000000000000000045612201001714013403 0ustar /usr/share/doc/python-flask-doc/html /usr/share/doc/python-flask/html /usr/share/doc/python-flask-doc/html/_sources/ /usr/share/doc/python-flask/rst /usr/share/doc/python-flask-doc/html /usr/share/doc/python3-flask/html /usr/share/doc/python-flask-doc/html/_sources/ /usr/share/doc/python3-flask/rst debian/pydist-overrides0000644000000000000000000000010011646614356012430 0ustar Werkzeug python-werkzeug (>= 0.8) Jinja2 python-jinja2 (>= 2.4) debian/compat0000644000000000000000000000000212141525631010364 0ustar 9 debian/patches/0000755000000000000000000000000012201004422010600 5ustar debian/patches/fix_test_appcontext_signals.patch0000644000000000000000000000100012201003472017426 0ustar Index: flask-0.10.1/flask/testsuite/signals.py =================================================================== --- flask-0.10.1.orig/flask/testsuite/signals.py +++ flask-0.10.1/flask/testsuite/signals.py @@ -102,7 +102,7 @@ class SignalsTestCase(FlaskTestCase): def record_push(sender, **kwargs): recorded.append('push') def record_pop(sender, **kwargs): - recorded.append('push') + recorded.append('pop') @app.route('/') def index(): debian/patches/fix_test_json_key_sorting.patch0000644000000000000000000000304012201004442017113 0ustar Index: flask-0.10.1/flask/testsuite/helpers.py =================================================================== --- flask-0.10.1.orig/flask/testsuite/helpers.py +++ flask-0.10.1/flask/testsuite/helpers.py @@ -173,7 +173,33 @@ class JSONTestCase(FlaskTestCase): c = app.test_client() rv = c.get('/') lines = [x.strip() for x in rv.data.strip().decode('utf-8').splitlines()] - self.assert_equal(lines, [ + sorted_by_str = [ + '{', + '"values": {', + '"0": "foo",', + '"1": "foo",', + '"10": "foo",', + '"11": "foo",', + '"12": "foo",', + '"13": "foo",', + '"14": "foo",', + '"15": "foo",', + '"16": "foo",', + '"17": "foo",', + '"18": "foo",', + '"19": "foo",', + '"2": "foo",', + '"3": "foo",', + '"4": "foo",', + '"5": "foo",', + '"6": "foo",', + '"7": "foo",', + '"8": "foo",', + '"9": "foo"', + '}', + '}' + ] + sorted_by_int = [ '{', '"values": {', '"0": "foo",', @@ -198,8 +224,12 @@ class JSONTestCase(FlaskTestCase): '"19": "foo"', '}', '}' - ]) + ] + try: + self.assert_equal(lines, sorted_by_int) + except AssertionError: + self.assert_equal(lines, sorted_by_str) class SendfileTestCase(FlaskTestCase): debian/patches/series0000644000000000000000000000010212201003762012014 0ustar fix_test_appcontext_signals.patch fix_test_json_key_sorting.patch debian/control0000644000000000000000000000433212201005530010557 0ustar Source: flask Section: python Priority: optional Maintainer: Piotr Ożarowski Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 9), dh-python, python-all, python3-all, python-setuptools, python3-setuptools, # for docs: python-sphinx (>= 1.0.7+dfsg), python-werkzeug (>= 0.8), python-jinja2, python-itsdangerous, # for tests: python3-werkzeug, python3-jinja2, python3-itsdangerous, python-simplejson, python3-simplejson, python-blinker Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/flask/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/flask/trunk/ Homepage: http://flask.pocoo.org/ X-Python-Version: >= 2.5 X-Python3-Version: >= 3.3 Package: python-flask Architecture: all Depends: ${python:Depends}, ${misc:Depends} Recommends: python-pkg-resources, python-simplejson | python (>= 2.6), python-blinker Suggests: python-flask-doc Description: micro web framework based on Werkzeug, Jinja2 and good intentions Flask is a micro web framework for Python based on Werkzeug, Jinja 2 and good intentions. A minimal Flask application looks like that: . from flask import Flask app = Flask(__name__) . @app.route("/") def hello(): return "Hello World!" . if __name__ == '__main__': app.run() Package: python3-flask Architecture: all Depends: ${python3:Depends}, ${misc:Depends} Recommends: python3-pkg-resources, python3-simplejson | python3 Suggests: python-flask-doc Description: micro web framework based on Werkzeug, Jinja2 and good intentions Flask is a micro web framework for Python based on Werkzeug, Jinja 2 and good intentions. A minimal Flask application looks like that: . from flask import Flask app = Flask(__name__) . @app.route("/") def hello(): return "Hello World!" . if __name__ == '__main__': app.run() Package: python-flask-doc Section: doc Architecture: all Priority: extra Depends: ${misc:Depends}, ${sphinxdoc:Depends} Recommends: python-flask Description: documentation for Flask micro web framework Flask is a Python micro web framework based on Werkzeug and Jinja2 . This package contains the documentation for Flask debian/python3-flask.pydist0000644000000000000000000000003412201006276013117 0ustar Flask python3-flask; PEP386 debian/python-flask.pyinstall0000644000000000000000000000003411561301550013540 0ustar debian/__init__.py flaskext debian/rules0000755000000000000000000000124112201006051010227 0ustar #!/usr/bin/make -f export PYBUILD_DESTDIR_python2=debian/python-flask/ export PYBUILD_DESTDIR_python3=debian/python3-flask/ %: dh $@ --with python2,python3,sphinxdoc --buildsystem pybuild override_dh_auto_test: http_proxy='' dh_auto_test override_dh_python3: dh_python3 -p python3-flask rm -rf debian/python3-flask/usr/lib/python3/dist-packages/flask/testsuite/ override_dh_installdocs: dh_installdocs PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-flask-doc/usr/share/doc/python-flask-doc/html/ override_dh_auto_clean: dh_auto_clean rm -rf Flask.egg-info/ build find . \( -name '*.py[co]' -or -name '\._*' -or -name '\.DS_Store' \) -delete debian/source/0000755000000000000000000000000011424050263010463 5ustar debian/source/format0000644000000000000000000000001411362152412011671 0ustar 3.0 (quilt) debian/python-flask.pydist0000644000000000000000000000003311414714410013034 0ustar Flask python-flask; PEP386 debian/watch0000644000000000000000000000015511362152372010222 0ustar version=3 opts=uversionmangle=s/rc/~rc/ \ http://pypi.python.org/packages/source/F/Flask/Flask-(.+)\.tar\.gz