Dear Bas,

Il 11/12/25 07:01, Bas Couwenberg (@sebastic) ha scritto:


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


Commits:
90d990f2 by Bas Couwenberg at 2025-12-11T06:54:04+01:00
Don't move resources to /usr/share. (closes: #1122409)

- - - - -


6 changed files:

- debian/changelog
- debian/python3-eodag.install
- − debian/python3-eodag.links
- debian/python3-eodag.lintian-overrides
- + debian/python3-eodag.maintscript
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,8 @@ eodag (3.10.0+ds-2) UNRELEASED; urgency=medium
    * Team upload.
    * Use test-build-validate-cleanup instead of test-build-twice.
    * Update watch file to ignore post, dev, and alpha releases.
+  * Don't move resources to /usr/share.
+    (closes: #1122409)
-- Bas Couwenberg <[email protected]> Sat, 25 Oct 2025 12:55:57 +0200

=====================================
debian/python3-eodag.install
=====================================
@@ -1,2 +1 @@
  usr/lib/python3*/*
-usr/share/python3-eodag/*


=====================================
debian/python3-eodag.links deleted
=====================================
@@ -1 +0,0 @@
-usr/share/python3-eodag/resources usr/lib/python3/dist-packages/eodag/resources


=====================================
debian/python3-eodag.lintian-overrides
=====================================
@@ -1,2 +1,2 @@
  # False positive
-package-contains-documentation-outside-usr-share-doc 
[usr/share/python3-eodag/resources/shp/*]
+package-contains-documentation-outside-usr-share-doc 
[usr/lib/python*/dist-packages/eodag/resources/shp/*]


=====================================
debian/python3-eodag.maintscript
=====================================
@@ -0,0 +1,3 @@
+# Switch symlink to directory (#1122409)
+symlink_to_dir /usr/share/python3-eodag/resources 
/usr/lib/python3/dist-packages/eodag/resources 3.10.0+ds-2~
+


=====================================
debian/rules
=====================================
@@ -18,9 +18,5 @@ and not test_plugins_extras" \
  %:
        dh $@ --buildsystem=pybuild
-execute_after_dh_auto_install:
-       mkdir -p debian/tmp/usr/share/python3-eodag/
-       mv debian/tmp/usr/lib/python3*/*-packages/eodag/resources 
debian/tmp/usr/share/python3-eodag/
-
  execute_after_dh_fixperms:
-       chmod -x 
debian/python3-eodag/usr/share/python3-eodag/resources/shp/ne_110m_admin_0_map_units.*
+       chmod -x 
debian/python3-eodag/usr/lib/python*/dist-packages/eodag/resources/shp/ne_110m_admin_0_map_units.*



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/eodag/-/commit/90d990f24712e067db5420dcf1de5f1a8ad846bf


Apparently this change makes the piuparts test in salsa fail.
Not totally clear the to me reason.
Do you have any clue on it?
Should we try an alternative implementation?


kind regards
--
Antonio Valentino


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to