Stuart Prescott pushed to branch master at Debian Med / odil


Commits:
74f6991e by Stuart Prescott at 2025-12-09T11:34:24+11:00
Make build explicit about each shell call

- - - - -
302842ac by Stuart Prescott at 2025-12-09T11:35:07+11:00
Fix specification of python version in build

- - - - -
3f7dc091 by Stuart Prescott at 2025-12-09T11:37:03+11:00
Add changelog for upload

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+odil (0.13.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fix build for all supported Python3 versions (Closes: #1119800).
+
+ -- Stuart Prescott <[email protected]>  Tue, 09 Dec 2025 11:36:53 +1100
+
 odil (0.13.0-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/rules
=====================================
@@ -27,7 +27,7 @@ override_dh_auto_build-nopy:
 # WARNING: builds for Python versions MUST be sequential since they use the
 # same build directory
 override_dh_auto_build-py: override_dh_auto_build-nopy
-       set -e; \
+       set -ex; \
        for Python in $(ALLPY); do \
          echo "=== Building for Python $${Python} ==="; \
          cp -a build-nopy build; \
@@ -35,7 +35,8 @@ override_dh_auto_build-py: override_dh_auto_build-nopy
            -DCMAKE_CXX_STANDARD=17 \
            -DBUILD_EXAMPLES=OFF \
            -DBUILD_PYTHON_WRAPPERS=ON -DBUILD_JAVASCRIPT_WRAPPERS=OFF \
-           -DPYTHON_EXECUTABLE=/usr/bin/python$${Python}; \
+           -DPYTHON_EXECUTABLE=/usr/bin/python$${Python} \
+           -DPython_EXECUTABLE=/usr/bin/python$${Python}; \
          dh_auto_build; \
          mv build build-py$${Python}; \
        done
@@ -47,7 +48,8 @@ override_dh_auto_build-indep:
          -DBUILD_EXAMPLES=OFF \
          -DCMAKE_CXX_STANDARD=17 \
          -DBUILD_PYTHON_WRAPPERS=ON -DBUILD_JAVASCRIPT_WRAPPERS=OFF \
-         -DPYTHON_EXECUTABLE=/usr/bin/python$(PYTHON3)
+         -DPYTHON_EXECUTABLE=/usr/bin/python$(PYTHON3) \
+         -DPython_EXECUTABLE=/usr/bin/python$(PYTHON3)
        mkdir -p documentation/_build
        cd documentation && doxygen
        find documentation/_build -name "*.md5" -delete



View it on GitLab: 
https://salsa.debian.org/med-team/odil/-/compare/615bff86b6ae3f1d8e81c6508347251d89111085...3f7dc091d0fc851ca8c7b56a212bbceead83f348

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/odil/-/compare/615bff86b6ae3f1d8e81c6508347251d89111085...3f7dc091d0fc851ca8c7b56a212bbceead83f348
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to