forked from pool/python-ufoProcessor
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ufoProcessor?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
3a1bc9255f
commit
abea41a1d8
@@ -17,13 +17,11 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-ufoProcessor
|
||||
Version: 1.9.0
|
||||
Release: 0
|
||||
Summary: Read, write and generate UFOs with designspace data
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/LettError/ufoProcessor
|
||||
Source: https://files.pythonhosted.org/packages/source/u/ufoProcessor/ufoProcessor-%{version}.zip
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
@@ -31,21 +29,21 @@ BuildRequires: %{python_module setuptools}
|
||||
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-fonttools >= 3.32.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 fonttools >= 3.32.0}
|
||||
BuildRequires: %{python_module lxml >= 4.0}
|
||||
BuildRequires: %{python_module mutatorMath >= 2.1.2}
|
||||
BuildRequires: %{python_module unicodedata2 >= 13.0}
|
||||
@@ -66,8 +64,7 @@ Read, write and generate UFOs with designspace data.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export PYTHONPATH=./Lib
|
||||
%python_expand $python Tests/tests.py
|
||||
%python_expand PYTHONPATH=./Lib $python Tests/tests.py
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Reference in New Issue
Block a user