- Update to 1.7.2
* Fix for arc transforms -- use eigh instead of eig
#gh/mathandy/svgpathtools#238
* Fixed wrong length of flat quadratic bezier
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgpathtools?expand=0&rev=25
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
117
python-svgpathtools.changes
Normal file
117
python-svgpathtools.changes
Normal file
@@ -0,0 +1,117 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 4 06:52:18 UTC 2025 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 1.7.2
|
||||
* Fix for arc transforms -- use eigh instead of eig
|
||||
#gh/mathandy/svgpathtools#238
|
||||
* Fixed wrong length of flat quadratic bezier
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 9 13:55:49 UTC 2025 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Switch to pip-based build
|
||||
- Update to 1.7.1
|
||||
Fixes:
|
||||
* Rotation angle calculation when transforming arcs
|
||||
* Converting rounded rect to a d-string path
|
||||
* Floating point error in bezier bbox calculation
|
||||
* Skip end path in polyline if no dedicated end path is provided
|
||||
Changes:
|
||||
* When converting ellipses to d-string paths, use arcs by default
|
||||
* Add various new test cases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 9 11:36:43 UTC 2025 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 1.7.0
|
||||
* Hashes used by test suite are now platform-agnostic
|
||||
* Drop support for Python < 3.8
|
||||
- Enable test suite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 21 12:16:43 UTC 2023 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 1.6.1
|
||||
* Fix circles parsing to non-closed paths
|
||||
#gh/mathandy/svgpathtools#198
|
||||
* path.transform: Arc sweep is reversed by negative scale
|
||||
#gh/mathandy/svgpathtools#200
|
||||
* return error if Path.point() cannot be computed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 09:51:58 UTC 2023 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Updote to 1.6.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 20 22:11:58 UTC 2022 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 1.5.1
|
||||
* Fix float rounding error in elliptic arc radius check
|
||||
(#gh/mathandy/svgpathtools#171)
|
||||
- Disable test suite because it can only work on specific CPU
|
||||
(micro-)architectures.
|
||||
(#gh/mathandy/svgpathtools#183)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 15 15:57:45 UTC 2022 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 1.5.0
|
||||
* Fix implementation of points()
|
||||
(#gh/mathandy/svgpathtools#155)
|
||||
* Add support for rounded rectangles
|
||||
(#gh/mathandy/svgpathtools#161)
|
||||
* Fix Document.add_path for empty groups
|
||||
(#gh/mathandy/svgpathtools#170)
|
||||
* Allow file-like object as input to Documents ctor and
|
||||
svg2paths function
|
||||
* Add convenience functions for converting svgs contained in a
|
||||
string to paths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 23 06:11:31 UTC 2021 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 1.4.4
|
||||
* Fix issue with filenames with no directory causing error
|
||||
- No notable changes in 1.4.3
|
||||
- Changes in 1.4.2:
|
||||
* Hashable Path objects, and more.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 13 08:13:15 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- skip python 3.6 (scipy)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 16 04:22:58 UTC 2020 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 1.4.1
|
||||
* Added clipping to work around floating point error in
|
||||
Arc._parameterize
|
||||
* Support flattening SVG groups and handling transforms
|
||||
* save() now requires filename
|
||||
* Better implementation of Arc.intersect(Line)
|
||||
* Fixed issue with viewbox being written as tuple
|
||||
* Added paths2Drawing functionality
|
||||
* Update Path.area to work with Arc segments
|
||||
* When cx and cy attributes are not defined either in ellipse
|
||||
or circle tag, consider both to be 0
|
||||
* Fix Arc.sweep when transform scale flips it around
|
||||
* Relative path support
|
||||
* Fixed crash in line2paths()
|
||||
* Support flattening paths of only nested groups
|
||||
* Add Path.is_contained_by() to check if one path is inside
|
||||
another
|
||||
* Fix Arc/Arch intersections
|
||||
* Add Path.attributes and Path.meta attributes
|
||||
* Fix polyline and polygon conversion
|
||||
* Document now stores element and transform in path
|
||||
* Renamed Document.flatten_all_paths to flattened_paths
|
||||
* Added vectorized points() method for bezier segments
|
||||
* Sped up randialrange for Line objects
|
||||
* Fix paths-data-12-t.svg from the SVG 1.1 test suite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 23 14:19:06 UTC 2020 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- init, 1.3.3
|
||||
63
python-svgpathtools.spec
Normal file
63
python-svgpathtools.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# spec file for package python-svgpathtools
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-svgpathtools
|
||||
Version: 1.7.2
|
||||
Release: 0
|
||||
Summary: Tools for manipulating and analyzing SVG Path objects and Bézier curves
|
||||
License: MIT
|
||||
URL: https://github.com/mathandy/svgpathtools
|
||||
Source: https://files.pythonhosted.org/packages/source/s/svgpathtools/svgpathtools-%{version}.tar.gz
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module scipy}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module svgwrite}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-numpy
|
||||
Requires: python-scipy
|
||||
Requires: python-svgwrite
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Svgpathtools is a collection of tools for manipulating and
|
||||
analyzing SVG Path objects and Bézier curves.
|
||||
|
||||
%prep
|
||||
%setup -q -n svgpathtools-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt LICENSE2.txt
|
||||
%doc README.md
|
||||
%{python_sitelib}/svgpathtools*
|
||||
|
||||
%changelog
|
||||
3
svgpathtools-1.7.1.tar.gz
Normal file
3
svgpathtools-1.7.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:beaef20fd78164aa5f0a7d4fd164ef20cb0d3d015cdec50c8c168e9d6547f041
|
||||
size 2135227
|
||||
3
svgpathtools-1.7.2.tar.gz
Normal file
3
svgpathtools-1.7.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5974daba24825e22f284ea10aa980d7d6f77a1ca55d914d80283e3ea8a7ac450
|
||||
size 2136092
|
||||
Reference in New Issue
Block a user