Bas Couwenberg pushed to branch master at Debian GIS Project / mapserver


Commits:
13bdbb75 by Bas Couwenberg at 2025-11-02T22:06:10+01:00
Add patch to fix FTBFS with pip 24.3.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/python-mapscript.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,7 @@ mapserver (8.4.1-2) UNRELEASED; urgency=medium
   * Drop Rules-Requires-Root: no, default since dpkg 1.22.13.
   * Use test-build-validate-cleanup instead of test-build-twice.
   * Add copyright for debian/*.
+  * Add patch to fix FTBFS with pip 24.3.
 
  -- Bas Couwenberg <[email protected]>  Wed, 01 Oct 2025 08:44:53 +0200
 


=====================================
debian/patches/python-mapscript.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Disable build isolation to not download setuptools dependency.
+Author: Bas Couwenberg <[email protected]>
+Forwarded: https://github.com/MapServer/MapServer/pull/7377
+
+--- a/src/mapscript/python/CMakeLists.txt
++++ b/src/mapscript/python/CMakeLists.txt
+@@ -140,7 +140,7 @@ install(
+     endif()
+ 
+     execute_process(
+-      COMMAND ${Python_EXECUTABLE} -m pip install \${PYTHON_ROOT} 
\${PYTHON_PREFIX} .
++      COMMAND ${Python_EXECUTABLE} -m pip install --no-build-isolation 
\${PYTHON_ROOT} \${PYTHON_PREFIX} .
+       WORKING_DIRECTORY ${MAPSCRIPT_WORKING_DIR}
+     )
+   "


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 perl-mapscript-install.patch
 java-hardening.patch
+python-mapscript.patch



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/mapserver/-/commit/13bdbb759c2277558734f66ab8ba3617a6d5b0bf

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/mapserver/-/commit/13bdbb759c2277558734f66ab8ba3617a6d5b0bf
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to