From 58a46b868f187706db84cea519df21b5de9ae500 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 5 Jan 2023 21:32:51 +0100 Subject: [PATCH] - updated to 4.38.0 --- fonttools.spec | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/fonttools.spec b/fonttools.spec index be4c9ca..a6e55a0 100644 --- a/fonttools.spec +++ b/fonttools.spec @@ -6,7 +6,7 @@ Summary: A tool to convert TrueType/OpenType fonts to XML and back Summary(pl.UTF-8): Narzędzie do konwersji fontów TrueType/OpenType do/z XML-a Name: fonttools -Version: 4.31.2 +Version: 4.38.0 Release: 1 # basic license is BSD # FontTools includes Adobe AGL & AGLFN, which is under 3-clauses BSD license @@ -14,33 +14,36 @@ License: MIT, BSD Group: Development/Tools #Source0Download: https://github.com/fonttools/fonttools/releases Source0: https://github.com/fonttools/fonttools/archive/%{version}/%{name}-%{version}.tar.gz -# Source0-md5: c925704fee22c5d87f2625c7cd8b8247 +# Source0-md5: 2e225e2db5bb8541419a2232474dc9a4 URL: https://github.com/fonttools/fonttools %if %(locale -a | grep -q '^C\.utf8$'; echo $?) BuildRequires: glibc-localedb-all %endif +BuildRequires: python3-Cython BuildRequires: python3-devel >= 1:3.7 %if %{with tests} BuildRequires: python3-brotli >= 1.0.9 -#BuildRequires: python3-freetype-py >= 2.2.0 -BuildRequires: python3-fs >= 2.4.14 +#BuildRequires: python3-freetype-py >= 2.3.0 +BuildRequires: python3-fs >= 2.4.16 BuildRequires: python3-fs < 3 BuildRequires: python3-lxml >= 4 BuildRequires: python3-lxml < 5 BuildRequires: python3-lz4 >= 1.7.4.2 BuildRequires: python3-matplotlib BuildRequires: python3-pytest >= 3.0 +# >= 1.9.1? BuildRequires: python3-scipy >= 1.7.3 BuildRequires: python3-skia-pathops >= 0.7.2 BuildRequires: python3-sympy -#BuildRequires: python3-ufoLib2 >= 0.13.0 -%if "%{py3_ver}" < "3.9" +#BuildRequires: python3-ufoLib2 >= 0.13.1 +#BuildRequires: python3-uharfbuzz >= 0.30.0 +%if "%{ver_lt '%{py3_ver}' '3.11'}" == "1" BuildRequires: python3-unicodedata2 >= 14.0.0 %endif -#BuildRequires: python3-zopfli >= 0.1.9 +BuildRequires: python3-zopfli >= 0.2.1 %endif BuildRequires: rpm-build >= 4.6 -BuildRequires: rpmbuild(macros) >= 1.714 +BuildRequires: rpmbuild(macros) >= 1.750 %if %{with doc} # preferred versions: reportlab 3.6.3, sphinx_rtd_theme 1.0.0, Sphinx 4.3.1 BuildRequires: python3-ReportLab >= 3.5 @@ -69,8 +72,8 @@ Summary: Python 3 tools to manipulate font files Summary(pl.UTF-8): Narzędzia do manipulacji na plikach fontów dla Pythona 3 Group: Libraries/Python Requires: python3-modules >= 1:3.7 -%if "%{py3_ver}" < "3.9" -Requires: python3-unicodedata2 >= 13.0.0.post2 +%if "%{ver_lt '%{py3_ver}' '3.11'}" == "1" +Requires: python3-unicodedata2 >= 14.0.0 %endif %description -n python3-fonttools @@ -137,6 +140,7 @@ rm -rf $RPM_BUILD_ROOT %{py3_sitedir}/fontTools/__pycache__ %{py3_sitedir}/fontTools/cffLib %{py3_sitedir}/fontTools/colorLib +%{py3_sitedir}/fontTools/config %dir %{py3_sitedir}/fontTools/cu2qu %attr(755,root,root) %{py3_sitedir}/fontTools/cu2qu/cu2qu.cpython-*.so %{py3_sitedir}/fontTools/cu2qu/*.py -- 2.43.0