🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
2 messages
2 total messages Started by Adrian Bunk Wed, 14 Oct 2026 19:30
Bug#1147775: imgp: diff for NMU version 2.9-1.1
#594
Author: 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--
Processed: imgp: diff for NMU version 2.9-1.1
#593
Author: Debian Bug Tracking System
Date: Wed, 14 Oct 2026 19:30
15 lines
2045 bytes
Processing control commands:

> tags 1147775 + patch
Bug #1147775 [src:imgp] imgp: FTBFS: ModuleNotFoundError: No module named 'pkg_resources'
Added tag(s) patch.
> tags 1147775 + pending
Bug #1147775 [src:imgp] imgp: FTBFS: ModuleNotFoundError: No module named 'pkg_resources'
Added tag(s) pending.

-- 
1147775: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147775
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
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