Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6b0dd59487 | |||
| a5a353ecef | |||
| 094e5e5092 | |||
| 3597409f93 | |||
| f246b6e2f1 | |||
| a842743509 |
@@ -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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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}
|
||||
Name: python-pygal
|
||||
Version: 3.0.4
|
||||
Version: 3.0.5
|
||||
Release: 0
|
||||
Summary: A python svg graph plotting library
|
||||
License: LGPL-3.0-or-later
|
||||
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
|
||||
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
|
||||
Requires: python-lxml
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Recommends: python-CairoSVG
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
@@ -55,10 +67,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
|
||||
@@ -73,10 +85,14 @@ mv %{buildroot}%{_bindir}/pygal_gen.py %{buildroot}%{_bindir}/pygal_gen
|
||||
%postun
|
||||
%python_uninstall_alternative pygal_gen
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative pygal_gen
|
||||
|
||||
%files %{python_files}
|
||||
%doc README
|
||||
%license COPYING
|
||||
%python_alternative %{_bindir}/pygal_gen
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pygal
|
||||
%{python_sitelib}/pygal-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user