Control: tags 936882 + patch
Control: tags 936882 + pending

Dear maintainer,

I've prepared an NMU for libjsoncpp (versioned as 1.7.4-3.1) and
uploaded it since there hasn't been an upload for a long time. 
Please feel free to revert if there is anything missing.

Regards.


-- 
Regards,
Aron Xu
diff -Nru libjsoncpp-1.7.4/debian/changelog libjsoncpp-1.7.4/debian/changelog
--- libjsoncpp-1.7.4/debian/changelog	2016-08-23 09:09:02.000000000 +0000
+++ libjsoncpp-1.7.4/debian/changelog	2020-01-24 12:32:52.000000000 +0000
@@ -1,3 +1,10 @@
+libjsoncpp (1.7.4-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Port build system to use Python 3 (Closes: #936882)
+
+ -- Aron Xu <a...@debian.org>  Fri, 24 Jan 2020 12:32:52 +0000
+
 libjsoncpp (1.7.4-3) unstable; urgency=medium
 
   * Add patch to fix pkg-config file
diff -Nru libjsoncpp-1.7.4/debian/control libjsoncpp-1.7.4/debian/control
--- libjsoncpp-1.7.4/debian/control	2016-08-23 09:09:02.000000000 +0000
+++ libjsoncpp-1.7.4/debian/control	2020-01-24 12:29:56.000000000 +0000
@@ -3,7 +3,7 @@
 Maintainer: Peter Spiess-Knafl <d...@spiessknafl.at>
 Uploaders: Cleto Martín <cl...@debian.org>
 Testsuite: autopkgtest
-Build-Depends: cmake, debhelper (>= 9), doxygen, python:any
+Build-Depends: cmake, debhelper (>= 9), doxygen, python3:any
 Standards-Version: 3.9.8
 Section: libs
 Homepage: https://github.com/open-source-parsers/jsoncpp
diff -Nru libjsoncpp-1.7.4/debian/patches/port-to-python3.patch libjsoncpp-1.7.4/debian/patches/port-to-python3.patch
--- libjsoncpp-1.7.4/debian/patches/port-to-python3.patch	1970-01-01 00:00:00.000000000 +0000
+++ libjsoncpp-1.7.4/debian/patches/port-to-python3.patch	2020-01-24 12:31:30.000000000 +0000
@@ -0,0 +1,12 @@
+Index: libjsoncpp-1.7.4/doxybuild.py
+===================================================================
+--- libjsoncpp-1.7.4.orig/doxybuild.py
++++ libjsoncpp-1.7.4/doxybuild.py
+@@ -1,7 +1,5 @@
+ """Script to generate doxygen documentation.
+ """
+-from __future__ import print_function
+-from __future__ import unicode_literals
+ from devtools import tarball
+ from contextlib import contextmanager
+ import subprocess
diff -Nru libjsoncpp-1.7.4/debian/patches/series libjsoncpp-1.7.4/debian/patches/series
--- libjsoncpp-1.7.4/debian/patches/series	2016-08-23 09:09:02.000000000 +0000
+++ libjsoncpp-1.7.4/debian/patches/series	2020-01-24 12:30:19.000000000 +0000
@@ -1 +1,2 @@
 fix-pkgconfig.patch
+port-to-python3.patch
diff -Nru libjsoncpp-1.7.4/debian/rules libjsoncpp-1.7.4/debian/rules
--- libjsoncpp-1.7.4/debian/rules	2016-08-23 09:09:02.000000000 +0000
+++ libjsoncpp-1.7.4/debian/rules	2020-01-24 12:31:59.000000000 +0000
@@ -18,7 +18,7 @@
 			$(CONFIGURE_FLAGS)
 
 override_dh_auto_build-indep:
-	python doxybuild.py --doxygen=/usr/bin/doxygen
+	python3 doxybuild.py --doxygen=/usr/bin/doxygen
 
 override_dh_makeshlibs:
 	dh_makeshlibs -V "libjsoncpp1 (>= 1.7.4)"

Attachment: signature.asc
Description: PGP signature

Reply via email to