Hello community, here is the log from the commit of package python-scour for openSUSE:Factory checked in at 2019-04-02 09:22:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scour (Old) and /work/SRC/openSUSE:Factory/.python-scour.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scour" Tue Apr 2 09:22:12 2019 rev:10 rq:690315 version:0.37 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scour/python-scour.changes 2017-02-07 12:08:02.282823482 +0100 +++ /work/SRC/openSUSE:Factory/.python-scour.new.25356/python-scour.changes 2019-04-02 09:22:15.620708115 +0200 @@ -1,0 +2,36 @@ +Mon Apr 1 10:37:32 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Conflict with old scour to avoid conflict on /usr/bin/scour + +------------------------------------------------------------------- +Thu Mar 28 10:09:19 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Run spec-cleaner to remove few whitespacing problems + +------------------------------------------------------------------- +Tue Mar 26 14:11:52 UTC 2019 - [email protected] + +- require six >= 1.9.0 + +------------------------------------------------------------------- +Mon Mar 25 14:54:43 UTC 2019 - [email protected] + +- version update to 0.37 + * Fix escaping of quotes in attribute values. + * A lot of performance improvements. + * Fix exception when removing duplicated gradients while + `--keep-unreferenced-defs` is used. + * Remove some illegal optimizations of `m0 0` sub-path commands. + * Fix and improve handling of boolean flags in elliptical arc path + commands. + * Fix exception when using two-number forms of the filter attributes + `baseFrequency`, `order`, `radius` and `stdDeviation`. + * Improve whitespace handling in text nodes fixing an issue where + scouring added spaces in error and reducing file size in many cases. + * Drop official support for Python 3.3. +- etc. see HISTORY.md for details. +- build also python3 variant +- run unit tests +- package LICENSE and *.md + +------------------------------------------------------------------- Old: ---- scour-0.35.tar.gz New: ---- scour-0.37.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scour.spec ++++++ --- /var/tmp/diff_new_pack.HJ3KhO/_old 2019-04-02 09:22:16.104708439 +0200 +++ /var/tmp/diff_new_pack.HJ3KhO/_new 2019-04-02 09:22:16.112708445 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-scour # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,32 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define oldpython python +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-scour -Version: 0.35 +Version: 0.37 Release: 0 Summary: An SVG scrubber License: Apache-2.0 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 -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-setuptools +Requires: python-six >= 1.9.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives +Conflicts: %{oldpython}-scour < 0.37 Provides: scour = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description Scour is a Python script that aggressively cleans SVG files, removing @@ -44,20 +47,30 @@ %prep %setup -q -n scour-%{version} -# fix end of line encoding -sed -i 's/\r$//' scour/scour.py # remove unwanted shebang sed -i '/^#!/ d' scour/{scour.py,yocto_css.py,svg_transform.py} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} - -%files -%defattr(-,root,root) -%{_bindir}/scour +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_clone -a %{buildroot}%{_bindir}/scour + +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python testscour.py + +%post +%python_install_alternative scour + +%postun +%python_uninstall_alternative scour + +%files %{python_files} +%license LICENSE +%doc *.md +%python_alternative %{_bindir}/scour %{python_sitelib}/scour/ %{python_sitelib}/scour-*.egg-info ++++++ scour-0.35.tar.gz -> scour-0.37.tar.gz ++++++ ++++ 12151 lines of diff (skipped)
