On 2025-01-19 14:44, Colin Watson wrote:
You can achieve that with:
PY3VERS=$(PY3DEF)
+PY3RANGE=$(shell echo $(PY3DEF) | awk 'BEGIN { FS="." }; { print $$1
"." $$2 "-" $$1 "." $$2 + 1 }')
+ dh_python3 -V $(PY3RANGE) --no-ext-rename # Hack: Do not rename
libraries from e.g. vtkClientServerPython.so to
vtkClientServerPython.cpython-38-x86_64-linux-gnu.so!
Thanks Colin, that should work.
I'll apply your's and Adrian's recommendation to use the range
(versioned python3 not specific python3.Y)
The test script could be hacked to use the "required" specific version,
but I think that wouldn't help anyway to get paraview on the binNMU list
for python3 upgrades.
The ranged version will do it.
Drew
--
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers