[Python-modules-commits] r30386 - in packages/django-floppyforms/trunk/debian (5 files)
fladi-guest at users.alioth.debian.org
fladi-guest at users.alioth.debian.org
Sun Aug 31 19:32:19 UTC 2014
Date: Sunday, August 31, 2014 @ 19:32:18
Author: fladi-guest
Revision: 30386
Add support for Python3 and ship separate documentation.
Added:
packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.doc-base
packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.docs
packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.links
Modified:
packages/django-floppyforms/trunk/debian/control
packages/django-floppyforms/trunk/debian/rules
Modified: packages/django-floppyforms/trunk/debian/control
===================================================================
--- packages/django-floppyforms/trunk/debian/control 2014-08-31 18:49:09 UTC (rev 30385)
+++ packages/django-floppyforms/trunk/debian/control 2014-08-31 19:32:18 UTC (rev 30386)
@@ -7,19 +7,27 @@
dh-python,
python-all,
python-coverage,
- python-django (>= 1.4.2),
+ python-django,
python-django (>= 1.6) | python-django-discover-runner,
python-pil,
- python-setuptools
+ python-setuptools,
+ python-sphinx (>= 1.0.7+dfsg-1~),
+ python3-all,
+ python3-coverage,
+ python3-django,
+ python3-pil,
+ python3-setuptools
Standards-Version: 3.9.5
X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.0
Homepage: https://github.com/brutasse/django-floppyforms
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-floppyforms/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/django-floppyforms/trunk/
Package: python-django-floppyforms
Architecture: all
-Depends: python-django (>= 1.4.2), ${misc:Depends}, ${python:Depends}
+Depends: python-django, ${misc:Depends}, ${python:Depends}
+Suggests: python-django-floppyforms-doc
Description: better control of form rendering in Django
Django-foppyforms is an application that gives you full control of the
output of forms rendering. This is more a widgets library than a forms
@@ -32,3 +40,41 @@
similar to the default Django widgets, except that they implement some
nice features of HTML5 forms, such as the placeholder and required
attribute, as well as the new <input> types.
+
+Package: python3-django-floppyforms
+Architecture: all
+Depends: python3-django, ${misc:Depends}, ${python3:Depends}
+Suggests: python-django-floppyforms-doc
+Description: better control of form rendering in Django (Python3 version)
+ Django-foppyforms is an application that gives you full control of the
+ output of forms rendering. This is more a widgets library than a forms
+ library but form fields are provided for convenience. The forms API and
+ features are exactly the same as Djangoâs, the key difference is that
+ widgets are rendered in templates instead of using string interpolation.
+ .
+ The widgets API allows you to customize and extend the widgets behaviour,
+ making it very easy to define custom widgets. The default widgets are very
+ similar to the default Django widgets, except that they implement some
+ nice features of HTML5 forms, such as the placeholder and required
+ attribute, as well as the new <input> types.
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python-django-floppyforms-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: better control of form rendering in Django (Documentation)
+ Django-foppyforms is an application that gives you full control of the
+ output of forms rendering. This is more a widgets library than a forms
+ library but form fields are provided for convenience. The forms API and
+ features are exactly the same as Djangoâs, the key difference is that
+ widgets are rendered in templates instead of using string interpolation.
+ .
+ The widgets API allows you to customize and extend the widgets behaviour,
+ making it very easy to define custom widgets. The default widgets are very
+ similar to the default Django widgets, except that they implement some
+ nice features of HTML5 forms, such as the placeholder and required
+ attribute, as well as the new <input> types.
+ .
+ This package contains the documentation.
Added: packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.doc-base
===================================================================
--- packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.doc-base (rev 0)
+++ packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.doc-base 2014-08-31 19:32:18 UTC (rev 30386)
@@ -0,0 +1,8 @@
+Document: python-django-floppyforms
+Title: django-floppyforms
+Author: Bruno Renié <bruno at renie.fr>
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-django-floppyforms-doc/html/index.html
+Files: /usr/share/doc/python-django-floppyforms-doc/html/*.html
Added: packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.docs
===================================================================
--- packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.docs (rev 0)
+++ packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.docs 2014-08-31 19:32:18 UTC (rev 30386)
@@ -0,0 +1 @@
+docs/.build/html
Added: packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.links
===================================================================
--- packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.links (rev 0)
+++ packages/django-floppyforms/trunk/debian/python-django-floppyforms-doc.links 2014-08-31 19:32:18 UTC (rev 30386)
@@ -0,0 +1 @@
+usr/share/doc/python-django-floppyforms-doc/html/_sources usr/share/doc/python-django-floppyforms-doc/rst
Modified: packages/django-floppyforms/trunk/debian/rules
===================================================================
--- packages/django-floppyforms/trunk/debian/rules 2014-08-31 18:49:09 UTC (rev 30385)
+++ packages/django-floppyforms/trunk/debian/rules 2014-08-31 19:32:18 UTC (rev 30386)
@@ -6,12 +6,16 @@
export PYBUILD_NAME=django-floppyforms
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+override_dh_auto_build:
+ dh_auto_build
+ PYTHONPATH=. sphinx-build -b html -N docs/ docs/.build/html
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e; \
- for python in $(shell pyversions -r); do \
+ for python in $(shell pyversions -r) $(shell py3versions -r); do \
PYTHONPATH="." DJANGO_SETTINGS_MODULE=tests.settings $$python runtests.py; \
done
endif
More information about the Python-modules-commits
mailing list