Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pygal for openSUSE:Factory checked in at 2026-04-28 11:53:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygal (Old) and /work/SRC/openSUSE:Factory/.python-pygal.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygal" Tue Apr 28 11:53:21 2026 rev:15 rq:1349248 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygal/python-pygal.changes 2025-08-25 20:37:06.133587705 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygal.new.11940/python-pygal.changes 2026-04-28 11:53:30.850394047 +0200 @@ -1,0 +2,8 @@ +Sat Apr 25 17:46:12 UTC 2026 - Dirk Müller <[email protected]> + +- update to 3.1.0: + * README and docs information + * Lint + * reverse_direction option for gauge + +------------------------------------------------------------------- Old: ---- pygal-3.0.5.tar.gz New: ---- pygal-3.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygal.spec ++++++ --- /var/tmp/diff_new_pack.X0hZWq/_old 2026-04-28 11:53:31.634426422 +0200 +++ /var/tmp/diff_new_pack.X0hZWq/_new 2026-04-28 11:53:31.634426422 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pygal # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %endif %{?sle15_python_module_pythons} Name: python-pygal -Version: 3.0.5 +Version: 3.1.0 Release: 0 Summary: A python svg graph plotting library License: LGPL-3.0-or-later @@ -89,7 +89,7 @@ %python_libalternatives_reset_alternative pygal_gen %files %{python_files} -%doc README +%doc README.md %license COPYING %python_alternative %{_bindir}/pygal_gen %{python_sitelib}/pygal ++++++ pygal-3.0.5.tar.gz -> pygal-3.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/PKG-INFO new/pygal-3.1.0/PKG-INFO --- old/pygal-3.0.5/PKG-INFO 2024-08-12 16:54:48.065877700 +0200 +++ new/pygal-3.1.0/PKG-INFO 2025-12-09 11:28:49.060237400 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 2.1 Name: pygal -Version: 3.0.5 +Version: 3.1.0 Summary: A Python svg graph plotting library Home-page: https://www.pygal.org/ -Author: Florian Mounier / Kozea -Author-email: [email protected] +Author: Kozea +Author-email: [email protected] License: GNU LGPL v3+ Keywords: svg,chart,graph,diagram,plot,histogram,kiviat Platform: Any @@ -17,7 +17,7 @@ Classifier: Topic :: Multimedia :: Graphics :: Presentation Provides: pygal Requires-Python: >=3.8 -Description-Content-Type: text/x-rst +Description-Content-Type: text/markdown License-File: COPYING Requires-Dist: importlib-metadata Provides-Extra: lxml @@ -45,33 +45,43 @@ # Pygal -[](https://travis-ci.org/Kozea/pygal) +[](https://github.com/Kozea/pygal/actions/workflows/ci.yml) [](https://coveralls.io/github/Kozea/pygal?branch=master) [](https://readthedocs.org/projects/pygal/?badge=latest) -@@TOC@@ +- [Pygal](#pygal) + - [Description](#description) + - [Installation](#installation) + - [Test](#test) + - [Contribute](#contribute) + - [License](#license) ## Description **pygal** is a dynamic SVG charting library written in python. -All the documentation is on http://pygal.org +All the documentation is on [www.pygal.org](http://www.pygal.org) ## Installation -As simple as:: +As simple as: +``` $ pip install pygal +``` + ## Test -Pygal is tested with py.test:: +Pygal is tested with py.test: +``` $ pip install pytest $ py.test +``` ## Contribute @@ -89,7 +99,7 @@ ## License -Copyright © 2012-2016 Kozea +Copyright © 2012-2025 Kozea LGPLv3: This program is free software: you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/README new/pygal-3.1.0/README --- old/pygal-3.0.5/README 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,62 +0,0 @@ -# Pygal - - -[](https://travis-ci.org/Kozea/pygal) -[](https://coveralls.io/github/Kozea/pygal?branch=master) -[](https://readthedocs.org/projects/pygal/?badge=latest) - - -@@TOC@@ - -## Description - -**pygal** is a dynamic SVG charting library written in python. -All the documentation is on http://pygal.org - - -## Installation - -As simple as:: - - $ pip install pygal - - -## Test - -Pygal is tested with py.test:: - - - $ pip install pytest - $ py.test - - -## Contribute - -You are welcomed to fork the project and make pull requests. -Be sure to create a branch for each feature, write tests if needed and run the current tests ! - - -You can also support the project: - -[](https://flattr.com/submit/auto?user_id=paradoxxx_zero&url=https://github.com/Kozea/pygal&title=Pygal&tags=github&category=software) -[](https://www.gittip.com/paradoxxxzero/) - - - -## License - -Copyright © 2012-2016 Kozea -LGPLv3: - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/README.md new/pygal-3.1.0/README.md --- old/pygal-3.0.5/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/pygal-3.1.0/README.md 2025-12-09 11:11:21.000000000 +0100 @@ -0,0 +1,72 @@ +# Pygal + + +[](https://github.com/Kozea/pygal/actions/workflows/ci.yml) +[](https://coveralls.io/github/Kozea/pygal?branch=master) +[](https://readthedocs.org/projects/pygal/?badge=latest) + + +- [Pygal](#pygal) + - [Description](#description) + - [Installation](#installation) + - [Test](#test) + - [Contribute](#contribute) + - [License](#license) + +## Description + +**pygal** is a dynamic SVG charting library written in python. +All the documentation is on [www.pygal.org](http://www.pygal.org) + + +## Installation + +As simple as: + +``` + $ pip install pygal +``` + + + +## Test + +Pygal is tested with py.test: + + +``` + $ pip install pytest + $ py.test +``` + + +## Contribute + +You are welcomed to fork the project and make pull requests. +Be sure to create a branch for each feature, write tests if needed and run the current tests ! + + +You can also support the project: + +[](https://flattr.com/submit/auto?user_id=paradoxxx_zero&url=https://github.com/Kozea/pygal&title=Pygal&tags=github&category=software) +[](https://www.gittip.com/paradoxxxzero/) + + + +## License + +Copyright © 2012-2025 Kozea +LGPLv3: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/__about__.py new/pygal-3.1.0/pygal/__about__.py --- old/pygal-3.0.5/pygal/__about__.py 2024-08-12 16:54:40.000000000 +0200 +++ new/pygal-3.1.0/pygal/__about__.py 2025-12-09 11:28:43.000000000 +0100 @@ -1,10 +1,10 @@ __title__ = "pygal" -__version__ = "3.0.5" +__version__ = "3.1.0" __summary__ = "A Python svg graph plotting library" __uri__ = "https://www.pygal.org/" -__author__ = "Florian Mounier / Kozea" -__email__ = "[email protected]" +__author__ = "Kozea" +__email__ = "[email protected]" __license__ = "GNU LGPL v3+" __copyright__ = "Copyright 2020 %s" % __author__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/__init__.py new/pygal-3.1.0/pygal/__init__.py --- old/pygal-3.0.5/pygal/__init__.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/__init__.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/_compat.py new/pygal-3.1.0/pygal/_compat.py --- old/pygal-3.0.5/pygal/_compat.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/_compat.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/adapters.py new/pygal-3.1.0/pygal/adapters.py --- old/pygal-3.0.5/pygal/adapters.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/adapters.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/colors.py new/pygal-3.1.0/pygal/colors.py --- old/pygal-3.0.5/pygal/colors.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/colors.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/config.py new/pygal-3.1.0/pygal/config.py --- old/pygal-3.0.5/pygal/config.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/config.py 2025-12-09 11:17:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free @@ -324,6 +324,10 @@ half_pie = Key(False, bool, "Look", "Create a half-pie chart") + reverse_direction = Key( + False, bool, "Look", "Reverse the direction of the gauge" + ) + x_labels = Key( None, list, "Label", "X labels, must have same len than data.", "Leave it to None to disable x labels display.", str diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/etree.py new/pygal-3.1.0/pygal/etree.py --- old/pygal-3.0.5/pygal/etree.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/etree.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/formatters.py new/pygal-3.1.0/pygal/formatters.py --- old/pygal-3.0.5/pygal/formatters.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/formatters.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/__init__.py new/pygal-3.1.0/pygal/graph/__init__.py --- old/pygal-3.0.5/pygal/graph/__init__.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/__init__.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/bar.py new/pygal-3.1.0/pygal/graph/bar.py --- old/pygal-3.0.5/pygal/graph/bar.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/bar.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/base.py new/pygal-3.1.0/pygal/graph/base.py --- old/pygal-3.0.5/pygal/graph/base.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/base.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/box.py new/pygal-3.1.0/pygal/graph/box.py --- old/pygal-3.0.5/pygal/graph/box.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/box.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/dot.py new/pygal-3.1.0/pygal/graph/dot.py --- old/pygal-3.0.5/pygal/graph/dot.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/dot.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/dual.py new/pygal-3.1.0/pygal/graph/dual.py --- old/pygal-3.0.5/pygal/graph/dual.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/dual.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/funnel.py new/pygal-3.1.0/pygal/graph/funnel.py --- old/pygal-3.0.5/pygal/graph/funnel.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/funnel.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/gauge.py new/pygal-3.1.0/pygal/graph/gauge.py --- old/pygal-3.0.5/pygal/graph/gauge.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/gauge.py 2025-12-09 11:17:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free @@ -132,7 +132,10 @@ self.min_ -= 1 self.max_ += 1 - self._box.set_polar_box(0, 1, self.min_, self.max_) + if self.reverse_direction: + self._box.set_polar_box(0, 1, self.max_, self.min_) + else: + self._box.set_polar_box(0, 1, self.min_, self.max_) def _compute_x_labels(self): pass diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/graph.py new/pygal-3.1.0/pygal/graph/graph.py --- old/pygal-3.0.5/pygal/graph/graph.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/graph.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/histogram.py new/pygal-3.1.0/pygal/graph/histogram.py --- old/pygal-3.0.5/pygal/graph/histogram.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/histogram.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/horizontal.py new/pygal-3.1.0/pygal/graph/horizontal.py --- old/pygal-3.0.5/pygal/graph/horizontal.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/horizontal.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/horizontalbar.py new/pygal-3.1.0/pygal/graph/horizontalbar.py --- old/pygal-3.0.5/pygal/graph/horizontalbar.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/horizontalbar.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/horizontalline.py new/pygal-3.1.0/pygal/graph/horizontalline.py --- old/pygal-3.0.5/pygal/graph/horizontalline.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/horizontalline.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/horizontalstackedbar.py new/pygal-3.1.0/pygal/graph/horizontalstackedbar.py --- old/pygal-3.0.5/pygal/graph/horizontalstackedbar.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/horizontalstackedbar.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/horizontalstackedline.py new/pygal-3.1.0/pygal/graph/horizontalstackedline.py --- old/pygal-3.0.5/pygal/graph/horizontalstackedline.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/horizontalstackedline.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/line.py new/pygal-3.1.0/pygal/graph/line.py --- old/pygal-3.0.5/pygal/graph/line.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/line.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/map.py new/pygal-3.1.0/pygal/graph/map.py --- old/pygal-3.0.5/pygal/graph/map.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/map.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/pie.py new/pygal-3.1.0/pygal/graph/pie.py --- old/pygal-3.0.5/pygal/graph/pie.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/pie.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/public.py new/pygal-3.1.0/pygal/graph/public.py --- old/pygal-3.0.5/pygal/graph/public.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/public.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/pyramid.py new/pygal-3.1.0/pygal/graph/pyramid.py --- old/pygal-3.0.5/pygal/graph/pyramid.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/pyramid.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/radar.py new/pygal-3.1.0/pygal/graph/radar.py --- old/pygal-3.0.5/pygal/graph/radar.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/radar.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/solidgauge.py new/pygal-3.1.0/pygal/graph/solidgauge.py --- old/pygal-3.0.5/pygal/graph/solidgauge.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/solidgauge.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/stackedbar.py new/pygal-3.1.0/pygal/graph/stackedbar.py --- old/pygal-3.0.5/pygal/graph/stackedbar.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/stackedbar.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/stackedline.py new/pygal-3.1.0/pygal/graph/stackedline.py --- old/pygal-3.0.5/pygal/graph/stackedline.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/stackedline.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/time.py new/pygal-3.1.0/pygal/graph/time.py --- old/pygal-3.0.5/pygal/graph/time.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/time.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/treemap.py new/pygal-3.1.0/pygal/graph/treemap.py --- old/pygal-3.0.5/pygal/graph/treemap.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/treemap.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/graph/xy.py new/pygal-3.1.0/pygal/graph/xy.py --- old/pygal-3.0.5/pygal/graph/xy.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/graph/xy.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/interpolate.py new/pygal-3.1.0/pygal/interpolate.py --- old/pygal-3.0.5/pygal/interpolate.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/interpolate.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/maps/__init__.py new/pygal-3.1.0/pygal/maps/__init__.py --- old/pygal-3.0.5/pygal/maps/__init__.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/maps/__init__.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/serie.py new/pygal-3.1.0/pygal/serie.py --- old/pygal-3.0.5/pygal/serie.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/serie.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/state.py new/pygal-3.1.0/pygal/state.py --- old/pygal-3.0.5/pygal/state.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/state.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/style.py new/pygal-3.1.0/pygal/style.py --- old/pygal-3.0.5/pygal/style.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/style.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/svg.py new/pygal-3.1.0/pygal/svg.py --- old/pygal-3.0.5/pygal/svg.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/svg.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free @@ -72,7 +72,7 @@ self.root.attrib['class'] = ' '.join(graph.classes) self.root.append( etree.Comment( - 'Generated with pygal %s (%s) ©Kozea 2012-2016 on %s' % ( + 'Generated with pygal %s (%s) ©Kozea 2012-2025 on %s' % ( __version__, 'lxml' if etree.lxml else 'etree', date.today().isoformat() ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/table.py new/pygal-3.1.0/pygal/table.py --- old/pygal-3.0.5/pygal/table.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/table.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free @@ -75,7 +75,7 @@ table.append(labels) if total: - if len(table): + if table: table[0].append('Total') else: table.append([None] * (ln + 1) + ['Total']) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/__init__.py new/pygal-3.1.0/pygal/test/__init__.py --- old/pygal-3.0.5/pygal/test/__init__.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/__init__.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/conftest.py new/pygal-3.1.0/pygal/test/conftest.py --- old/pygal-3.0.5/pygal/test/conftest.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/conftest.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_bar.py new/pygal-3.1.0/pygal/test/test_bar.py --- old/pygal-3.0.5/pygal/test/test_bar.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_bar.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_box.py new/pygal-3.1.0/pygal/test/test_box.py --- old/pygal-3.0.5/pygal/test/test_box.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_box.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_colors.py new/pygal-3.1.0/pygal/test/test_colors.py --- old/pygal-3.0.5/pygal/test/test_colors.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_colors.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_config.py new/pygal-3.1.0/pygal/test/test_config.py --- old/pygal-3.0.5/pygal/test/test_config.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_config.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_date.py new/pygal-3.1.0/pygal/test/test_date.py --- old/pygal-3.0.5/pygal/test/test_date.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_date.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_formatters.py new/pygal-3.1.0/pygal/test/test_formatters.py --- old/pygal-3.0.5/pygal/test/test_formatters.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_formatters.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_gauge.py new/pygal-3.1.0/pygal/test/test_gauge.py --- old/pygal-3.0.5/pygal/test/test_gauge.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pygal-3.1.0/pygal/test/test_gauge.py 2025-12-09 11:17:21.000000000 +0100 @@ -0,0 +1,35 @@ +from pygal import Gauge + + +def test_gauge_reverse_direction(): + """Test that reverse_direction config is respected""" + gauge = Gauge(reverse_direction=True) + assert gauge.config.reverse_direction is True + + gauge.add('A', 10) + gauge.range = (0, 10) + gauge.setup() + + # When reversed, the polar box should be (0, 1, max, min) + # min=0, max=10 + # reversed: (0, 1, 10, 0) + assert gauge._box._tmin == 10 + assert gauge._box._tmax == 0 + assert gauge._box._rmin == 0 + assert gauge._box._rmax == 1 + +def test_gauge_normal_direction(): + """Test that normal direction works as expected""" + gauge = Gauge() + assert gauge.config.reverse_direction is False + + gauge.add('A', 10) + gauge.range = (0, 10) + gauge.setup() + + # min=0, max=10 + # normal: (0, 1, 0, 10) + assert gauge._box._tmin == 0 + assert gauge._box._tmax == 10 + assert gauge._box._rmin == 0 + assert gauge._box._rmax == 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_graph.py new/pygal-3.1.0/pygal/test/test_graph.py --- old/pygal-3.0.5/pygal/test/test_graph.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_graph.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_histogram.py new/pygal-3.1.0/pygal/test/test_histogram.py --- old/pygal-3.0.5/pygal/test/test_histogram.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_histogram.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_interpolate.py new/pygal-3.1.0/pygal/test/test_interpolate.py --- old/pygal-3.0.5/pygal/test/test_interpolate.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_interpolate.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_line.py new/pygal-3.1.0/pygal/test/test_line.py --- old/pygal-3.0.5/pygal/test/test_line.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_line.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_maps.py new/pygal-3.1.0/pygal/test/test_maps.py --- old/pygal-3.0.5/pygal/test/test_maps.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_maps.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_pie.py new/pygal-3.1.0/pygal/test/test_pie.py --- old/pygal-3.0.5/pygal/test/test_pie.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_pie.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_serie_config.py new/pygal-3.1.0/pygal/test/test_serie_config.py --- old/pygal-3.0.5/pygal/test/test_serie_config.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_serie_config.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_sparktext.py new/pygal-3.1.0/pygal/test/test_sparktext.py --- old/pygal-3.0.5/pygal/test/test_sparktext.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_sparktext.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_stacked.py new/pygal-3.1.0/pygal/test/test_stacked.py --- old/pygal-3.0.5/pygal/test/test_stacked.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_stacked.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_style.py new/pygal-3.1.0/pygal/test/test_style.py --- old/pygal-3.0.5/pygal/test/test_style.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_style.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_table.py new/pygal-3.1.0/pygal/test/test_table.py --- old/pygal-3.0.5/pygal/test/test_table.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_table.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_util.py new/pygal-3.1.0/pygal/test/test_util.py --- old/pygal-3.0.5/pygal/test/test_util.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_util.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_view.py new/pygal-3.1.0/pygal/test/test_view.py --- old/pygal-3.0.5/pygal/test/test_view.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_view.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/test_xml_filters.py new/pygal-3.1.0/pygal/test/test_xml_filters.py --- old/pygal-3.0.5/pygal/test/test_xml_filters.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/test_xml_filters.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/test/utils.py new/pygal-3.1.0/pygal/test/utils.py --- old/pygal-3.0.5/pygal/test/utils.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/test/utils.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/util.py new/pygal-3.1.0/pygal/util.py --- old/pygal-3.0.5/pygal/util.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/util.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal/view.py new/pygal-3.1.0/pygal/view.py --- old/pygal-3.0.5/pygal/view.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal/view.py 2025-12-09 11:11:21.000000000 +0100 @@ -2,7 +2,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal.egg-info/PKG-INFO new/pygal-3.1.0/pygal.egg-info/PKG-INFO --- old/pygal-3.0.5/pygal.egg-info/PKG-INFO 2024-08-12 16:54:47.000000000 +0200 +++ new/pygal-3.1.0/pygal.egg-info/PKG-INFO 2025-12-09 11:28:48.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 2.1 Name: pygal -Version: 3.0.5 +Version: 3.1.0 Summary: A Python svg graph plotting library Home-page: https://www.pygal.org/ -Author: Florian Mounier / Kozea -Author-email: [email protected] +Author: Kozea +Author-email: [email protected] License: GNU LGPL v3+ Keywords: svg,chart,graph,diagram,plot,histogram,kiviat Platform: Any @@ -17,7 +17,7 @@ Classifier: Topic :: Multimedia :: Graphics :: Presentation Provides: pygal Requires-Python: >=3.8 -Description-Content-Type: text/x-rst +Description-Content-Type: text/markdown License-File: COPYING Requires-Dist: importlib-metadata Provides-Extra: lxml @@ -45,33 +45,43 @@ # Pygal -[](https://travis-ci.org/Kozea/pygal) +[](https://github.com/Kozea/pygal/actions/workflows/ci.yml) [](https://coveralls.io/github/Kozea/pygal?branch=master) [](https://readthedocs.org/projects/pygal/?badge=latest) -@@TOC@@ +- [Pygal](#pygal) + - [Description](#description) + - [Installation](#installation) + - [Test](#test) + - [Contribute](#contribute) + - [License](#license) ## Description **pygal** is a dynamic SVG charting library written in python. -All the documentation is on http://pygal.org +All the documentation is on [www.pygal.org](http://www.pygal.org) ## Installation -As simple as:: +As simple as: +``` $ pip install pygal +``` + ## Test -Pygal is tested with py.test:: +Pygal is tested with py.test: +``` $ pip install pytest $ py.test +``` ## Contribute @@ -89,7 +99,7 @@ ## License -Copyright © 2012-2016 Kozea +Copyright © 2012-2025 Kozea LGPLv3: This program is free software: you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal.egg-info/SOURCES.txt new/pygal-3.1.0/pygal.egg-info/SOURCES.txt --- old/pygal-3.0.5/pygal.egg-info/SOURCES.txt 2024-08-12 16:54:48.000000000 +0200 +++ new/pygal-3.1.0/pygal.egg-info/SOURCES.txt 2025-12-09 11:28:49.000000000 +0100 @@ -1,5 +1,5 @@ COPYING -README +README.md pygal_gen.py setup.py pygal/__about__.py @@ -63,6 +63,7 @@ pygal/test/test_config.py pygal/test/test_date.py pygal/test/test_formatters.py +pygal/test/test_gauge.py pygal/test/test_graph.py pygal/test/test_histogram.py pygal/test/test_interpolate.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/pygal_gen.py new/pygal-3.1.0/pygal_gen.py --- old/pygal-3.0.5/pygal_gen.py 2024-07-29 15:23:54.000000000 +0200 +++ new/pygal-3.1.0/pygal_gen.py 2025-12-09 11:11:21.000000000 +0100 @@ -3,7 +3,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygal-3.0.5/setup.py new/pygal-3.1.0/setup.py --- old/pygal-3.0.5/setup.py 2024-08-12 16:53:53.000000000 +0200 +++ new/pygal-3.1.0/setup.py 2025-12-09 11:11:21.000000000 +0100 @@ -3,7 +3,7 @@ # This file is part of pygal # # A python svg graph plotting library -# Copyright © 2012-2016 Kozea +# Copyright © 2012-2025 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free @@ -49,8 +49,8 @@ name=about['__title__'], version=about['__version__'], description=about['__summary__'], - long_description=open('README').read(), - long_description_content_type="text/x-rst", + long_description=open('README.md').read(), + long_description_content_type="text/markdown", url=about['__uri__'], author=about['__author__'], author_email=about['__email__'],
