SHA256
1
0
forked from pool/python-pygal

27 Commits

Author SHA256 Message Date
72745f2ab7 Accepting request 1284636 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1284636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=13
2025-06-11 14:19:08 +00:00
62e1ca04f7 - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=28
2025-06-11 06:18:51 +00:00
e5ecd83e47 Accepting request 1199358 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1199358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=12
2024-09-09 12:43:19 +00:00
cebef0a4c1 Accepting request 1133201 from devel:languages:python
- update to 3.0.4:
  * Missing declaration of importlib_metadata dependency in setup.py
  * Failure with tox due to missing README.md
  * Misused entry_points causing failure with Python 3.12
  * Prevent installing with Python versions < 3.8
  * Replace unmaintained pytest-flake8 with plain flake8
  * Remove Iterable import deprecation warning
  * Remove invalid escape sequence warnings in tests
  * Fix test failures due to removed pytest attribute
  * Fix linting errors with latest isort and flake8
- use packaged COPYING

  for all python flavors not just the main one

OBS-URL: https://build.opensuse.org/request/show/1133201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=11
2023-12-15 20:46:06 +00:00
3010d2dcaa - update to 3.0.4:
* Missing declaration of importlib_metadata dependency in setup.py
  * Failure with tox due to missing README.md
  * Misused entry_points causing failure with Python 3.12
  * Prevent installing with Python versions < 3.8
  * Replace unmaintained pytest-flake8 with plain flake8
  * Remove Iterable import deprecation warning
  * Remove invalid escape sequence warnings in tests
  * Fix test failures due to removed pytest attribute
  * Fix linting errors with latest isort and flake8
- use packaged COPYING
  for all python flavors not just the main one

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=24
2023-12-14 21:28:17 +00:00
3ae2ac4b42 Accepting request 1081786 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=10
2023-04-22 19:59:04 +00:00
f98287c3d6 Accepting request 1081553 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081553
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=22
2023-04-21 13:38:15 +00:00
d0af6bd826 Accepting request 1062554 from devel:languages:python
- skip python 2.x (no longer supported) and enable CairoSVG
  for all python flavors not just the main one

OBS-URL: https://build.opensuse.org/request/show/1062554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=9
2023-02-03 21:04:38 +00:00
5ae7b419f5 - skip python 2.x (no longer supported) and enable CairoSVG
for all python flavors not just the main one

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=20
2023-02-01 22:46:55 +00:00
d0cbcf765d Accepting request 937745 from devel:languages:python
- Remove unnecessary patches: pytest4.patch, pytest6.patch, and
  python38.patch.
- version update to 3.0.0
  * no upstream changelog found

OBS-URL: https://build.opensuse.org/request/show/937745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=8
2021-12-12 20:26:59 +00:00
a61c1e39ff - Remove unnecessary patches: pytest4.patch, pytest6.patch, and
python38.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=19
2021-12-09 10:20:08 +00:00
5af1fbfdde Accepting request 936468 from home:pgajdos:python
- version update to 3.0.0
  * no upstream changelog found

OBS-URL: https://build.opensuse.org/request/show/936468
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=18
2021-12-09 00:23:31 +00:00
Richard Brown
5a2a576617 Accepting request 874538 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/874538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=7
2021-03-02 13:42:21 +00:00
ef00931dfa Accepting request 874347 from home:mcalabkova:branches:devel:languages:python
- Drop broken %ifpython3

OBS-URL: https://build.opensuse.org/request/show/874347
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=16
2021-02-23 10:18:44 +00:00
452e10a95b Accepting request 830076 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/830076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=6
2020-09-04 08:59:54 +00:00
Tomáš Chvátal
b805ee04d7 Accepting request 830032 from home:mcalabkova:branches:devel:languages:python:pytest
- Add patch pytest6.patch

OBS-URL: https://build.opensuse.org/request/show/830032
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=14
2020-08-27 19:45:28 +00:00
a8063381b7 Accepting request 746026 from devel:languages:python
- Add patch pytest4.patch to make the test suite compatible with
  pytest4+ (yes, THIS is the only change necessary!).
  gh#Kozea/pygal#340

OBS-URL: https://build.opensuse.org/request/show/746026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=5
2019-11-22 09:20:23 +00:00
257931ff67 Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=12
2019-11-06 14:27:57 +00:00
3011289e7c - Add patch pytest4.patch to make the test suite compatible with
pytest4+ (yes, THIS is the only change necessary!).
  gh#Kozea/pygal#340

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=11
2019-11-06 14:21:01 +00:00
123b579741 Accepting request 717082 from devel:languages:python
- Add patch to work with python 3.8:
  * python38.patch
- Restrict pytest to < 3.0 as the testing code does not work
  upstream on anything else

OBS-URL: https://build.opensuse.org/request/show/717082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=4
2019-07-30 11:03:21 +00:00
Tomáš Chvátal
3b996b0eae - Add patch to work with python 3.8:
* python38.patch
- Restrict pytest to < 3.0 as the testing code does not work
  upstream on anything else

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=9
2019-07-19 12:35:57 +00:00
ddb3ef2147 Accepting request 688618 from devel:languages:python
- Make CairoSVG only python3 dependency and simply not provide
  the png conversion feature on python2

OBS-URL: https://build.opensuse.org/request/show/688618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=3
2019-03-29 19:37:37 +00:00
Tomáš Chvátal
020473c71e - Make CairoSVG only python3 dependency and simply not provide
the png conversion feature on python2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=7
2019-03-26 09:26:22 +00:00
510eebe2ab Accepting request 659587 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=2
2018-12-24 10:41:54 +00:00
72435d0218 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=5
2018-12-04 13:51:05 +00:00
6ddae161c8 Accepting request 612059 from devel:languages:python
A python svg graph plotting library

OBS-URL: https://build.opensuse.org/request/show/612059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygal?expand=0&rev=1
2018-06-02 10:02:39 +00:00
Todd R
5fa4b26a46 Accepting request 612006 from devel:languages:python:misc
A python svg graph plotting library

OBS-URL: https://build.opensuse.org/request/show/612006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=1
2018-05-24 20:56:47 +00:00
3 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c5da33f1041e8b30cbc980f8a34910d9edc584b833240298f6a25df65425289
size 81840

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 11 05:53:51 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Sat Aug 31 11:57:50 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pygal
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,8 +29,10 @@ BuildRequires: %{python_module CairoSVG}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyquery}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-importlib-metadata
@@ -55,10 +57,10 @@ It supports various chart types and CSS styling.
sed -Ei 's:.pytest-runner.,?::' setup.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
mv %{buildroot}%{_bindir}/pygal_gen.py %{buildroot}%{_bindir}/pygal_gen
@@ -77,6 +79,7 @@ mv %{buildroot}%{_bindir}/pygal_gen.py %{buildroot}%{_bindir}/pygal_gen
%doc README
%license COPYING
%python_alternative %{_bindir}/pygal_gen
%{python_sitelib}/*
%{python_sitelib}/pygal
%{python_sitelib}/pygal-%{version}.dist-info
%changelog