🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #594

Bug#1147775: imgp: diff for NMU version 2.9-1.1

#594
From: Adrian Bunk
Date: Wed, 14 Oct 2026 19:30
89 lines
4538 bytes
--K+Wov7/6ie8v9Qo1
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Control: tags 1147775 + patch
Control: tags 1147775 + pending

Dear maintainer,

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

cu
Adrian

--K+Wov7/6ie8v9Qo1
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="imgp-2.9-1.1-nmu.diff"

diffstat for imgp-2.9 imgp-2.9

 changelog                                   |    8 ++++++
 patches/0001-Prepare-for-release-v3.0.patch |   34 ++++++++++++++++++++++++++++
 patches/series                              |    1 
 3 files changed, 43 insertions(+)

diff -Nru imgp-2.9/debian/changelog imgp-2.9/debian/changelog
--- imgp-2.9/debian/changelog	2023-09-10 15:08:15.000000000 +0300
+++ imgp-2.9/debian/changelog	2026-10-14 18:51:31.000000000 +0300
@@ -1,3 +1,11 @@
+imgp (2.9-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS without pkg_resources.
+    (Closes: #1147775)
+
+ -- Adrian Bunk <bunk@debian.org>  Wed, 14 Oct 2026 18:51:31 +0300
+
 imgp (2.9-1) unstable; urgency=medium
 
   * Import new upstream release
diff -Nru imgp-2.9/debian/patches/0001-Prepare-for-release-v3.0.patch imgp-2.9/debian/patches/0001-Prepare-for-release-v3.0.patch
--- imgp-2.9/debian/patches/0001-Prepare-for-release-v3.0.patch	1970-01-01 02:00:00.000000000 +0200
+++ imgp-2.9/debian/patches/0001-Prepare-for-release-v3.0.patch	2026-10-14 18:51:00.000000000 +0300
@@ -0,0 +1,34 @@
+From c5338947c2ae383c1bd90884fedd7d33e36a2997 Mon Sep 17 00:00:00 2001
+From: Arun Prakash Jana <engineerarun@gmail.com>
+Date: Sun, 16 Aug 2026 11:59:43 +0530
+Subject: Prepare for release v3.0
+
+---
+ setup.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index e848cc5..5ebd7e8 100644
+--- a/setup.py
++++ b/setup.py
+@@ -4,14 +4,14 @@ import re
+ import os.path
+ import shutil
+ import sys
++from importlib.metadata import PackageNotFoundError, distribution
+ 
+ from setuptools import setup, find_packages
+-from pkg_resources import get_distribution, DistributionNotFound
+ 
+ def get_dist(pkgname):
+     try:
+-        return get_distribution(pkgname)
+-    except DistributionNotFound:
++        return distribution(pkgname)
++    except PackageNotFoundError:
+         return None
+ 
+ with open('imgp', encoding='utf-8') as f:
+-- 
+2.47.3
+
diff -Nru imgp-2.9/debian/patches/series imgp-2.9/debian/patches/series
--- imgp-2.9/debian/patches/series	2023-07-16 13:39:43.000000000 +0300
+++ imgp-2.9/debian/patches/series	2026-10-14 18:51:11.000000000 +0300
@@ -1,2 +1,3 @@
 Remove-unnecessary-makefile.patch
 Remove-unnecessary-copyfile-function-to-avoid-upstream-ch.patch
+0001-Prepare-for-release-v3.0.patch

--K+Wov7/6ie8v9Qo1--
Technical Details
Message-ID: <NOcPL-5w6x-5@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: <NDyJZ-hjGK-67@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.rc
Subject: Bug#1147775: imgp: diff for NMU version 2.9-1.1
Date: Wed, 14 Oct 2026 21:30:01 +0200
Message-ID: <NOcPL-5w6x-5@gated-at.bofh.it>
References: <NDyJZ-hjGK-67@gated-at.bofh.it>
X-Original-To: 1147775@bugs.debian.org
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Wed Oct 14 19:25:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Adrian Bunk <bunk@debian.org>, 1147775@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: szlin@debian.org
X-Debian-Pr-Message: followup 1147775
X-Debian-Pr-Package: src:imgp
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: imgp
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="K+Wov7/6ie8v9Qo1"
Content-Disposition: inline
X-Debian-User: bunk
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834531
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 89
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 14 Oct 2026 22:23:36 +0300
X-Original-Message-ID: <as_WuBZu_cp2_oAG@localhost>
X-Original-References: <E1x6QQv-005PSh-1s@paradis.debian.org>