14
0
Tomáš Chvátal
2020-05-26 09:18:19 +00:00
committed by Git OBS Bridge
parent 3a1bc9255f
commit abea41a1d8

View File

@@ -17,13 +17,11 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-ufoProcessor Name: python-ufoProcessor
Version: 1.9.0 Version: 1.9.0
Release: 0 Release: 0
Summary: Read, write and generate UFOs with designspace data Summary: Read, write and generate UFOs with designspace data
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/LettError/ufoProcessor URL: https://github.com/LettError/ufoProcessor
Source: https://files.pythonhosted.org/packages/source/u/ufoProcessor/ufoProcessor-%{version}.zip Source: https://files.pythonhosted.org/packages/source/u/ufoProcessor/ufoProcessor-%{version}.zip
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
@@ -31,21 +29,21 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
Requires: python-FontTools >= 3.32.0
Requires: python-defcon >= 0.6.0 Requires: python-defcon >= 0.6.0
Requires: python-fontMath >= 0.4.9 Requires: python-fontMath >= 0.4.9
Requires: python-fontParts >= 0.8.2 Requires: python-fontParts >= 0.8.2
Requires: python-fontPens >= 0.1.0 Requires: python-fontPens >= 0.1.0
Requires: python-fonttools >= 3.32.0
Requires: python-lxml >= 4.0 Requires: python-lxml >= 4.0
Requires: python-mutatorMath >= 2.1.2 Requires: python-mutatorMath >= 2.1.2
Requires: python-unicodedata2 >= 13.0 Requires: python-unicodedata2 >= 13.0
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module FontTools >= 3.32.0}
BuildRequires: %{python_module defcon >= 0.6.0} BuildRequires: %{python_module defcon >= 0.6.0}
BuildRequires: %{python_module fontMath >= 0.4.9} BuildRequires: %{python_module fontMath >= 0.4.9}
BuildRequires: %{python_module fontParts >= 0.8.2} BuildRequires: %{python_module fontParts >= 0.8.2}
BuildRequires: %{python_module fontPens >= 0.1.0} BuildRequires: %{python_module fontPens >= 0.1.0}
BuildRequires: %{python_module fonttools >= 3.32.0}
BuildRequires: %{python_module lxml >= 4.0} BuildRequires: %{python_module lxml >= 4.0}
BuildRequires: %{python_module mutatorMath >= 2.1.2} BuildRequires: %{python_module mutatorMath >= 2.1.2}
BuildRequires: %{python_module unicodedata2 >= 13.0} BuildRequires: %{python_module unicodedata2 >= 13.0}
@@ -66,8 +64,7 @@ Read, write and generate UFOs with designspace data.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
export PYTHONPATH=./Lib %python_expand PYTHONPATH=./Lib $python Tests/tests.py
%python_expand $python Tests/tests.py
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md