Commit b9e96dce authored by Jan Dittberner's avatar Jan Dittberner

Imported Debian patch 1.4.0-2

parents 130880f6 885769c8
python-django-crispy-forms (1.4.0-2) unstable; urgency=low
* debian/watch: add filenamemangle option
* debian/copyright: add separate section with license of docs/_themes
* add patches/001_fix_django1_6_incompatbility.patch to repair
documentation build with Django 1.6
-- Jan Dittberner <jandd@debian.org> Mon, 25 Nov 2013 18:44:30 +0100
python-django-crispy-forms (1.4.0-1) unstable; urgency=low
* Initial release (Closes: #725618)
-- Jan Dittberner <jandd@debian.org> Sun, 06 Oct 2013 21:26:25 +0200
Source: python-django-crispy-forms
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Jan Dittberner <jandd@debian.org>
Build-Depends: debhelper (>= 9), python
Build-Depends-Indep: python-django, python-setuptools, python-sphinx | python3-sphinx
Standards-Version: 3.9.4
Homepage: https://github.com/maraujop/django-crispy-forms
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-django-crispy-forms/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-django-crispy-forms/trunk/
Package: python-django-crispy-forms
Architecture: all
Depends: python-django, ${misc:Depends}, ${python:Depends}, ${sphinxdoc:Depends}
Description: app for Django providing elegant form rendering
django-crispy-forms provides you with a |crispy filter and {% crispy %} tag
that will let you control the rendering behavior of your Django forms in a
very elegant and DRY way. Have full control without writing custom form
templates. All this without breaking the standard way of doing things in
Django, so it plays nice with any other form application.
.
Django-crispy-forms supports several frontend frameworks, such as Twitter
Bootstrap (versions 2 and 3), Uni-form and Foundation. You can also easily
adapt your custom company's one, creating your own, see the docs for more
information. You can easily switch among them using CRISPY_TEMPLATE_PACK
setting variable.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-django-crispy-forms
Source: https://github.com/maraujop/django-crispy-forms
Files: *
Copyright: 2009-2013 Miguel Araujo and contributors
License: MIT
Files: debian/*
Copyright: 2013 Jan Dittberner <jandd@debian.org>
License: MIT
Files: docs/_themes/*
Copyright: 2010 Kenneth Reitz
2010 Armin Ronacher
License: BSD-3-clause
Some rights reserved.
.
Redistribution and use in source and binary forms of the theme, 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.
.
We kindly ask you to only use these themes in an unmodified manner just
for Flask and Flask-related products, not for unrelated projects. If you
like the visual style and want to use it for your own projects, please
consider making some larger changes to the themes (such as changing
font faces, sizes, colors or margins).
.
THIS THEME 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 THEME, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
License: MIT
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
CONTRIBUTORS.txt
*.rst
docs/_build/html
Subject: Fix Django 1.6 incompatbility for Sphinx documentation generation
Author: Jan Dittberner <jan@dittberner.info>
Date: Mon Nov 25 18:20:28 2013 +0100
Forwarded: https://github.com/maraujop/django-crispy-forms/pull/273
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,9 +22,8 @@ sys.path.insert(0, os.path.abspath('../crispy_forms'))
sys.path.insert(0, os.path.abspath('../crispy_forms/templatetags'))
sys.path.append(os.path.abspath('_themes'))
-import settings
-from django.core.management import setup_environ
-setup_environ(settings)
+from django.conf import settings
+settings.configure()
# -- General configuration -----------------------------------------------------
001_fix_django1_6_incompatbility.patch
Document: django-crispy-forms
Title: Django Crispy Forms Documentation
Abstract: This is the documentation of Django Crispy Forms, a Django app
providing elegant form rendering.
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-django-crispy-forms/html/index.html
Files: /usr/share/doc/python-django-crispy-forms/html/*.html
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
override_dh_auth_clean:
rm -rf docs/_build
dh_auto_clean
override_dh_auto_build:
cd docs && $(MAKE) html
dh_auto_build
override_dh_install_changelogs:
dh_install_changelogs -i CHANGELOG.md
%:
dh $@ --with=python2,sphinxdoc --buildsystem=python_distutils
version=3
opts=filenamemangle=s/.+\/(\d\S*)\.tar\.gz/python-django-crispy-forms-$1.tar.gz/ \
https://github.com/maraujop/django-crispy-forms/releases /maraujop/django-crispy-forms/archive/([\d.]+)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment