Source: django-tables
Version: 1.1.6
Severity: minor

In order to prepare a backport of django-tables, I had to make these two changes
to the current packaging of django-tables:

Update build-depends on python-django and python3-django to 1.8 as the unit 
tests
in django-tables 1.1.6 fail with the django 1.7 which is in jessie.

Add a clean target to debian/rules to delete docs/.build/ to allow the package
to build twice in a row.

debdiff attached.

Please consider adding these updates to the packaging in unstable at the next
upload.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diffstat for django-tables-1.1.6 django-tables-1.1.6

 changelog |   10 ++++++++++
 control   |    4 ++--
 rules     |    5 +++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diff -Nru django-tables-1.1.6/debian/changelog django-tables-1.1.6/debian/changelog
--- django-tables-1.1.6/debian/changelog	2016-04-06 03:54:01.000000000 +0100
+++ django-tables-1.1.6/debian/changelog	2016-04-22 08:42:53.000000000 +0100
@@ -1,3 +1,13 @@
+django-tables (1.1.6-1~bpo8+1) jessie-backports; urgency=medium
+
+  * Rebuild for jessie-backports.
+  * Update django build depends to 1.8 as 1.7 in jessie causes the
+    django-tables test suite to fail.
+  * Add clean rule to remove docs/.build to allow package to build twice
+    in a row.
+
+ -- Neil Williams <codeh...@debian.org>  Fri, 22 Apr 2016 08:15:18 +0100
+
 django-tables (1.1.6-1) unstable; urgency=medium
 
   * New upstream version.
diff -Nru django-tables-1.1.6/debian/control django-tables-1.1.6/debian/control
--- django-tables-1.1.6/debian/control	2016-04-06 04:02:42.000000000 +0100
+++ django-tables-1.1.6/debian/control	2016-04-22 08:34:27.000000000 +0100
@@ -4,10 +4,10 @@
 Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
 Uploaders: Brian May <b...@debian.org>
 Build-Depends: debhelper (>=8.1.0), dh-python,
- python-all (>= 2.6.6-3~), python-django (>= 1.4.5), python-setuptools, python-six,
+ python-all (>= 2.6.6-3~), python-django (>= 1.8), python-setuptools, python-six,
  python-pytest-django, python-fudge, python-lxml, python-tz,
  python-django-haystack,
- python3-all, python3-django (>= 1.4.5), python3-setuptools, python3-six,
+ python3-all, python3-django (>= 1.8), python3-setuptools, python3-six,
  python3-pytest-django, python3-fudge, python3-lxml, python3-tz,
  python3-django-haystack,
 Build-Depends-Indep: python-sphinx (>= 1.0.7+dfsg-1~), python-doc, python-django-doc
diff -Nru django-tables-1.1.6/debian/rules django-tables-1.1.6/debian/rules
--- django-tables-1.1.6/debian/rules	2016-04-06 03:53:23.000000000 +0100
+++ django-tables-1.1.6/debian/rules	2016-04-22 08:37:47.000000000 +0100
@@ -11,6 +11,11 @@
 	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
 	dh_auto_build
 
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	dh_auto_clean
+	$(RM) -r docs/.build
+
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
 	PYTHONPATH=. \
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to