Control: tags 1126949 + patch
Control: tags 1126949 + pending

Dear maintainer,

I've prepared an NMU for python-pygal (versioned as 3.1.0-0.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should cancel it.

Regards.

diff -Nru python-pygal-3.0.5/debian/changelog 
python-pygal-3.1.0/debian/changelog
--- python-pygal-3.0.5/debian/changelog 2024-10-12 15:50:50.000000000 +0200
+++ python-pygal-3.1.0/debian/changelog 2026-03-13 20:56:59.000000000 +0100
@@ -1,3 +1,14 @@
+python-pygal (3.1.0-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * New upstream release
+  * Patch-out python3-importlib-metadata (Closes: #1126949)
+  * Use dh-sequence-python3
+  * Set debhelper-compat level in d/control
+  * Bump Standards-Version to 4.7.3, drop Priority: tag
+
+ -- Alexandre Detiste <[email protected]>  Fri, 13 Mar 2026 20:56:59 +0100
+
  -- Ulises Vitulli <[email protected]>  Sat, 28 Apr 2018 12:31:05 -0300
diff -Nru python-pygal-3.0.5/debian/compat python-pygal-3.1.0/debian/compat
--- python-pygal-3.0.5/debian/compat    2024-10-12 15:50:50.000000000 +0200
+++ python-pygal-3.1.0/debian/compat    1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-13
diff -Nru python-pygal-3.0.5/debian/control python-pygal-3.1.0/debian/control
--- python-pygal-3.0.5/debian/control   2024-10-12 15:50:50.000000000 +0200
+++ python-pygal-3.1.0/debian/control   2026-03-13 20:56:31.000000000 +0100
@@ -1,25 +1,24 @@
 Source: python-pygal
 Section: python
-Priority: optional
 Maintainer: Ulises Vitulli <[email protected]>
 Uploaders: Agustin Henze <[email protected]>
-Build-Depends: debhelper (>= 13)
-Build-Depends-Indep: 
- dh-python,
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-python3,
+ python3-setuptools,
+Build-Depends-Indep:
  python3-all,
  python3-cairosvg,
  python3-flask,
- python3-importlib-metadata,
  python3-pyquery,
  python3-pytest,
  python3-pytest-runner,
- python3-setuptools,
-Standards-Version: 4.7.0
+Standards-Version: 4.7.3
 Homepage: http://pygal.org/
 
 Package: python3-pygal
 Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}, python3-importlib-metadata
+Depends: ${python3:Depends}, ${misc:Depends}
 Description: Python3 svg graph plotting library
  dynamic easy to use SVG charting library, featuring graph types:
   * Bar charts
diff -Nru python-pygal-3.0.5/debian/docs python-pygal-3.1.0/debian/docs
--- python-pygal-3.0.5/debian/docs      2024-10-12 15:50:05.000000000 +0200
+++ python-pygal-3.1.0/debian/docs      1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-README
diff -Nru 
python-pygal-3.0.5/debian/patches/drop-python3-importlib-metadata.patch 
python-pygal-3.1.0/debian/patches/drop-python3-importlib-metadata.patch
--- python-pygal-3.0.5/debian/patches/drop-python3-importlib-metadata.patch     
1970-01-01 01:00:00.000000000 +0100
+++ python-pygal-3.1.0/debian/patches/drop-python3-importlib-metadata.patch     
2026-03-13 20:55:44.000000000 +0100
@@ -0,0 +1,32 @@
+--- a/pygal/__init__.py
++++ b/pygal/__init__.py
+@@ -29,7 +29,7 @@
+ import traceback
+ import warnings
+ 
+-from importlib_metadata import entry_points
++from importlib.metadata import entry_points
+ 
+ from pygal import maps
+ from pygal.config import Config
+--- a/pygal/test/test_maps.py
++++ b/pygal/test/test_maps.py
+@@ -18,7 +18,7 @@
+ # along with pygal. If not, see <http://www.gnu.org/licenses/>.
+ """Map plugins tests are imported here"""
+ 
+-from importlib_metadata import entry_points
++from importlib.metadata import entry_points
+ 
+ # Load plugins tests
+ for entry in entry_points(group="pygal.test.test_maps"):
+--- a/setup.py
++++ b/setup.py
+@@ -63,7 +63,6 @@
+     keywords=[
+         "svg", "chart", "graph", "diagram", "plot", "histogram", "kiviat"],
+     setup_requires=['pytest-runner'],
+-    install_requires=['importlib-metadata'],  # TODO: remove this (see #545, 
#546)
+     package_data={'pygal': ['css/*', 'graph/maps/*.svg']},
+     extras_require={
+         'lxml': ['lxml'],
diff -Nru python-pygal-3.0.5/debian/patches/series 
python-pygal-3.1.0/debian/patches/series
--- python-pygal-3.0.5/debian/patches/series    1970-01-01 01:00:00.000000000 
+0100
+++ python-pygal-3.1.0/debian/patches/series    2026-03-13 20:55:08.000000000 
+0100
@@ -0,0 +1 @@
+drop-python3-importlib-metadata.patch
diff -Nru python-pygal-3.0.5/debian/python3-pygal.docs 
python-pygal-3.1.0/debian/python3-pygal.docs
--- python-pygal-3.0.5/debian/python3-pygal.docs        1970-01-01 
01:00:00.000000000 +0100
+++ python-pygal-3.1.0/debian/python3-pygal.docs        2026-03-13 
20:56:59.000000000 +0100
@@ -0,0 +1 @@
+README.md
diff -Nru python-pygal-3.0.5/debian/rules python-pygal-3.1.0/debian/rules
--- python-pygal-3.0.5/debian/rules     2024-10-12 15:50:05.000000000 +0200
+++ python-pygal-3.1.0/debian/rules     2026-03-13 20:56:49.000000000 +0100
@@ -5,10 +5,9 @@
 export PYBUILD_NAME=pygal
 
 %:
-       dh $@ --with python3 --buildsystem=pybuild
+       dh $@ --buildsystem=pybuild
 
-override_dh_auto_install:
-       dh_auto_install
+execute_after_dh_auto_install:
        rm -rf debian/python3-pygal/demo
        rm -rf debian/python3-pygal/usr/bin

Reply via email to