Control: tags 933775 + patch
Control: tags 933775 + pending

Dear maintainer,

I've prepared an NMU for dnsviz (versioned as 0.8.0-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

While I was there, I did some bigger cleanup. You can find this all in
https://salsa.debian.org/stefanor/dnsviz

Regards.

SR
diff -Nru dnsviz-0.8.0/debian/changelog dnsviz-0.8.0/debian/changelog
--- dnsviz-0.8.0/debian/changelog	2019-02-04 02:46:32.000000000 +0200
+++ dnsviz-0.8.0/debian/changelog	2020-01-05 11:36:48.000000000 +0200
@@ -1,3 +1,11 @@
+dnsviz (0.8.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch to Python 3. (Closes: #933775)
+  * Build with pybuild.
+
+ -- Stefano Rivera <stefa...@debian.org>  Sun, 05 Jan 2020 11:36:48 +0200
+
 dnsviz (0.8.0-1) unstable; urgency=medium
 
   * New upstream version 0.8.0
diff -Nru dnsviz-0.8.0/debian/control dnsviz-0.8.0/debian/control
--- dnsviz-0.8.0/debian/control	2019-02-04 02:46:32.000000000 +0200
+++ dnsviz-0.8.0/debian/control	2020-01-05 11:36:48.000000000 +0200
@@ -7,11 +7,11 @@
  debhelper (>= 9~),
  dh-python,
  inkscape,
- python (>= 2.7~),
- python-dnspython (>= 1.13.0~),
- python-libnacl,
- python-m2crypto (>= 0.28.0~),
- python-pygraphviz (>= 1.4~),
+ python3,
+ python3-dnspython (>= 1.13.0~),
+ python3-libnacl,
+ python3-m2crypto (>= 0.28.0~),
+ python3-pygraphviz (>= 1.4~),
 Standards-Version: 4.3.0
 Homepage: https://github.com/dnsviz/dnsviz
 Vcs-Browser: https://salsa.debian.org/dns-team/dnsviz
@@ -21,7 +21,7 @@
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
  dns-root-data,
  libjs-jquery,
  libjs-jquery-ui,
diff -Nru dnsviz-0.8.0/debian/patches/debian-changes dnsviz-0.8.0/debian/patches/debian-changes
--- dnsviz-0.8.0/debian/patches/debian-changes	2019-02-04 02:46:32.000000000 +0200
+++ dnsviz-0.8.0/debian/patches/debian-changes	2020-01-05 11:36:48.000000000 +0200
@@ -36,43 +36,3 @@
  
  def apply_substitutions(filename, install_prefix):
      assert filename.endswith('.in'), 'Filename supplied for customization must end with \'.in\': %s' % (filename)
---- /dev/null
-+++ dnsviz-0.8.0/dnsviz/config.py
-@@ -0,0 +1,37 @@
-+#
-+# This file is a part of DNSViz, a tool suite for DNS/DNSSEC monitoring,
-+# analysis, and visualization.
-+# Created by Casey Deccio (ca...@deccio.net)
-+#
-+# Copyright 2014-2016 Verisign, Inc.
-+#
-+# Copyright 2016-2019 Casey Deccio
-+#
-+# DNSViz is free software; you can redistribute it and/or modify
-+# it under the terms of the GNU General Public License as published by
-+# the Free Software Foundation; either version 2 of the License, or
-+# (at your option) any later version.
-+#
-+# DNSViz is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+# GNU General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License along
-+# with DNSViz.  If not, see <http://www.gnu.org/licenses/>.
-+#
-+
-+from __future__ import unicode_literals
-+
-+import os
-+import sys
-+
-+if hasattr(sys, 'real_prefix'):
-+    DNSVIZ_INSTALL_PREFIX = sys.prefix
-+else:
-+    DNSVIZ_INSTALL_PREFIX = ''
-+DNSVIZ_SHARE_PATH = os.path.join(DNSVIZ_INSTALL_PREFIX, 'share', 'dnsviz')
-+JQUERY_PATH = 'file:///usr/share/javascript/jquery/jquery.min.js'
-+JQUERY_UI_PATH = 'file:///usr/share/javascript/jquery-ui/jquery-ui.min.js'
-+JQUERY_UI_CSS_PATH = 'file:///usr/share/javascript/jquery-ui-themes/redmond/jquery-ui.css'
-+RAPHAEL_PATH = 'file:///usr/share/javascript/raphael/raphael.min.js'
diff -Nru dnsviz-0.8.0/debian/rules dnsviz-0.8.0/debian/rules
--- dnsviz-0.8.0/debian/rules	2019-02-04 02:46:32.000000000 +0200
+++ dnsviz-0.8.0/debian/rules	2020-01-05 11:36:48.000000000 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 %:
-	dh $@ --with python2
+	dh $@ --with python3 --buildsystem pybuild
 
 override_dh_auto_build:
 	$(MAKE) -C doc icons

Reply via email to