Source: python-pygal
Version: 2.0.12-2
Severity: important
Tags: patch

Hello maintainer, pytest-catchlog is requiring now python-pygal, and provides 
the Python3 binding.

Can you please add it too, so we can package it with the correct dependencies?

thanks, trivial debdiff attached.

G.
diff -Nru python-pygal-2.0.12/debian/changelog 
python-pygal-2.0.12/debian/changelog
--- python-pygal-2.0.12/debian/changelog        2015-12-31 15:04:25.000000000 
+0100
+++ python-pygal-2.0.12/debian/changelog        2017-09-05 08:19:57.000000000 
+0200
@@ -1,3 +1,10 @@
+python-pygal (2.0.12-2.1) unstable; urgency=medium
+
+  * Use pybuild
+  * Add Python3 package (Closes: #-1)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Tue, 05 Sep 2017 
08:19:57 +0200
+
 python-pygal (2.0.12-2) unstable; urgency=medium
 
   * Add CairoSVG dependency to enhance file rendering (Closes: #808811).
diff -Nru python-pygal-2.0.12/debian/control python-pygal-2.0.12/debian/control
--- python-pygal-2.0.12/debian/control  2015-12-31 15:09:41.000000000 +0100
+++ python-pygal-2.0.12/debian/control  2017-09-05 08:19:57.000000000 +0200
@@ -4,14 +4,14 @@
 Maintainer: Ulises Vitulli <der...@debian.org>
 Uploaders: Agustin Henze <t...@sluc.org.ar>
 Build-Depends: debhelper (>= 9)
-Build-Depends-Indep: python-all, dh-python, python-setuptools
+Build-Depends-Indep: python-all, dh-python, python-setuptools, python3-all, 
python3-setuptools, python-cairosvg, python3-cairosvg, python-flask, 
python3-flask, python-pyquery, python3-pyquery, python-pytest, python3-pytest
 Standards-Version: 3.9.6
 X-Python-Version: >= 2.7
 Homepage: http://pygal.org/
 
 Package: python-pygal
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-cairosvg
+Depends: ${python:Depends}, ${misc:Depends}
 Description: Python svg graph plotting library
  dynamic easy to use SVG charting library, featuring graph types:
   * Bar charts
@@ -26,3 +26,25 @@
   * 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}
+Description: Python3 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 3 version of the package.
diff -Nru python-pygal-2.0.12/debian/rules python-pygal-2.0.12/debian/rules
--- python-pygal-2.0.12/debian/rules    2015-12-31 14:32:15.000000000 +0100
+++ python-pygal-2.0.12/debian/rules    2017-09-05 08:19:57.000000000 +0200
@@ -1,30 +1,18 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-
-PYVERS :=  python2.7
+export PYBUILD_NAME=pygal
 
 %:
-       dh $@ --with python2 
-
-override_dh_auto_build:
-
-override_dh_auto_clean:
-       dh_auto_clean
-       rm -rf build pygal.egg-info
+       dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_install:
        dh_auto_install
-       set -ex; \
-       for py in $(PYVERS); do \
-               $$py setup.py install --root debian/python-pygal \
-                                     --install-layout=deb; \
-       done
        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
+
 override_dh_installexamples:
-       dh_installexamples pygal_gen.py 
-       
+       dh_installexamples pygal_gen.py

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to