debian/0000755000000000000000000000000012224577111007170 5ustar debian/compat0000644000000000000000000000000212126575331010371 0ustar 9 debian/rules0000755000000000000000000000126712224566704010264 0ustar #!/usr/bin/make -f # Supported Python versions PYVERS = $(shell pyversions -vr) # Callable functions to determine the correct PYTHONPATH pythonpath = $$(ls -d $(CURDIR)/build/lib.*-$(1)) %: dh $@ --with=python2,sphinxdoc --buildsystem=python_distutils override_dh_clean: dh_clean rm -rf docs/_build override_dh_auto_build: dh_auto_build python setup.py build_sphinx override_dh_auto_install: dh_auto_install rm debian/tmp/usr/lib/python*/*-packages/Flask_Babel-*.egg-info/SOURCES.txt override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) set -ex && cd tests && for py in $(PYVERS); do \ PYTHONPATH=$(call pythonpath,$$py) python$$py tests.py ;\ done endif debian/copyright0000644000000000000000000000335612224566704011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Flask-Babel Source: https://pypi.python.org/pypi/Flask-Babel Files: * Copyright: 2010,2013 by Armin Ronacher 2013 Daniel Neuhäuser License: BSD-3-clause Files: debian/* Copyright: 2013 Sebastian Ramacher License: BSD-3-clause License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. 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. 3. The name of the author 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 ``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 AUTOR 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. debian/changelog0000644000000000000000000000162712224577105011053 0ustar flask-babel (0.9-1) unstable; urgency=low * New upstream release. (Closes: #718419) * debian/patches: - flask-0.8-extension-scheme.patch: Removed, no longer needed. - sphinx-default-theme.patch: Use default sphinx theme since flask_small is not contained in the source tarball. * debian/control: - Bump python-babel in Build-Depends to (>= 1.0) and remove python-tz. - Add versioned dependencies for python-babel. * debian/copyright: - Update copyright years. - Add Daniel Neuhäuser. -- Sebastian Ramacher Mon, 07 Oct 2013 20:32:26 +0200 flask-babel (0.8-2) unstable; urgency=low * Upload to unstable. -- Sebastian Ramacher Thu, 09 May 2013 15:01:40 +0200 flask-babel (0.8-1) experimental; urgency=low * Initial release. (Closes: #703533) -- Sebastian Ramacher Wed, 03 Apr 2013 00:45:00 +0200 debian/python-flask-babel-doc.docs0000644000000000000000000000002112126575331014263 0ustar docs/_build/html debian/patches/0000755000000000000000000000000012224577111010617 5ustar debian/patches/intersphinx-mapping.patch0000644000000000000000000000152512126575331015652 0ustar Description: use local object inventory files for sphinx Author: Sebastian Ramacher Forwarded: not-needed Last-Update: 2013-03-24 --- a/docs/conf.py +++ b/docs/conf.py @@ -219,5 +219,19 @@ [u'Armin Ronacher'], 1) ] -intersphinx_mapping = {'http://docs.python.org/': None, - 'http://flask.pocoo.org/docs/': None} +intersphinx_mapping = { + 'http://docs.python.org/dev': None, + 'http://flask.pocoo.org/docs': None +} +def check_object_path(key, url, path): + if os.path.isfile(path): + return {key: (url, path)} + return {} + +intersphinx_mapping = {} +intersphinx_mapping.update( + check_object_path('python', + 'http://docs.python.org/', + '/usr/share/doc/python%d.%d/html/objects.inv' % \ + sys.version_info[:2])) + debian/patches/sphinx-default-theme.patch0000644000000000000000000000165412224567015015703 0ustar Description: Use default theme for sphinx documentation The tarball is missing the flask_small theme. Until this is fixed in the tarball, build with the default theme. Author: Sebastian Ramacher Forwarded: not-needed Last-Update: 2013-10-07 --- flask-babel-0.9.orig/docs/conf.py +++ flask-babel-0.9/docs/conf.py @@ -92,14 +92,12 @@ exclude_patterns = ['_build'] # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. -html_theme = 'flask_small' +html_theme = 'default' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. html_theme_options = { - 'index_logo': 'flask-babel.png', - 'github_fork': 'mitsuhiko/flask-babel' } # Add any paths that contain custom themes here, relative to this directory. debian/patches/series0000644000000000000000000000006512224566704012043 0ustar intersphinx-mapping.patch sphinx-default-theme.patch debian/python-flask-babel-doc.doc-base0000644000000000000000000000060212126575331015015 0ustar Document: python-flask-babel Title: Flask-Babel API Documentation Author: Armin Ronacher Abstract: Flask-Babel adds internationalization and internationalization support to Flask applications. This is its API documentation. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-flask-babel-doc/html/index.html Files: /usr/share/doc/python-flask-babel-doc/html/*.html debian/clean0000644000000000000000000000005512126575331010200 0ustar html/* flask_babel.py Flask_Babel.egg-info/* debian/watch0000644000000000000000000000012412126575331010221 0ustar version=3 https://pypi.python.org/pypi/Flask-Babel \ .*/Flask-Babel-(.*)\.tar\.gz debian/python-flask-babel.install0000644000000000000000000000002212126575331014237 0ustar usr/lib/python2.* debian/control0000644000000000000000000000303112224576671010602 0ustar Source: flask-babel Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Sebastian Ramacher Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python-setuptools, python-flask (>= 0.8), python-babel (>= 1.0), python-jinja2 (>= 2.5), python-speaklater (>= 1.2), python-sphinx (>= 1.0.7+dfsg), python-doc X-Python-Version: >= 2.6 Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/flask-babel/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/flask-babel/trunk/ Homepage: https://github.com/mitsuhiko/flask-babel Package: python-flask-babel Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-flask (>= 0.8), python-babel (>= 1.0) Suggests: python-flask-babel-doc Description: internationalization and localization support for Flask Flask-Babel is an extension to Flask that adds internationalization and localization support. It has a friendly interface to gettext translations and supports date formatting with timezones. Package: python-flask-babel-doc Architecture: all Section: doc Depends: ${misc:Depends}, ${sphinxdoc:Depends} Description: internationalization and localization support for Flask (documentation) Flask-Babel is an extension to Flask that adds internationalization and localization support. It has a friendly interface to gettext translations and supports date formatting with timezones. . This package contains the documentation. debian/source/0000755000000000000000000000000012224577111010470 5ustar debian/source/format0000644000000000000000000000001412126575331011701 0ustar 3.0 (quilt)