forked from pool/python-scour
- update to 0.38.2:
* Fix another regression caused by new feature to merge sibling groups * Fix regression caused by new feature to merge sibling groups * Fix issue with dropping xlink:href attribute when collapsing referenced gradients * Fix issue with dropping ID while de-duplicating gradients * Improve `--shorten-ids` so it re-maps IDs that are already used in the document if they're shorter * Fix whitespace handling for SVG 1.2 flowed text * Improvement: Merge sibling `<g>` nodes with identical attributes * Improve performance of XML serialization * Improve performance of gradient de-duplication * Some general performance improvements OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-scour?expand=0&rev=18
This commit is contained in:
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 8 10:23:19 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.38.2:
|
||||||
|
* Fix another regression caused by new feature to merge sibling groups
|
||||||
|
* Fix regression caused by new feature to merge sibling groups
|
||||||
|
* Fix issue with dropping xlink:href attribute when collapsing referenced gradients
|
||||||
|
* Fix issue with dropping ID while de-duplicating gradients
|
||||||
|
* Improve `--shorten-ids` so it re-maps IDs that are already used in the
|
||||||
|
document if they're shorter
|
||||||
|
* Fix whitespace handling for SVG 1.2 flowed text
|
||||||
|
* Improvement: Merge sibling `<g>` nodes with identical attributes
|
||||||
|
* Improve performance of XML serialization
|
||||||
|
* Improve performance of gradient de-duplication
|
||||||
|
* Some general performance improvements
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 1 10:37:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Mon Apr 1 10:37:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-scour
|
# spec file for package python-scour
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 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
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%define oldpython python
|
%define oldpython python
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-scour
|
Name: python-scour
|
||||||
Version: 0.37
|
Version: 0.38.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An SVG scrubber
|
Summary: An SVG scrubber
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -27,13 +27,14 @@ Group: Productivity/Graphics/Other
|
|||||||
URL: https://github.com/oberstet/scour
|
URL: https://github.com/oberstet/scour
|
||||||
Source: https://github.com/scour-project/scour/archive/v%{version}/scour-%{version}.tar.gz
|
Source: https://github.com/scour-project/scour/archive/v%{version}/scour-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires: python-six >= 1.9.0
|
Requires: python-six >= 1.9.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
Conflicts: %{oldpython}-scour < 0.37
|
Conflicts: %{oldpython}-scour < 0.37
|
||||||
Provides: scour = %{version}
|
Provides: scour = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -59,7 +60,7 @@ sed -i '/^#!/ d' scour/{scour.py,yocto_css.py,svg_transform.py}
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/scour
|
%python_clone -a %{buildroot}%{_bindir}/scour
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python testscour.py
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python test_scour.py
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative scour
|
%python_install_alternative scour
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4fcb961586d8a6d98ac9343ca5647421b98fdc79b51d81a1d3d18576b7908823
|
|
||||||
size 95478
|
|
3
scour-0.38.2.tar.gz
Normal file
3
scour-0.38.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:26166de53d9da3eccc52570bf8c2853e60efefd9e90e26fdfc7124fe0bd873af
|
||||||
|
size 99910
|
Reference in New Issue
Block a user