🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Adrian Bunk Wed, 14 Oct 2026 15:50
Bug#1147773: hdf-compass: diff for NMU version 0.7~b15-1.1
#862
Author: Adrian Bunk
Date: Wed, 14 Oct 2026 15:50
74 lines
4279 bytes
--g0Wb3wsgReczR+d5
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Control: tags 1147773 + patch
Control: tags 1147773 + pending

Dear maintainer,

I've prepared an NMU for hdf-compass (versioned as 0.7~b15-1.1) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian

--g0Wb3wsgReczR+d5
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="hdf-compass-0.7~b15-1.1-nmu.diff"

diffstat for hdf-compass-0.7~b15 hdf-compass-0.7~b15

 changelog                   |    8 ++++++++
 patches/pkg_resources.patch |   18 ++++++++++++++++++
 patches/series              |    1 +
 3 files changed, 27 insertions(+)

diff -Nru hdf-compass-0.7~b15/debian/changelog hdf-compass-0.7~b15/debian/changelog
--- hdf-compass-0.7~b15/debian/changelog	2024-08-10 00:16:14.000000000 +0300
+++ hdf-compass-0.7~b15/debian/changelog	2026-10-14 16:53:00.000000000 +0300
@@ -1,3 +1,11 @@
+hdf-compass (0.7~b15-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS without pkg_resources.
+    (Closes: #1147773)
+
+ -- Adrian Bunk <bunk@debian.org>  Wed, 14 Oct 2026 16:53:00 +0300
+
 hdf-compass (0.7~b15-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru hdf-compass-0.7~b15/debian/patches/pkg_resources.patch hdf-compass-0.7~b15/debian/patches/pkg_resources.patch
--- hdf-compass-0.7~b15/debian/patches/pkg_resources.patch	1970-01-01 02:00:00.000000000 +0200
+++ hdf-compass-0.7~b15/debian/patches/pkg_resources.patch	2026-10-14 16:53:00.000000000 +0300
@@ -0,0 +1,18 @@
+Description: Fix FTBFS without pkg_resources
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1147773
+Origin: backport, https://github.com/HDFGroup/hdf-compass/commit/70bf2a6e2d98dc761de46ac0d8798d25544320bf
+
+--- hdf-compass-0.7~b15.orig/hdf_compass/__init__.py
++++ hdf-compass-0.7~b15/hdf_compass/__init__.py
+@@ -1 +1,9 @@
+-__import__('pkg_resources').declare_namespace(__name__)
++"""
++HDFCompass Namespace
++"""
++try:
++    import pkg_resources
++    pkg_resources.declare_namespace(__name__)
++except ImportError:
++    import pkgutil
++    __path__ = pkgutil.extend_path(__path__, __name__)
diff -Nru hdf-compass-0.7~b15/debian/patches/series hdf-compass-0.7~b15/debian/patches/series
--- hdf-compass-0.7~b15/debian/patches/series	2024-08-10 00:16:14.000000000 +0300
+++ hdf-compass-0.7~b15/debian/patches/series	2026-10-14 16:53:00.000000000 +0300
@@ -1,2 +1,3 @@
 matplotlib_backend_test.patch
 autopkgtest.patch
+pkg_resources.patch

--g0Wb3wsgReczR+d5--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads