Control: tags 938066 + patch
Control: tags 938963 + patch

Dear maintainer,

I've prepared an NMU for python-pygal (versioned as 2.4.0-2.1). The diff
is attached to this message.

I've uploaded directly to unstable as it fixes and RC bug

Regards.

diff -Nru python-pygal-2.4.0/debian/changelog python-pygal-2.4.0/debian/changelog
--- python-pygal-2.4.0/debian/changelog	2018-04-28 11:31:05.000000000 -0400
+++ python-pygal-2.4.0/debian/changelog	2019-10-07 20:53:48.000000000 -0400
@@ -1,3 +1,12 @@
+python-pygal (2.4.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938963, #938066
+  * debian/patches/setup.cfg-pytest.patch
+    - rename [pytest] section to [tool:pytest]
+
+ -- Sandro Tosi <mo...@debian.org>  Mon, 07 Oct 2019 20:53:48 -0400
+
 python-pygal (2.4.0-2) unstable; urgency=medium
 
   * Fix pygal fails to import (Closes: #896256). 
diff -Nru python-pygal-2.4.0/debian/control python-pygal-2.4.0/debian/control
--- python-pygal-2.4.0/debian/control	2018-04-28 11:31:05.000000000 -0400
+++ python-pygal-2.4.0/debian/control	2019-10-07 20:46:26.000000000 -0400
@@ -6,13 +6,6 @@
 Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: 
  dh-python,
- python-all,
- python-cairosvg,
- python-flask,
- python-pyquery,
- python-pytest,
- python-pytest-runner,
- python-setuptools,
  python3-all,
  python3-cairosvg,
  python3-flask,
@@ -24,26 +17,6 @@
 X-Python-Version: >= 2.7
 Homepage: http://pygal.org/
 
-Package: python-pygal
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources
-Description: Python svg graph plotting library
- dynamic easy to use SVG charting library, featuring graph types:
-  * Bar charts
-  * Line charts
-  * XY charts
-  * Pie charts
-  * Radar charts
-  * Box plot
-  * Dot charts
-  * Pyramid charts
-  * Funnel charts
-  * Gauge charts
-  * Worldmap charts
-  * Country charts
- .
- This is the Python 2 version of the package.
-
 Package: python3-pygal
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources
diff -Nru python-pygal-2.4.0/debian/patches/series python-pygal-2.4.0/debian/patches/series
--- python-pygal-2.4.0/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ python-pygal-2.4.0/debian/patches/series	2019-10-07 20:53:16.000000000 -0400
@@ -0,0 +1 @@
+setup.cfg-pytest.patch
diff -Nru python-pygal-2.4.0/debian/patches/setup.cfg-pytest.patch python-pygal-2.4.0/debian/patches/setup.cfg-pytest.patch
--- python-pygal-2.4.0/debian/patches/setup.cfg-pytest.patch	1969-12-31 19:00:00.000000000 -0500
+++ python-pygal-2.4.0/debian/patches/setup.cfg-pytest.patch	2019-10-07 20:53:32.000000000 -0400
@@ -0,0 +1,11 @@
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -1,7 +1,7 @@
+ [wheel]
+ universal = 1
+ 
+-[pytest]
++[tool:pytest]
+ flake8-ignore = 
+ 	*.py E731 E402
+ 	pygal/__init__.py F401
diff -Nru python-pygal-2.4.0/debian/rules python-pygal-2.4.0/debian/rules
--- python-pygal-2.4.0/debian/rules	2017-09-15 17:17:43.000000000 -0400
+++ python-pygal-2.4.0/debian/rules	2019-10-07 20:46:39.000000000 -0400
@@ -5,12 +5,10 @@
 export PYBUILD_NAME=pygal
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_install:
 	dh_auto_install
-	rm -rf debian/python-pygal/demo
-	rm -rf debian/python-pygal/usr/bin
 	rm -rf debian/python3-pygal/demo
 	rm -rf debian/python3-pygal/usr/bin
 

Reply via email to