- 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
This commit is contained in:
Dirk Mueller 2023-02-01 22:46:55 +00:00 committed by Git OBS Bridge
parent a61c1e39ff
commit 5ae7b419f5
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 1 22:46:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- skip python 2.x (no longer supported) and enable CairoSVG
for all python flavors not just the main one
-------------------------------------------------------------------
Thu Dec 9 10:19:36 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pygal
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%global skip_python2 1
Name: python-pygal
Version: 3.0.0
Release: 0
@ -26,13 +27,13 @@ Group: Development/Languages/Python
URL: http://pygal.org/
Source: https://files.pythonhosted.org/packages/source/p/pygal/pygal-%{version}.tar.gz
Source10: https://raw.githubusercontent.com/Kozea/pygal/%{version}/COPYING
BuildRequires: %{python_module CairoSVG}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pyquery}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-CairoSVG
Requires: python-lxml
Requires(post): update-alternatives
Requires(postun):update-alternatives