|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
%global _without_tests 1
|
|
|
|
|
%global pypi_name fonttools
|
|
|
|
|
%global desc \
|
|
|
|
|
fontTools is a library for manipulating fonts, written in Python. The project \
|
|
|
|
@ -6,14 +7,14 @@ from an XML text format, which is also called TTX. It supports TrueType, \
|
|
|
|
|
OpenType, AFM and to an extent Type 1 and some Mac-specific formats.
|
|
|
|
|
|
|
|
|
|
Name: fonttools
|
|
|
|
|
Version: 4.38.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 4.46.0
|
|
|
|
|
Release: 1.0.riscv64%{?dist}
|
|
|
|
|
Summary: Tools to manipulate font files
|
|
|
|
|
|
|
|
|
|
# https://spdx.org/licenses/MIT.html
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/fonttools/fonttools/
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Requires: python3-fonttools
|
|
|
|
|
Requires: python3-setuptools
|
|
|
|
@ -33,7 +34,6 @@ BuildRequires: python3-Cython
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
Requires: python3-brotli
|
|
|
|
|
Requires: python3-munkres
|
|
|
|
|
Requires: python3-lxml
|
|
|
|
|
Requires: python3-scipy
|
|
|
|
|
Requires: python3-fs
|
|
|
|
@ -42,14 +42,15 @@ Requires: python3-fs
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
# Need to run test files in %%check
|
|
|
|
|
BuildRequires: python3-zopfli
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-brotli
|
|
|
|
|
BuildRequires: python3-munkres
|
|
|
|
|
BuildRequires: python3-scipy
|
|
|
|
|
BuildRequires: python3-fs
|
|
|
|
|
BuildRequires: python3-lxml
|
|
|
|
|
%if %{undefined rhel}
|
|
|
|
|
BuildRequires: python3-ufoLib2
|
|
|
|
|
BuildRequires: python3-zopfli
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# From 3.31.0 and on, python3-fonttools incorporated the ufolib project under fontTools.ufoLib
|
|
|
|
@ -79,7 +80,7 @@ export FONTTOOLS_WITH_CYTHON=1
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%check
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} -m pytest --ignore Tests/otlLib/optimize_test.py --ignore Tests/varLib/merger_test.py --ignore Tests/varLib/varLib_test.py
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} -m pytest --ignore Tests/otlLib/optimize_test.py --ignore Tests/varLib/merger_test.py --ignore Tests/varLib/varLib_test.py --ignore Tests/svgLib/path/path_test.py
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -96,6 +97,69 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} -m pytest --ignore Tests/o
|
|
|
|
|
%{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Dec 07 2023 David Abdurachmanov <davidlt@rivosinc.com> - 4.46.0-1.0.riscv64
|
|
|
|
|
- Bootstrap for Python 3.12 (riscv64)
|
|
|
|
|
|
|
|
|
|
* Tue Dec 05 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.46.0-1
|
|
|
|
|
- Update to 4.46.0 version (#2252586)
|
|
|
|
|
|
|
|
|
|
* Fri Dec 01 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.45.1-1
|
|
|
|
|
- Update to 4.45.1 version (#2250746)
|
|
|
|
|
|
|
|
|
|
* Thu Nov 16 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.44.3-1
|
|
|
|
|
- Update to 4.44.3 version (#2249771)
|
|
|
|
|
|
|
|
|
|
* Sun Nov 12 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.44.0-1
|
|
|
|
|
- Update to 4.44.0 version (#2247927)
|
|
|
|
|
|
|
|
|
|
* Sun Oct 08 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.43.1-1
|
|
|
|
|
- Update to 4.43.1 version (#2241574)
|
|
|
|
|
|
|
|
|
|
* Tue Aug 22 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.42.1-1
|
|
|
|
|
- Update to 4.42.1 version (#2232931)
|
|
|
|
|
|
|
|
|
|
* Wed Aug 09 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.42.0-2
|
|
|
|
|
- Skip unwanted test dependencies in RHEL builds
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.42.0-1
|
|
|
|
|
- Update to 4.42.0 version (#2228656)
|
|
|
|
|
|
|
|
|
|
* Mon Jul 24 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.41.1-1
|
|
|
|
|
- Update to 4.41.1 version (#2224718)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.41.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 14 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.41.0-1
|
|
|
|
|
- Update to 4.41.0 version (#2222762)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 07 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.40.0-3
|
|
|
|
|
- Help msuchy to count this package as already using SPDX license expression
|
|
|
|
|
|
|
|
|
|
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 4.40.0-2
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Sun Jun 18 2023 Benson Muite <benson_muite@emailplus.org> - 4.40.0-1
|
|
|
|
|
- Update to 4.40.0 version
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.39.4-2
|
|
|
|
|
- Bootstrap for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Thu May 11 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.39.4-1
|
|
|
|
|
- Update to 4.39.4 version (#2198487)
|
|
|
|
|
|
|
|
|
|
* Wed Mar 29 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.39.3-1
|
|
|
|
|
- Update to 4.39.3 version (#2182480)
|
|
|
|
|
|
|
|
|
|
* Mon Mar 20 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.39.2-1
|
|
|
|
|
- Update to 4.39.2 version (#2179416)
|
|
|
|
|
|
|
|
|
|
* Tue Mar 07 2023 Parag Nemade <pnemade AT redhat DOT com> - 4.39.0-1
|
|
|
|
|
- Update to 4.39.0 version (#2176001)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.38.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Oct 24 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.38.0-1
|
|
|
|
|
- Update to 4.38.0 version (#2137001)
|
|
|
|
|
|
|
|
|
|