Scour is a Python script that aggressively cleans SVG files, removing
a lot of "cruft" that certain tools or authors embed into their
documents.
The goal of scour is to provide an identically rendered image.
Provides
Requires
License
Apache-2.0
Changelog
* Thu Jun 12 2025 Markéta Machová <mmachova@suse.com>
- Convert to pip-based build and libalternatives
* Tue Jun 06 2023 pgajdos@suse.com
- drop python 2 support, do not require six
- added patches
https://github.com/scour-project/scour/pull/306
+ python-scour-no-python2.patch
* Mon Nov 08 2021 Dirk Müller <dmueller@suse.com>
- add dependency to xml library
* Mon Nov 08 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 01 2019 Tomáš Chvátal <tchvatal@suse.com>
- Conflict with old scour to avoid conflict on /usr/bin/scour
* Thu Mar 28 2019 Tomáš Chvátal <tchvatal@suse.com>
- Run spec-cleaner to remove few whitespacing problems
* Tue Mar 26 2019 pgajdos@suse.com
- require six >= 1.9.0
* Mon Mar 25 2019 pgajdos@suse.com
- 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
* Mon Feb 06 2017 jengelh@inai.de
- Update description and RPM group
* Sat Jan 07 2017 i@marguerite.su
- update SOURCE URL
Files
/usr/bin/scour
/usr/bin/scour-3.11
/usr/lib/python3.11/site-packages/scour
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/METADATA
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/RECORD
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/WHEEL
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/entry_points.txt
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/licenses
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/licenses/LICENSE
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/top_level.txt
/usr/lib/python3.11/site-packages/scour-0.38.2.dist-info/zip-safe
/usr/lib/python3.11/site-packages/scour/__init__.py
/usr/lib/python3.11/site-packages/scour/__pycache__
/usr/lib/python3.11/site-packages/scour/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/scour.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/scour.cpython-311.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/svg_regex.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/svg_regex.cpython-311.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/svg_transform.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/svg_transform.cpython-311.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/yocto_css.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/scour/__pycache__/yocto_css.cpython-311.pyc
/usr/lib/python3.11/site-packages/scour/scour.py
/usr/lib/python3.11/site-packages/scour/svg_regex.py
/usr/lib/python3.11/site-packages/scour/svg_transform.py
/usr/lib/python3.11/site-packages/scour/yocto_css.py
/usr/shar