forked from pool/python-pygal
Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| df22236f74 | |||
| e5ecd83e47 | |||
| b82b8c2b6e |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6c5da33f1041e8b30cbc980f8a34910d9edc584b833240298f6a25df65425289
|
|
||||||
size 81840
|
|
||||||
BIN
pygal-3.0.5.tar.gz
LFS
Normal file
BIN
pygal-3.0.5.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 25 09:51:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- update to 3.0.5:
|
||||||
|
* Get rid of the u() helper function
|
||||||
|
* Get rid of the to_unicode() helper function
|
||||||
|
* Get rid of the to_str() helper function
|
||||||
|
* Get rid of _ellipsis and base
|
||||||
|
* Always import Iterable from collections.abc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 14 21:24:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Dec 14 21:24:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pygal
|
# spec file for package python-pygal
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,29 +16,41 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pygal
|
Name: python-pygal
|
||||||
Version: 3.0.4
|
Version: 3.0.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A python svg graph plotting library
|
Summary: A python svg graph plotting library
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://pygal.org/
|
URL: https://pygal.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pygal/pygal-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pygal/pygal-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module CairoSVG}
|
BuildRequires: %{python_module CairoSVG}
|
||||||
BuildRequires: %{python_module Flask}
|
BuildRequires: %{python_module Flask}
|
||||||
BuildRequires: %{python_module importlib-metadata}
|
BuildRequires: %{python_module importlib-metadata}
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pyquery}
|
BuildRequires: %{python_module pyquery}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-importlib-metadata
|
Requires: python-importlib-metadata
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
Recommends: python-CairoSVG
|
Recommends: python-CairoSVG
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@@ -55,10 +67,10 @@ It supports various chart types and CSS styling.
|
|||||||
sed -Ei 's:.pytest-runner.,?::' setup.py
|
sed -Ei 's:.pytest-runner.,?::' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
mv %{buildroot}%{_bindir}/pygal_gen.py %{buildroot}%{_bindir}/pygal_gen
|
mv %{buildroot}%{_bindir}/pygal_gen.py %{buildroot}%{_bindir}/pygal_gen
|
||||||
@@ -73,10 +85,14 @@ mv %{buildroot}%{_bindir}/pygal_gen.py %{buildroot}%{_bindir}/pygal_gen
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pygal_gen
|
%python_uninstall_alternative pygal_gen
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative pygal_gen
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README
|
%doc README
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%python_alternative %{_bindir}/pygal_gen
|
%python_alternative %{_bindir}/pygal_gen
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pygal
|
||||||
|
%{python_sitelib}/pygal-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user