[Python-modules-commits] [python-django-crispy-forms] 07/09: Add support for Python3.

Michael Fladischer fladi at moszumanska.debian.org
Wed Oct 14 11:05:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository python-django-crispy-forms.

commit 85899233a223176316a25e5aa1bb4ab21838e413
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Wed Oct 14 12:38:20 2015 +0200

    Add support for Python3.
---
 debian/control | 30 ++++++++++++++++++++++++++++--
 debian/rules   |  2 +-
 2 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index c53f1eb..b4fc1af 100644
--- a/debian/control
+++ b/debian/control
@@ -4,15 +4,20 @@ Uploaders: Jan Dittberner <jandd at debian.org>
 Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               python
+               python-all,
+               python3-all
 Build-Depends-Indep: dh-python,
                      python-django,
                      python-setuptools,
-                     python-sphinx | python3-sphinx
+                     python-sphinx | python3-sphinx,
+                     python3-django,
+                     python3-setuptools
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-django-crispy-forms.git
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-django-crispy-forms.git
 Homepage: https://github.com/maraujop/django-crispy-forms
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
 
 Package: python-django-crispy-forms
 Architecture: all
@@ -32,3 +37,24 @@ Description: app for Django providing elegant form rendering
  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.
+
+Package: python3-django-crispy-forms
+Architecture: all
+Depends: python3-django,
+         ${misc:Depends},
+         ${python3:Depends},
+         ${sphinxdoc:Depends}
+Description: app for Django providing elegant form rendering (Python3 version)
+ 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.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/rules b/debian/rules
index d5670cc..70e973c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,4 +19,4 @@ override_dh_install_changelogs:
 	dh_install_changelogs -i CHANGELOG.md
 
 %:
-	dh $@ --with=python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with=python2,python3,sphinxdoc --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-crispy-forms.git



More information about the Python-modules-commits mailing list