[Git][debian-gis-team/jeolib-jiplib][master] Add patch to fix wheel build (requires --no-build-isolation)
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sun Oct 26 05:40:16 GMT 2025
Bas Couwenberg pushed to branch master at Debian GIS Project / jeolib-jiplib
Commits:
e2c34ea1 by Bas Couwenberg at 2025-10-26T06:39:48+01:00
Add patch to fix wheel build (requires --no-build-isolation)
- - - - -
4 changed files:
- debian/changelog
- debian/patches/pip-break-sys-pkg.patch
- debian/patches/series
- + debian/patches/wheel.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,11 @@
jeolib-jiplib (1.1.6+ds-2) UNRELEASED; urgency=medium
+ * Team upload.
* Ignore test failures everywhere except amd64.
* Re-enable Salsa CI i386 jobs.
* Use test-build-validate-cleanup instead of test-build-twice.
* Add patch to fix library installation path.
+ * Add patch to fix wheel build (requires --no-build-isolation)
-- Bas Couwenberg <sebastic at debian.org> Sat, 25 Oct 2025 11:42:21 +0200
=====================================
debian/patches/pip-break-sys-pkg.patch
=====================================
@@ -1,4 +1,4 @@
-Description: This is a patch to manage pip-based installation in upstream cmaks configuration
+Description: Fix pip install in Debian package environment.
Author: Francesco Paolo Lovergine <frankie at debian.org>
Forwarded: not-needed
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ pip-break-sys-pkg.patch
spelling-errors-take2.patch
gdal-3.12.patch
libdir.patch
+wheel.patch
=====================================
debian/patches/wheel.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Fix wheel building with packaged dependencies.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -680,7 +680,7 @@ if(BUILD_WITH_PYTHON)
+ COMMAND cp ${MIALLIB_LIBRARIES}.${MIALLIB_VERSION_MAJOR} ${WHEEL_DIR}
+ COMMAND cp ${CMAKE_BINARY_DIR}/${JIPLIB_LIB_NAME}.py ${WHEEL_DIR}
+ COMMAND cp ${PROJECT_SOURCE_DIR}/README.md ${WHEEL_DIR}
+- COMMAND ${Python_EXECUTABLE} -m pip wheel ${CMAKE_CURRENT_BINARY_DIR}
++ COMMAND ${Python_EXECUTABLE} -m pip wheel --verbose --no-build-isolation --no-index ${CMAKE_CURRENT_BINARY_DIR}
+ COMMAND rm -rf ${WHEEL_DIR}
+ )
+ endif(CREATE_WHEEL)
View it on GitLab: https://salsa.debian.org/debian-gis-team/jeolib-jiplib/-/commit/e2c34ea1eff3c125e267cf85385ca54f04a6469e
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/jeolib-jiplib/-/commit/e2c34ea1eff3c125e267cf85385ca54f04a6469e
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/20251026/123791e7/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list