forked from pool/python-pyclipper
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyclipper?expand=0&rev=23
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
|
3
pyclipper-1.3.0.post5.tar.gz
Normal file
3
pyclipper-1.3.0.post5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c0239f928e0bf78a3efc2f2f615a10bfcdb9f33012d46d64c8d1225b4bde7096
|
||||
size 164719
|
3
pyclipper-1.3.0.post6.tar.gz
Normal file
3
pyclipper-1.3.0.post6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:42bff0102fa7a7f2abdd795a2594654d62b786d0c6cd67b72d469114fdeb608c
|
||||
size 165909
|
81
python-pyclipper.changes
Normal file
81
python-pyclipper.changes
Normal file
@@ -0,0 +1,81 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 05:49:27 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 16:54:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.3.0.post6:
|
||||
* Build Python 3.13 wheels. No code changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 20 13:34:27 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- It is sitearch not sitelib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 20 13:16:55 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- - Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 10 21:51:01 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.3.0.post5:
|
||||
* Build Python 3.12 wheels. No code changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 06:30:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- remove obsolete setuptools_scm_git_archive requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 3 20:01:16 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 1.3.0.post4
|
||||
* Build Python 3.11 wheels. No code changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 5 00:00:18 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 1.3.0.post3
|
||||
Rebuild pre-generated cython sources in sdist package to fix build issue on Python 3.11.0 beta1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 14 09:37:10 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Extend package description
|
||||
- Remove python2 workarounds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 13 21:58:08 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.3.0post2
|
||||
* Export pyclipper.__version__ string (#40).
|
||||
* Removed long-deprecated SCALING_FACTOR global variable.
|
||||
- Relese 1.2.0
|
||||
* Release the Global Interpreter Lock (GIL) while doing more CPU
|
||||
intensive calls to ClipperLib (union, difference, intersection,
|
||||
minkowski, offset, etc), to allow Python apps to better
|
||||
parallelize when using threading (#29, #30).
|
||||
- Drop python-pyclipper-no-unittest2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 10 16:20:24 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Explain necessity of unittest2 for python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 2 15:03:59 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- drop dependency on unittest2 for python3
|
||||
- added patches
|
||||
https://github.com/fonttools/pyclipper/pull/32
|
||||
+ python-pyclipper-no-unittest2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 6 02:17:18 UTC 2020 - Xu Zhao <i@xuzhao.net>
|
||||
|
||||
- Initial commit.
|
||||
|
70
python-pyclipper.spec
Normal file
70
python-pyclipper.spec
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# spec file for package python-pyclipper
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2020 Xu Zhao (i@xuzhao.net).
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyclipper
|
||||
Version: 1.3.0.post6
|
||||
Release: 0
|
||||
Summary: Cython wrapper for the Clipper library for clipping lines and polygons
|
||||
License: MIT
|
||||
URL: https://github.com/fonttools/pyclipper
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyclipper/pyclipper-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Pyclipper is a Cython wrapper exposing public functions and classes of
|
||||
the C++ translation of the `Angus Johnson's Clipper library`, a library
|
||||
for clipping and offsetting lines and polygons.
|
||||
|
||||
The Clipper library performs line & polygon clipping - intersection,
|
||||
union, difference & exclusive-or, and line & polygon offsetting. The
|
||||
library is based on Vatti's clipping algorithm.
|
||||
|
||||
%prep
|
||||
%setup -q -n pyclipper-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%pytest_arch
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitearch}/pyclipper
|
||||
%{python_sitearch}/pyclipper-%{version}.dist-info
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user