🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #862

Bug#1147773: hdf-compass: diff for NMU version 0.7~b15-1.1

#862
From: 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--
Technical Details
Message-ID: <NO9oR-5tXW-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NDyJY-hjGK-29@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Adrian Bunk <bunk@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1147773: hdf-compass: diff for NMU version 0.7~b15-1.1
Date: Wed, 14 Oct 2026 17:50:01 +0200
Message-ID: <NO9oR-5tXW-9@gated-at.bofh.it>
References: <NDyJY-hjGK-29@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 14 15:49:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Adrian Bunk <bunk@debian.org>, 1147773@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1147773
X-Debian-Pr-Package: src:hdf-compass
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: hdf-compass
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="g0Wb3wsgReczR+d5"
Content-Disposition: inline
X-Debian-User: bunk
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996789
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 74
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 14 Oct 2026 18:46:37 +0300
X-Original-Message-ID: <as-j3Yz7DEATtNI_@localhost>
X-Original-References: <E1x6QQt-005PSb-1p@paradis.debian.org>