diff -Nru turing-0.11~beta/debian/changelog turing-0.11~beta/debian/changelog --- turing-0.11~beta/debian/changelog 2018-06-29 21:46:49.000000000 +0000 +++ turing-0.11~beta/debian/changelog 2020-08-21 17:55:32.000000000 +0000 @@ -1,3 +1,10 @@ +turing (0.11~beta-2) unstable; urgency=medium + + * Applied Dmitry Shachnev's changes. Closes: #966054 + * upgrades: debhelper-compat (=12), Standards-Version: 4.5.0 + + -- Georges Khaznadar Fri, 21 Aug 2020 19:55:32 +0200 + turing (0.11~beta-1) unstable; urgency=medium * new upstream version diff -Nru turing-0.11~beta/debian/compat turing-0.11~beta/debian/compat --- turing-0.11~beta/debian/compat 2018-05-17 09:39:13.000000000 +0000 +++ turing-0.11~beta/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -10 diff -Nru turing-0.11~beta/debian/control turing-0.11~beta/debian/control --- turing-0.11~beta/debian/control 2018-06-29 21:46:49.000000000 +0000 +++ turing-0.11~beta/debian/control 2020-08-21 17:55:32.000000000 +0000 @@ -2,9 +2,9 @@ Section: x11 Priority: optional Maintainer: Georges Khaznadar -Build-Depends: debhelper (>= 10), python3-all, dh-python, +Build-Depends: debhelper-compat (=12), python3-all, dh-python, python3-pyqt5, pyqt5-dev-tools, qttools5-dev-tools, qt5-default -Standards-Version: 4.1.4 +Standards-Version: 4.5.0 Homepage: https://turingapp.ml/ Vcs-Git: https://salsa.debian.org/georgesk/turing.git Vcs-Browser: https://salsa.debian.org/georgesk/turing diff -Nru turing-0.11~beta/debian/patches/qt5.sip.patch turing-0.11~beta/debian/patches/qt5.sip.patch --- turing-0.11~beta/debian/patches/qt5.sip.patch 1970-01-01 00:00:00.000000000 +0000 +++ turing-0.11~beta/debian/patches/qt5.sip.patch 2020-08-21 17:55:32.000000000 +0000 @@ -0,0 +1,32 @@ +Index: turing/pyqode/qt/__init__.py +=================================================================== +--- turing.orig/pyqode/qt/__init__.py ++++ turing/pyqode/qt/__init__.py +@@ -84,7 +84,10 @@ def setup_apiv2(): + if sys.version_info[0] == 2: + logging.getLogger(__name__).debug( + 'setting up SIP API to version 2') +- import sip ++ try: ++ from PyQt5 import sip ++ except: ++ import sip + try: + sip.setapi("QString", 2) + sip.setapi("QVariant", 2) +Index: turing/src/lang/translator.py +=================================================================== +--- turing.orig/src/lang/translator.py ++++ turing/src/lang/translator.py +@@ -2,7 +2,10 @@ + + import importlib + import os +-import sip ++try: ++ from PyQt5 import sip ++except: ++ import sip + import sys + import types + from typing import List, Tuple diff -Nru turing-0.11~beta/debian/patches/series turing-0.11~beta/debian/patches/series --- turing-0.11~beta/debian/patches/series 2018-06-29 21:46:49.000000000 +0000 +++ turing-0.11~beta/debian/patches/series 2020-08-21 17:51:53.000000000 +0000 @@ -1 +1,2 @@ +qt5.sip.patch Makefile.patch