[Python-modules-commits] r30435 - in packages/django-reversion/trunk/debian (control rules)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Mon Sep 1 05:57:42 UTC 2014


    Date: Monday, September 1, 2014 @ 05:57:41
  Author: fladi-guest
Revision: 30435

Add Python3 support.

Modified:
  packages/django-reversion/trunk/debian/control
  packages/django-reversion/trunk/debian/rules

Modified: packages/django-reversion/trunk/debian/control
===================================================================
--- packages/django-reversion/trunk/debian/control	2014-09-01 05:45:35 UTC (rev 30434)
+++ packages/django-reversion/trunk/debian/control	2014-09-01 05:57:41 UTC (rev 30435)
@@ -9,9 +9,13 @@
                python-babel,
                python-django (>= 1.6),
                python-django-south,
-               python-sphinx (>= 1.0.7+dfsg)
+               python-sphinx (>= 1.0.7+dfsg),
+               python3-all,
+               python3-babel,
+               python3-django
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.2
 Homepage: https://github.com/etianen/django-reversion
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-reversion/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/django-reversion/trunk/
@@ -35,6 +39,26 @@
     flexible signalling framework.
   * Automate your revision management with easy-to-use middleware.
 
+Package: python3-django-reversion
+Architecture: all
+Depends: python3-django, ${misc:Depends}, ${python3:Depends}
+Suggests: python-django-reversion-doc
+Description: Provides comprehensive version control facilities for Django (Python3 version)
+ Reversion is an extension to the Django web framework that provides
+ comprehensive version control facilities.
+ .
+ Features:
+  * Roll back to any point in a model's history - an unlimited undo facility!
+  * Recover deleted models - never lose data again!
+  * Admin integration for maximum usability.
+  * Group related changes into revisions that can be rolled back in a single
+    transaction.
+  * Automatically save a new version whenever your model changes using Django's
+    flexible signalling framework.
+  * Automate your revision management with easy-to-use middleware.
+ .
+ This package contains the Python 3 version of the library.
+
 Package: python-django-reversion-doc
 Section: doc
 Architecture: all

Modified: packages/django-reversion/trunk/debian/rules
===================================================================
--- packages/django-reversion/trunk/debian/rules	2014-09-01 05:45:35 UTC (rev 30434)
+++ packages/django-reversion/trunk/debian/rules	2014-09-01 05:57:41 UTC (rev 30435)
@@ -6,13 +6,13 @@
 export PYBUILD_NAME=django-reversion
 
 %:
-	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 .PHONY: override_dh_auto_test
 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="src" $$python src/test_project/manage.py test reversion; \
 	done
 endif
@@ -23,8 +23,8 @@
 	for loc in src/reversion/locale/*; do \
 		python setup.py compile_catalog --directory src/reversion/locale/ --locale $$(basename $$loc) --domain django; \
 	done
+	dh_auto_build
 	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
-	dh_auto_build
 
 .PHONY: override_dh_installchangelogs
 override_dh_installchangelogs:




More information about the Python-modules-commits mailing list