diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-07-28 00:26:25 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-07-28 00:26:25 +0200 |
commit | 7cacc26b4b234a6d806213021593d5fb8a3a8682 (patch) | |
tree | 56351d4d1ae816188b91957bb64244bfe2f5fae4 | |
parent | 7351ad64cba0e5a569199eab2149fea91a89a039 (diff) | |
download | tde-packaging-7cacc26b4b234a6d806213021593d5fb8a3a8682.tar.gz tde-packaging-7cacc26b4b234a6d806213021593d5fb8a3a8682.zip |
DEB sip4-tqt: Add the module name for importing sipconfig variants
instead of relying on import from the same folder,
as this is not usable for Python 3.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 files changed, 24 insertions, 24 deletions
diff --git a/debian/_base/dependencies/sip4-tqt/debian/sipconfig.py b/debian/_base/dependencies/sip4-tqt/debian/sipconfig.py index a9e761f08..32cf8d5e7 100644 --- a/debian/_base/dependencies/sip4-tqt/debian/sipconfig.py +++ b/debian/_base/dependencies/sip4-tqt/debian/sipconfig.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.sipconfig_d import _pkg_config, _default_macros except ImportError, msg: raise ImportError, 'No module named sipconfig; package python-sip-tqt-dbg not installed' else: - from sipconfig_nd import * - from sipconfig_nd import _pkg_config, _default_macros + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros diff --git a/debian/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py b/debian/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py index 15c4d79be..3e6aa5aba 100644 --- a/debian/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py +++ b/debian/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.sipconfig_d import _pkg_config, _default_macros except ImportError as msg: raise ImportError('No module named sipconfig; package python-sip-tqt-dbg not installed') else: - from sipconfig_nd import * - from sipconfig_nd import _pkg_config, _default_macros + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros diff --git a/dilos/dependencies/sip4-tqt/debian/sipconfig.py b/dilos/dependencies/sip4-tqt/debian/sipconfig.py index a9e761f08..32cf8d5e7 100644 --- a/dilos/dependencies/sip4-tqt/debian/sipconfig.py +++ b/dilos/dependencies/sip4-tqt/debian/sipconfig.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.sipconfig_d import _pkg_config, _default_macros except ImportError, msg: raise ImportError, 'No module named sipconfig; package python-sip-tqt-dbg not installed' else: - from sipconfig_nd import * - from sipconfig_nd import _pkg_config, _default_macros + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros diff --git a/dilos/dependencies/sip4-tqt/debian/sipconfig_py3.py b/dilos/dependencies/sip4-tqt/debian/sipconfig_py3.py index 15c4d79be..3e6aa5aba 100644 --- a/dilos/dependencies/sip4-tqt/debian/sipconfig_py3.py +++ b/dilos/dependencies/sip4-tqt/debian/sipconfig_py3.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.sipconfig_d import _pkg_config, _default_macros except ImportError as msg: raise ImportError('No module named sipconfig; package python-sip-tqt-dbg not installed') else: - from sipconfig_nd import * - from sipconfig_nd import _pkg_config, _default_macros + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py index a9e761f08..32cf8d5e7 100644 --- a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py +++ b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.sipconfig_d import _pkg_config, _default_macros except ImportError, msg: raise ImportError, 'No module named sipconfig; package python-sip-tqt-dbg not installed' else: - from sipconfig_nd import * - from sipconfig_nd import _pkg_config, _default_macros + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py index 15c4d79be..3e6aa5aba 100644 --- a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py +++ b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.sipconfig_d import _pkg_config, _default_macros except ImportError as msg: raise ImportError('No module named sipconfig; package python-sip-tqt-dbg not installed') else: - from sipconfig_nd import * - from sipconfig_nd import _pkg_config, _default_macros + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros |