[Git][debian-gis-team/python-mapnik][master] 4 commits: Get Mapnik SOVERSION from version.hpp.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Nov 4 15:36:11 GMT 2024



Bas Couwenberg pushed to branch master at Debian GIS Project / python-mapnik


Commits:
47b94450 by Bas Couwenberg at 2024-11-04T11:19:44+01:00
Get Mapnik SOVERSION from version.hpp.

- - - - -
c1778e00 by Bas Couwenberg at 2024-11-04T11:25:41+01:00
Get Mapnik SOVERSION from pkg-config.

- - - - -
d160aaf1 by Bas Couwenberg at 2024-11-04T16:26:38+01:00
Fix mapniklibpath in paths.py.

- - - - -
c2099ca4 by Bas Couwenberg at 2024-11-04T16:26:38+01:00
Set distribution to unstable.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+python-mapnik (1:0.0~20240222-5ab32f020-3) unstable; urgency=medium
+
+  * Get Mapnik SOVERSION from pkg-config.
+  * Fix mapniklibpath in paths.py.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 04 Nov 2024 16:14:31 +0100
+
 python-mapnik (1:0.0~20240222-5ab32f020-2) unstable; urgency=medium
 
   * Bump Standards-Version to 4.7.0, no changes.


=====================================
debian/rules
=====================================
@@ -9,6 +9,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 include /usr/share/dpkg/architecture.mk
 
+MAPNIK_SO_VERSION = $(shell pkgconf libmapnik --modversion | cut -d. -f-2)
+
 export PYBUILD_NAME=mapnik
 
 # Enable Cairo support
@@ -18,7 +20,7 @@ export PYCAIRO=true
 export SYSTEM_FONTS=/usr/share/fonts
 
 # Custom mapnik libraries
-export LIB_DIR_NAME=$(DEB_HOST_MULTIARCH)/mapnik/4.0.0
+export LIB_DIR_NAME=/$(DEB_HOST_MULTIARCH)/mapnik/${MAPNIK_SO_VERSION}
 
 %:
 	dh $@ --buildsystem=pybuild



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-mapnik/-/compare/90b40fc31edf419d7bb913f6f7fd68c520f9437e...c2099ca41321b5523d34471d1e2bb4f14bedf08b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-mapnik/-/compare/90b40fc31edf419d7bb913f6f7fd68c520f9437e...c2099ca41321b5523d34471d1e2bb4f14bedf08b
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/20241104/1e0b7c49/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list