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
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 <[email protected]> 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 <[email protected]> +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

