[Git][debian-gis-team/saga][master] 2 commits: Drop Python bindings, causes FTBFS with SWIG 4.2. (closes: #1062880)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Feb 7 21:04:46 GMT 2024



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


Commits:
1123980d by Bas Couwenberg at 2024-02-07T20:31:44+01:00
Drop Python bindings, causes FTBFS with SWIG 4.2. (closes: #1062880)

- - - - -
98306528 by Bas Couwenberg at 2024-02-07T20:32:03+01:00
Set distribution to unstable.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- − debian/python3-saga.install
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,11 @@
-saga (9.3.1+dfsg-2) UNRELEASED; urgency=medium
+saga (9.3.1+dfsg-2) unstable; urgency=medium
 
   * Team upload.
   * Replace pkg-config build dependency with pkgconf.
+  * Drop Python bindings, causes FTBFS with SWIG 4.2.
+    (closes: #1062880)
 
- -- Bas Couwenberg <sebastic at debian.org>  Tue, 06 Feb 2024 09:38:13 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 07 Feb 2024 20:31:49 +0100
 
 saga (9.3.1+dfsg-1) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -6,7 +6,6 @@ Section: science
 Priority: optional
 Build-Depends: cmake,
                debhelper-compat (= 13),
-               dh-python,
                libdxflib-dev,
                libexpat-dev,
                libgdal-dev,
@@ -16,8 +15,6 @@ Build-Depends: cmake,
                libsvm-dev,
                libwxgtk3.2-dev,
                pkgconf,
-               python3-dev,
-               swig
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/saga
 Vcs-Git: https://salsa.debian.org/debian-gis-team/saga.git
@@ -92,17 +89,3 @@ Description: SAGA GIS shared library (graphical models)
  information system used for editing and analysing spatial data.
  .
  This package contains the library files for developing graphical modules.
-
-Package: python3-saga
-Architecture: any
-Section: python
-Depends: ${python3:Depends},
-         ${shlibs:Depends},
-         ${misc:Depends}
-Suggests: saga (= ${binary:Version})
-Pre-Depends: ${misc:Pre-Depends}
-Description: SAGA GIS Python bindings
- SAGA GIS (System for Automated Geoscientific Analyses) is a geographic
- information system used for editing and analysing spatial data.
- .
- This package contains the Python bindings to SAGA.


=====================================
debian/python3-saga.install deleted
=====================================
@@ -1 +0,0 @@
-usr/lib/python*


=====================================
debian/rules
=====================================
@@ -3,8 +3,6 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-export DEB_PYTHON_INSTALL_LAYOUT=deb_system
-
 CFLAGS += $(CPPFLAGS)
 
 include /usr/share/dpkg/pkg-info.mk
@@ -12,7 +10,7 @@ include /usr/share/dpkg/pkg-info.mk
 UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
 
 %:
-	dh $@ --with python3 --buildsystem=cmake --sourcedirectory=saga-gis --without autoreconf
+	dh $@ --buildsystem=cmake --sourcedirectory=saga-gis --without autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
@@ -32,9 +30,3 @@ execute_after_dh_auto_install:
 	# Explicitly remove files not to be installed
 	find $(CURDIR)/debian/tmp/usr/lib -name "*.pyc" -delete
 	find $(CURDIR)/debian/tmp/usr/lib -name "*.pyo" -delete
-
-override_dh_python3:
-	dh_python3 --no-ext-rename
-
-override_dh_makeshlibs:
-	dh_makeshlibs -Xpython3-saga



View it on GitLab: https://salsa.debian.org/debian-gis-team/saga/-/compare/5861c06820404b940a490a8c9b7fc751bd884f97...983065281eb91ccec62ae5e8d73ed2a7c45c093b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/saga/-/compare/5861c06820404b940a490a8c9b7fc751bd884f97...983065281eb91ccec62ae5e8d73ed2a7c45c093b
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/20240207/2537bb2b/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list