Changes required are rather straight forward, but tests fail, am going to
have to investigate this in more detail later:
Index: debian/control
===
--- debian/control (revision 29577)
+++ debian/control (working copy)
@@ -2,11 +2,12 @@
Section: python
Priority: optional
Maintainer: Debian Python Modules Team
python-modules-t...@lists.alioth.debian.org
-Uploaders: Raphaël Hertzog hert...@debian.org
+Uploaders: Raphaël Hertzog hert...@debian.org,
+ Brian May b...@debian.org
Standards-Version: 3.9.5
Build-Depends: debhelper (= 9), dh-python, python-django,
python-all, python-setuptools,
-# python3-all, python3-setuptools
+ python3-all, python3-setuptools
Vcs-Svn: svn://
anonscm.debian.org/python-modules/packages/python-django-jsonfield/trunk/
Vcs-Browser:
http://anonscm.debian.org/viewvc/python-modules/packages/python-django-tagging/trunk/
Homepage: https://bitbucket.org/schinckel/django-jsonfield/
@@ -25,16 +26,16 @@
.
This is the Python 2 version of the package.
-#Package: python3-django-jsonfield
-#Architecture: all
-#Depends: ${python3:Depends}, ${misc:Depends}, python-django (= 1.3)
-#Description: JSON field for Django models (Python 3)
-# This package provides a Django field (jsonfield.JSONField) that you can
use to
-# store arbitrary JSON structures in a simple text field at the database
level.
-# .
-# Accessing the field returns a decoded object (list, dict, string).
-# .
-# In forms, it appears like a TextField but the input is validated to be
valid
-# JSON.
-# .
-# This is the Python 3 version of the package.
+Package: python3-django-jsonfield
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python-django (= 1.3)
+Description: JSON field for Django models (Python 3)
+ This package provides a Django field (jsonfield.JSONField) that you can
use to
+ store arbitrary JSON structures in a simple text field at the database
level.
+ .
+ Accessing the field returns a decoded object (list, dict, string).
+ .
+ In forms, it appears like a TextField but the input is validated to be
valid
+ JSON.
+ .
+ This is the Python 3 version of the package.
Index: debian/changelog
===
--- debian/changelog(revision 29577)
+++ debian/changelog(working copy)
@@ -1,3 +1,10 @@
+python-django-jsonfield (0.9.20-1) unstable; urgency=low
+
+ * New upstream version.
+ * Python3 package.
+
+ -- Brian May b...@debian.org Wed, 02 Jul 2014 16:15:14 +1000
+
python-django-jsonfield (0.9.12-2) unstable; urgency=medium
* Add python-django to Build-Depends to fix test suite run.
Index: debian/rules
===
--- debian/rules(revision 29577)
+++ debian/rules(working copy)
@@ -3,4 +3,4 @@
export PYBUILD_NAME=django-jsonfield
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:170: cd /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build;
python2.7 -m unittest discover -v
jsonfield.tests (unittest.loader.ModuleImportFailure) ... ERROR
==
ERROR: jsonfield.tests (unittest.loader.ModuleImportFailure)
--
ImportError: Failed to import test module: jsonfield.tests
Traceback (most recent call last):
File /usr/lib/python2.7/unittest/loader.py, line 254, in _find_tests
module = self._get_module_from_name(name)
File /usr/lib/python2.7/unittest/loader.py, line 232, in
_get_module_from_name
__import__(name)
File jsonfield/__init__.py, line 1, in module
from .fields import JSONField, JSONCharField
File jsonfield/fields.py, line 2, in module
from django.db import models
File /usr/lib/python2.7/dist-packages/django/db/models/__init__.py,
line 5, in module
from django.db.models.query import Q
File /usr/lib/python2.7/dist-packages/django/db/models/query.py, line
17, in module
from django.db.models.deletion import Collector
File /usr/lib/python2.7/dist-packages/django/db/models/deletion.py,
line 4, in module
from django.db.models import signals, sql
File /usr/lib/python2.7/dist-packages/django/db/models/sql/__init__.py,
line 4, in module
from django.db.models.sql.subqueries import *
File
/usr/lib/python2.7/dist-packages/django/db/models/sql/subqueries.py, line
12, in module
from django.db.models.sql.query import Query
File /usr/lib/python2.7/dist-packages/django/db/models/sql/query.py,
line 22, in module
from django.db.models.sql import aggregates as base_aggregates_module
File
/usr/lib/python2.7/dist-packages/django/db/models/sql/aggregates.py, line
9, in module
ordinal_aggregate_field = IntegerField()
File
/usr/lib/python2.7/dist-packages/django/db/models/fields/__init__.py,
line 116, in