[Git][debian-gis-team/mapserver][master] Add patch to fix FTBFS with pip 24.3.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sun Nov 2 21:06:24 GMT 2025
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 <sebastic at debian.org> 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 <sebastic at debian.org>
+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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20251102/244d57be/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list