[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#990934: unblock: python-reportlab/3.5.59-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package python-reportlab

  * Fix building the reference documentation.
(change by Matthias Klose)

This is a documentation change.


$ debdiff  python-reportlab-doc_3.5.59-*
[The following lists of changes regard files as different if they have
different names, permissions or owners.]

Files in second .deb but not in first
-------------------------------------
-rw-r--r--  root/root   /usr/share/doc/python-reportlab-doc/html/py-modindex.html

Control files: lines which differ (wdiff format)
------------------------------------------------
Installed-Size: [-1067-] {+1622+}
Version: [-3.5.59-1-] {+3.5.59-2+}
$


diffoscope output is very noisy (package is not reproducible),
but when glancing over it there was nothing that looked bad.
diff -Nru python-reportlab-3.5.59/debian/changelog python-reportlab-3.5.59/debian/changelog
--- python-reportlab-3.5.59/debian/changelog	2021-01-08 11:15:25.000000000 +0200
+++ python-reportlab-3.5.59/debian/changelog	2021-03-13 14:39:39.000000000 +0200
@@ -1,3 +1,9 @@
+python-reportlab (3.5.59-2) unstable; urgency=medium
+
+  * Fix building the reference documentation.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 13 Mar 2021 13:39:39 +0100
+
 python-reportlab (3.5.59-1) unstable; urgency=medium
 
   * New upstream version.
diff -Nru python-reportlab-3.5.59/debian/patches/reportlab-version.diff python-reportlab-3.5.59/debian/patches/reportlab-version.diff
--- python-reportlab-3.5.59/debian/patches/reportlab-version.diff	1970-01-01 02:00:00.000000000 +0200
+++ python-reportlab-3.5.59/debian/patches/reportlab-version.diff	2021-03-13 14:32:55.000000000 +0200
@@ -0,0 +1,15 @@
+--- a/docs/source/conf.py
++++ b/docs/source/conf.py
+@@ -45,9 +45,10 @@ copyright = '2010, Robinson, Becker, Wat
+ # built documents.
+ #
+ # The short X.Y version.
+-version = '2.4'
++from reportlab import Version
++version = '.'.join(Version.split('.')[:2])
+ # The full version, including alpha/beta/rc tags.
+-release = '2.4'
++release = Version
+ 
+ # The language for content autogenerated by Sphinx. Refer to documentation
+ # for a list of supported languages.
diff -Nru python-reportlab-3.5.59/debian/patches/series python-reportlab-3.5.59/debian/patches/series
--- python-reportlab-3.5.59/debian/patches/series	2020-01-28 17:56:28.000000000 +0200
+++ python-reportlab-3.5.59/debian/patches/series	2021-03-13 14:39:07.000000000 +0200
@@ -1,3 +1,4 @@
 gsfonts.diff
 reproducible-build.patch
 toColor.patch
+reportlab-version.diff
diff -Nru python-reportlab-3.5.59/debian/rules python-reportlab-3.5.59/debian/rules
--- python-reportlab-3.5.59/debian/rules	2020-01-28 17:56:28.000000000 +0200
+++ python-reportlab-3.5.59/debian/rules	2021-03-13 14:39:28.000000000 +0200
@@ -28,7 +28,7 @@
 	set -x; \
 	cd docs \
 	  && PYTHONPATH=$(wildcard $(CURDIR)/build/lib.*-*-$(VER3)) python3 genAll.py
-	$(MAKE) -C docs html PAPER=a4
+	PYTHONPATH=$(wildcard $(CURDIR)/build/lib.*-*-$(VER3)) $(MAKE) -C docs html PAPER=a4
 	touch $@
 
 clean:

Reply to: