15
0

6 Commits

Author SHA256 Message Date
f81b384955 Accepting request 1298892 from devel:languages:python
- Make the libalternatives transition conditional

OBS-URL: https://build.opensuse.org/request/show/1298892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=16
2025-08-13 14:22:44 +00:00
9c576924fd - Make the libalternatives transition conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=37
2025-08-11 15:18:38 +00:00
aeecc2df56 Accepting request 1286312 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1286312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=15
2025-06-18 17:29:55 +00:00
6b9b95fe7c - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=35
2025-06-17 09:23:40 +00:00
30fd5d43bc Accepting request 1266348 from devel:languages:python
- Switch to autosetup and pyproject macros.
- Add patch use-underscore-in-setup.cfg.patch:
  * Use 'console_scripts' in setup.cfg.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1266348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CairoSVG?expand=0&rev=14
2025-04-11 14:45:18 +00:00
673d18a803 - Switch to autosetup and pyproject macros.
- Add patch use-underscore-in-setup.cfg.patch:
  * Use 'console_scripts' in setup.cfg.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=33
2025-04-02 03:01:31 +00:00
2 changed files with 23 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Aug 11 15:17:37 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make the libalternatives transition conditional
-------------------------------------------------------------------
Tue Jun 17 09:23:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Wed Apr 2 03:00:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -16,6 +16,11 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-CairoSVG
Version: 2.7.1
@@ -41,8 +46,13 @@ Requires: python-cairocffi
Requires: python-cssselect2
Requires: python-defusedxml
Requires: python-tinycss2
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
BuildArch: noarch
%python_subpackages
@@ -71,6 +81,9 @@ sed -i setup.cfg \
%check
%pytest
%pre
%python_libalternatives_reset_alternative cairosvg
%post
%python_install_alternative cairosvg