[Python-modules-commits] r33866 - in packages/python-django-rosetta/trunk/debian (control rules)

bdrung at users.alioth.debian.org bdrung at users.alioth.debian.org
Tue Aug 18 18:06:37 UTC 2015


    Date: Tuesday, August 18, 2015 @ 18:06:36
  Author: bdrung
Revision: 33866

Add support for Python 3 (Closes: #755642)

Modified:
  packages/python-django-rosetta/trunk/debian/control
  packages/python-django-rosetta/trunk/debian/rules

Modified: packages/python-django-rosetta/trunk/debian/control
===================================================================
--- packages/python-django-rosetta/trunk/debian/control	2015-08-18 16:10:30 UTC (rev 33865)
+++ packages/python-django-rosetta/trunk/debian/control	2015-08-18 18:06:36 UTC (rev 33866)
@@ -6,7 +6,9 @@
 Build-Depends: debhelper (>= 7.0.50~),
                dh-python,
                python,
-               python-setuptools
+               python-setuptools,
+               python3-all,
+               python3-setuptools
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-django-rosetta/trunk/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-django-rosetta/trunk/
@@ -19,7 +21,7 @@
          python-polib (>= 1.0.3),
          ${misc:Depends},
          ${python:Depends}
-Description: Eases the translation process of your Django projects
+Description: Eases the translation process of your Django projects (Python 2)
  A Django application that eases the translation process of your Django
  projects.
  .
@@ -37,3 +39,29 @@
  .
  Acknowledgments:
   * Rosetta uses the excellent polib library to parse and handle Po files.
+ .
+  This is the Python 2 version of the package.
+
+Package: python3-django-rosetta
+Architecture: all
+Depends: python3-django, python3-polib, ${misc:Depends}, ${python3:Depends}
+Description: Eases the translation process of your Django projects (Python 3)
+ A Django application that eases the translation process of your Django
+ projects.
+ .
+ Because it doesn't export any models, Rosetta doesn't create any tables
+ in your project's database. Rosetta can be installed and uninstalled by
+ simply adding and removing a single entry in your project's INSTALLED_APPS
+ and a single line in your main urls.py file.
+ .
+ Features:
+  * Database independent
+  * Reads and writes your project's gettext catalogs (po and mo files)
+  * Installed and uninstalled in under a minute
+  * Uses Django's admin interface CSS
+  * Translation suggestions via Google AJAX Language API
+ .
+ Acknowledgments:
+  * Rosetta uses the excellent polib library to parse and handle Po files.
+ .
+  This is the Python 3 version of the package.

Modified: packages/python-django-rosetta/trunk/debian/rules
===================================================================
--- packages/python-django-rosetta/trunk/debian/rules	2015-08-18 16:10:30 UTC (rev 33865)
+++ packages/python-django-rosetta/trunk/debian/rules	2015-08-18 18:06:36 UTC (rev 33866)
@@ -7,4 +7,4 @@
 export PYBUILD_NAME=django-rosetta
 
 %:
-		dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild




More information about the Python-modules-commits mailing list