[Git][debian-gis-team/eodag][master] Don't move resources to /usr/share. (closes: #1122409)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Dec 11 06:01:07 GMT 2025



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 <sebastic at debian.org>  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

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/eodag/-/commit/90d990f24712e067db5420dcf1de5f1a8ad846bf
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/20251211/18794078/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list