Package: sigil
Version: 0.9.2+dfsg+dfsg-1
Severity: serious
Tags: patch
Justification: Policy 3.5

sigil should have depends on a python3 interpreter.  The attached patch will
do this and also make the package binNMUable to support a change in the
default python3 version.  Despite the python2.7 recommends you have now, this
application does appear to be built for python3.

Please let me know if you're OK with an NMU or if you'd like to take care of
it.  It would be nice to get this resolved quickly to support the current
python3.5 transition.
diff -Nru sigil-0.9.2+dfsg+dfsg/debian/changelog sigil-0.9.2+dfsg+dfsg/debian/changelog
--- sigil-0.9.2+dfsg+dfsg/debian/changelog	2015-12-19 04:16:19.000000000 -0500
+++ sigil-0.9.2+dfsg+dfsg/debian/changelog	2016-01-12 23:26:38.000000000 -0500
@@ -1,3 +1,10 @@
+sigil (0.9.2+dfsg+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use dh_python3 to generate missing python3 interpreter depends
+
+ -- Scott Kitterman <sc...@kitterman.com>  Tue, 12 Jan 2016 23:25:51 -0500
+
 sigil (0.9.2+dfsg+dfsg-1) unstable; urgency=medium
 
   * [19a5e34] debian/{control,copyright}: use my @debian.org email address
diff -Nru sigil-0.9.2+dfsg+dfsg/debian/control sigil-0.9.2+dfsg+dfsg/debian/control
--- sigil-0.9.2+dfsg+dfsg/debian/control	2015-12-05 12:49:58.000000000 -0500
+++ sigil-0.9.2+dfsg+dfsg/debian/control	2016-01-12 23:25:31.000000000 -0500
@@ -14,7 +14,7 @@
                libqt5webkit5-dev (>= 5.4.0),
                libqt5xmlpatterns5-dev (>= 5.4.0),
                pkg-config,
-               python3.4-dev,
+               python3-dev,
                qtbase5-dev (>= 5.4.0),
                qttools5-dev (>= 5.4.0),
                qttools5-dev-tools (>= 5.4.0),
@@ -30,10 +30,9 @@
          libjs-jquery-scrollto,
          python3-lxml,
          sigil-data (= ${source:Version}),
+         ${python3:Depends},
          ${misc:Depends},
          ${shlibs:Depends}
-Recommends: python2.7,
-            python3.4
 Description: multi-platform ebook editor
  Sigil is a free, open source, multi-platform ebook editor.
  It is designed to edit books in ePub format.
diff -Nru sigil-0.9.2+dfsg+dfsg/debian/rules sigil-0.9.2+dfsg+dfsg/debian/rules
--- sigil-0.9.2+dfsg+dfsg/debian/rules	2015-11-29 13:17:08.000000000 -0500
+++ sigil-0.9.2+dfsg+dfsg/debian/rules	2016-01-12 23:25:43.000000000 -0500
@@ -5,7 +5,7 @@
 export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
 
 %:
-	dh $@ --parallel
+	dh $@ --with python3 --parallel
 
 override_dh_auto_configure:
 	ln -sf /usr/share/javascript/jquery/jquery.min.js $(CURDIR)/src/Resource_Files/javascript/jquery-1.6.2.min.js

Reply via email to