Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-FontTools for openSUSE:Factory checked in at 2023-02-23 16:28:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-FontTools (Old) and /work/SRC/openSUSE:Factory/.python-FontTools.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-FontTools" Thu Feb 23 16:28:07 2023 rev:17 rq:1067091 version:4.38.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-FontTools/python-FontTools.changes 2022-11-23 09:47:38.802897550 +0100 +++ /work/SRC/openSUSE:Factory/.python-FontTools.new.1706/python-FontTools.changes 2023-02-23 16:34:06.858351319 +0100 @@ -1,0 +2,8 @@ +Thu Feb 16 17:55:48 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Dependencies for testing on sympy and ufoLib2 are actually not + necessary (the test suite automatically skips affected tests), + and scipy could be replaced by much less demanding munkres + package. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-FontTools.spec ++++++ --- /var/tmp/diff_new_pack.PjGhfW/_old 2023-02-23 16:34:07.334354037 +0100 +++ /var/tmp/diff_new_pack.PjGhfW/_new 2023-02-23 16:34:07.338354060 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,7 +44,7 @@ # some packages should require fonttools[ufo] but expect fs to be pulled in by default. Requires: python-fs >= 2.2.0 Recommends: python-lxml >= 4.0 -Recommends: python-scipy >= 1.5.1 +Recommends: python-munkres >= 1.1.4 Recommends: python-sympy Recommends: python-unicodedata2 >= 14.0.0 Recommends: python-zopfli >= 0.1.6 @@ -55,10 +55,8 @@ %if %{with test} BuildRequires: %{python_module Brotli >= 1.0.1} BuildRequires: %{python_module fs >= 2.2.0} +BuildRequires: %{python_module munkres >= 1.1.4} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module scipy >= 1.5.1} -BuildRequires: %{python_module sympy} -BuildRequires: %{python_module ufoLib2 >= 0.6.2} BuildRequires: %{python_module zopfli >= 0.1.6} %endif %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" @@ -77,7 +75,8 @@ convert TrueType fonts to an XML based format (called TTX) and back. %prep -%setup -q -n fonttools-%{version} +%autosetup -p1 -n fonttools-%{version} + # Remove shebang sed -i -e '/^#!\//, 1d' Lib/fontTools/mtiLib/__init__.py @@ -85,7 +84,6 @@ %python_build %install -%if "%{flavor}" != "test" %python_install %python_clone -a %{buildroot}%{_mandir}/man1/ttx.1 %python_clone -a %{buildroot}%{_bindir}/ttx @@ -93,15 +91,20 @@ %python_clone -a %{buildroot}%{_bindir}/pyftmerge %python_clone -a %{buildroot}%{_bindir}/fonttools %python_expand %fdupes %{buildroot}%{$python_sitelib} -%endif %if %{with test} %check export LANG=en_US.UTF-8 %pytest -ra +# We need these files to be installed for tests, but now we need them removed +# not to confuse %%files checks +%python_expand rm -r %{buildroot}%{$python_sitelib} +rm -r %{buildroot}%{_sysconfdir}/alternatives +rm -r %{buildroot}%{_bindir} +rm -r %{buildroot}%{_mandir} %endif -%if "%{flavor}" != "test" +%if %{without test} %post %python_install_alternative ttx ttx.1 %python_install_alternative pyftsubset