File: python-mapscript.patch

package info (click to toggle)
mapserver 8.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,364 kB
  • sloc: ansic: 141,411; cpp: 119,161; python: 3,175; xml: 1,722; yacc: 1,114; cs: 997; lex: 775; sh: 736; java: 588; perl: 489; makefile: 371; tcl: 158; ruby: 55
file content (15 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Disable build isolation to not download setuptools dependency.
Author: Bas Couwenberg <sebastic@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}
     )
   "