The sheband distributed by the upstream did not changed
#!python
but previously it was replaced by a python3 shebang.
here for the previous version
D: dh_python3 dh_python3:179: version: 5.20230109
D: dh_python3 dh_python3:180: argv: ['/usr/bin/dh_python3', '-i', '-O--buildsystem=pybuild']
D: dh_python3 dh_python3:181: options: Namespace(guess_deps=True, skip_private=False, verbose=True, arch=False, package=None, no_package=None, remaining_packages=False, compile_all=False, vrange=None, regexpr=None, accept_upstream_versions=False, depends=
None, depends_section=None, recommends=None, recommends_section=None, suggests=None, suggests_section=None, requires=None, shebang=None, ignore_shebangs=False, clean_dbg_pkg=True, no_ext_rename=False, no_shebang_rewrite=False, private_dir=None, O=['--
buildsystem=pybuild'])
D: dh_python3 dh_python3:182: supported Python versions: 3.10,3.11 (default=3.11)
D: dh_python3 debhelper:175: skipping package pymca-data (missing ${python3:Depends} in Depends/Recommends)
D: dh_python3 debhelper:175: skipping package pymca-doc (missing ${python3:Depends} in Depends/Recommends)
D: dh_python3 debhelper:183: source=pymca, binary packages=['pymca']
D: dh_python3 dh_python3:204: processing package pymca...
D: dh_python3 fs:400: package pymca details = {'requires.txt': set(), 'egg-info': set(), 'dist-info': set(), 'nsp.txt': set(), 'shebangs': {/usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/
bin/python3, /usr/bin/python3, /usr/bin/python3}, 'public_vers': set(), 'private_dirs': {}, 'compile': False, 'ext_vers': set(), 'ext_no_version': set()}
D: dh_python3 depends:117: generating dependencies for package pymca
D: dh_python3 depends:281: D={'python3:any'}; R=[]; S=[]; E=[], B=[]; RT=[]
dh_installsystemduser -i -O--buildsystem=pybuild
Indeed the shebang was identical
https://sources.debian.org/src/pymca/5.8.0%2Bdfsg-2/PyMca5/scripts/edfviewer/
#!python
So the behaviour of dh_python3 changed.
Now If I want to solve this what is the best solution
- a patch which replace all python with python3
- dh_python3 --shebang=/usr/bin/python3
thanks for your advices.
Frederic
Fred
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)