- 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:
parent
a61c1e39ff
commit
5ae7b419f5
@ -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>
|
Thu Dec 9 10:19:36 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pygal
|
# 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
|
# 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,7 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
|
%global skip_python2 1
|
||||||
Name: python-pygal
|
Name: python-pygal
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,13 +27,13 @@ Group: Development/Languages/Python
|
|||||||
URL: http://pygal.org/
|
URL: http://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
|
||||||
Source10: https://raw.githubusercontent.com/Kozea/pygal/%{version}/COPYING
|
Source10: https://raw.githubusercontent.com/Kozea/pygal/%{version}/COPYING
|
||||||
|
BuildRequires: %{python_module CairoSVG}
|
||||||
BuildRequires: %{python_module Flask}
|
BuildRequires: %{python_module Flask}
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
BuildRequires: %{python_module pyquery}
|
BuildRequires: %{python_module pyquery}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-CairoSVG
|
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
|
Loading…
Reference in New Issue
Block a user