14
0

- Switch to pyproject macros.

- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ufoProcessor?expand=0&rev=8
This commit is contained in:
2025-06-12 05:09:54 +00:00
committed by Git OBS Bridge
commit 500a63f90a
5 changed files with 125 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,20 @@
-------------------------------------------------------------------
Thu Jun 12 05:07:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Wed Mar 17 15:11:55 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Add missing BR python-fs
-------------------------------------------------------------------
Sat Feb 13 10:16:12 UTC 2021 - Dirk Müller <dmueller@suse.com>
- skip python 3.6 build (no scipy)
-------------------------------------------------------------------
Wed May 20 09:48:04 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- Initial release of python-ufoProcessor

78
python-ufoProcessor.spec Normal file
View File

@@ -0,0 +1,78 @@
#
# spec file for package python-ufoProcessor
#
# Copyright (c) 2025 SUSE LLC
#
# 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/
#
%global skip_python36 1
Name: python-ufoProcessor
Version: 1.9.0
Release: 0
Summary: Read, write and generate UFOs with designspace data
License: MIT
URL: https://github.com/LettError/ufoProcessor
Source: https://files.pythonhosted.org/packages/source/u/ufoProcessor/ufoProcessor-%{version}.zip
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-FontTools >= 3.32.0
Requires: python-defcon >= 0.6.0
Requires: python-fontMath >= 0.4.9
Requires: python-fontParts >= 0.8.2
Requires: python-fontPens >= 0.1.0
Requires: python-lxml >= 4.0
Requires: python-mutatorMath >= 2.1.2
Requires: python-unicodedata2 >= 13.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module FontTools >= 3.32.0}
BuildRequires: %{python_module defcon >= 0.6.0}
BuildRequires: %{python_module fontMath >= 0.4.9}
BuildRequires: %{python_module fontParts >= 0.8.2}
BuildRequires: %{python_module fontPens >= 0.1.0}
BuildRequires: %{python_module fs}
BuildRequires: %{python_module lxml >= 4.0}
BuildRequires: %{python_module mutatorMath >= 2.1.2}
BuildRequires: %{python_module unicodedata2 >= 13.0}
# /SECTION
%python_subpackages
%description
Read, write and generate UFOs with designspace data.
%prep
%setup -q -n ufoProcessor-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=./Lib $python Tests/tests.py
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/ufoProcessor
%{python_sitelib}/ufo[Pp]rocessor-%{version}.dist-info
%changelog

3
ufoProcessor-1.9.0.zip Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:baa8bd9bbbb11ce004647eb1906105f4d5bfdbc1b3388ca4d36fab57950a415b
size 70066