Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-afdko for openSUSE:Factory checked in at 2022-04-17 23:49:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-afdko (Old) and /work/SRC/openSUSE:Factory/.python-afdko.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-afdko" Sun Apr 17 23:49:58 2022 rev:7 rq:969764 version:3.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-afdko/python-afdko.changes 2021-05-03 22:08:17.760458909 +0200 +++ /work/SRC/openSUSE:Factory/.python-afdko.new.1941/python-afdko.changes 2022-04-17 23:51:42.470460618 +0200 @@ -1,0 +2,73 @@ +Tue Apr 12 09:08:44 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to v3.8.2 + * [tx] Fix Memory Crashes (#1497) + * [antlr4] ANTLR v4.9.3 Upgrade (#1491) + * [tx] ignore subr recursion limit (#1484) + * [tx] Don't parse non-FDArray array of dictionaries in + fontinfo.plist (#1478) + * [requirements] updated dependencies +- Drop afdko-pr1478-fixFDarray.patch merged upstream +- Drop skip-tests-failing-on-i586.patch partially fixed in + gh#adobe-type-tools/afdko#1321, except one test: + gh#adobe-type-tools/afdko#1163 +- No need to clone the Git repo for antlr4 anymore, use zip source + gh#adobe-type-tools/afdko#1407 + +------------------------------------------------------------------- +Sun Mar 6 07:45:47 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to v3.8.1 + * [tx] Add safety initialization of pdwCtx structure in pdwNew + (#1474) + * [requirements] updated dependencies + * [python] Drop Python 3.6, add Python 3.10 support (#1456) + * [tx] Initialize variables in doFile (#1466) + * [ci] Build universal2 wheel instead of arm64 (thanks + @miguelsousa!) (#1462) + * [ci] Add macOS arm64 wheel (thanks @miguelsousa!) (#1461) + * [c] Fix C-code coverage reporting (thanks @miguelsousa!) (#1460) + * [tx] Preserve intentional duplicate start points when PFA -> UFO + (#1452) + * [tx] Fix unintentional duplicate start points caused by + floating-value coordinates when PFA -> UFO (#1448) + * [README] Fix broken relative link in README (#1424) + * [ttxn] Update ttxn for fontTools 4.27.0 update (#1423 #1418) + * [otf2ttf] Add throttling to OTF2TTF to avoid hangs on Windows + with large CPU (thanks @be5invis!) (#1421, #1420) + * [requirements] updated dependencies +- Release notes for v3.7.1 + * [makeotfexe] Port of Feature File Parser to Antlr 4 (#548, + #1367) + * [spec] OpenType Feature File Specification updated to v1.26 with + the following (here): + - include directive is "statement-only" + - with the exception of mark, keywords cannot be used as lookup + names or tags + - list of valid characters for tags has been updated + - tags cannot start with a digit or hyphen + * [build] Switch to CMake-based builds -- see documentation + (#1124, #1360, #1384, #1372) + * [makeinstancesufo] fixes for fontMath 0.8.1 update (#1391) + * [tx] ufowrite for loop init declaration fix (#1373) + * [tx] uforead deleting outlines fix (#1370) + * [tx] Windows line endings in binary files fix (#1361) + * [makeotf] Fix for makeotf heap use after free (#1356) + * [tx] uforead, ufowrite, checkoutlinesufo fixes for reading & + writing CID-keyed fonts (#1353) + * [tx] t1read.c add error for fonts surpassing 65000 SID Limit + (#1347) + * [tx] cffread.c data type fix (#1344) + * [spec] Spec 6.4.iii: 'markClass' instead of 'mark' in example 4 + (thanks @moyogo!) (#1336) + * [checkoutlinesufo] Moved list sort out of loop to not waste time + sorting (#1331) + * [makeotf] aarch64 precision errors fix (#1329) + * [tests] Add cpplint check (#1325) +- Add patches: + * afdko-pr1478-fixFDarray.patch -- gh#adobe-type-tools/afdko#1478 + * afdko-opensuse-custom-build.patch +- Build and use static antlr4 from cloned git repository via + _service -- gh#adobe-type-tools/afdko#1407 + +------------------------------------------------------------------- Old: ---- afdko-3.6.2.tar.gz skip-tests-failing-on-i586.patch New: ---- afdko-3.8.2.tar.gz afdko-opensuse-custom-build.patch antlr4-cpp-runtime-4.9.3-source.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-afdko.spec ++++++ --- /var/tmp/diff_new_pack.YVp42Q/_old 2022-04-17 23:51:42.954461281 +0200 +++ /var/tmp/diff_new_pack.YVp42Q/_new 2022-04-17 23:51:42.962461292 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-afdko-test +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,43 +32,57 @@ ttfdecomponentizer ttxn charplot digiplot fontplot \ fontplot2 fontsetplot hintplot waterfallplot -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Antlr4 needs to be built and statically linked from in-tree repository. +# See https://github.com/adobe-type-tools/afdko/issues/1407 +# Check CMakeLists.txt for correct version +%define antlr4version 4.9.3 + +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 Name: python-afdko%{psuffix} -Version: 3.6.2 +Version: 3.8.2 Release: 0 Summary: Adobe Font Development Kit for OpenType -License: Apache-2.0 +License: Apache-2.0 AND MIT URL: https://github.com/adobe-type-tools/afdko -Source: https://files.pythonhosted.org/packages/source/a/afdko/afdko-%{version}.tar.gz -Patch0: skip-tests-failing-on-i586.patch -BuildRequires: %{python_module devel} +Source0: https://files.pythonhosted.org/packages/source/a/afdko/afdko-%{version}.tar.gz +# License1: MIT +Source1: https://www.antlr.org/download/antlr4-cpp-runtime-%{antlr4version}-source.zip +# PATCH-FIX-OPENSUSE afdko-opensuse-custom-build.patch -- make sure we can build offline, c...@bnavigator.de +Patch0: afdko-opensuse-custom-build.patch +BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module scikit-build} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: c++_compiler +BuildRequires: cmake BuildRequires: fdupes +BuildRequires: git +BuildRequires: libuuid-devel +BuildRequires: ninja BuildRequires: python-rpm-macros +BuildRequires: utfcpp-devel Requires: python-Brotli >= 1.0.1 -Requires: python-FontTools >= 4.21.1 +Requires: python-FontTools >= 4.32.0 Requires: python-booleanOperations >= 0.9.0 -Requires: python-defcon >= 0.7.2 -Requires: python-fontMath >= 0.6.0 +Requires: python-defcon >= 0.10.0 +Requires: python-fontMath >= 0.9.1 Requires: python-fontPens >= 0.1.0 Requires: python-fs >= 2.2.0 -Requires: python-lxml >= 4.6.2 +Requires: python-lxml >= 4.8.0 Requires: python-mutatorMath >= 3.0.1 -Requires: python-psautohint >= 2.3.0 -Requires: python-tqdm >= 4.58.0 +Requires: python-psautohint >= 2.4.0 +Requires: python-tqdm >= 4.64.0 Requires: python-ufoProcessor >= 1.9.0 -Requires: python-ufonormalizer >= 0.5.3 +Requires: python-ufonormalizer >= 0.6.1 Requires: python-zopfli >= 0.1.4 %if %{python_version_nodots} < 39 Requires: python-unicodedata2 >= 13.0.0 %endif Requires(post): update-alternatives Requires(postun):update-alternatives -Provides: adobe-afdko +Provides: adobe-afdko = %{version}-%{release} %if %{with test} # SECTION test requirements BuildRequires: %{python_module afdko = %{version}} @@ -81,12 +95,16 @@ Adobe Font Development Kit for OpenType %prep -%setup -q -n afdko-%{version} -%patch0 -p1 +%autosetup -p1 -n afdko-%{version} %build %if ! %{with test} -%python_build +%{python_expand # work around python_build parameter restriction: scikit-build calls cmake +%{$python_build} \ + --build-type=RelWithDebInfo \ + -j %{jobs} \ + -DANTLR4_ZIP_REPOSITORY=%{SOURCE1} +} %endif %install @@ -115,7 +133,17 @@ export PATH=$PWD/build/bin:$PATH mkdir tmp export TMPDIR=tmp -%pytest_arch +%ifarch %{ix86} +# Precision issues +# https://github.com/adobe-type-tools/afdko/issues/1163 +donttest+=" or test_type1mm_inputs" +%endif +%ifarch %{power64} %{arm} aarch64 +# command does not return error on these platforms +# https://github.com/adobe-type-tools/afdko/issues/1425 +donttest+=" or (test_spec and bad.fea)" +%endif +%pytest_arch -k "not (dummyprefix $donttest)" %endif %if ! %{with test} ++++++ afdko-3.6.2.tar.gz -> afdko-3.8.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-afdko/afdko-3.6.2.tar.gz /work/SRC/openSUSE:Factory/.python-afdko.new.1941/afdko-3.8.2.tar.gz differ: char 5, line 1 ++++++ afdko-opensuse-custom-build.patch ++++++ +++ afdko-3.8.1.patched/CMakeLists.txt 2022-03-12 08:29:01.319204781 +0100 @@ -66,8 +66,10 @@ include(CheckLibraryExists) CHECK_LIBRARY_EXISTS(m floor "" HAVE_M_LIB) -include(CTest) -include(AddAFDKOTests) +# openSUSE: We don't use ctest in the obs _multibuild :test package +#include(CTest) +# prevent overriding the found python flavors above with the generic find_package in this include +#include(AddAFDKOTests) add_subdirectory(c/shared/source) add_subdirectory(c/detype1/source) diff -ur afdko-3.8.1/setup.py afdko-3.8.1.patched/setup.py --- afdko-3.8.1/setup.py 2022-02-24 20:28:27.000000000 +0100 +++ afdko-3.8.1.patched/setup.py 2022-03-12 08:17:26.817322500 +0100 @@ -197,8 +197,6 @@ 'wheel', 'setuptools_scm', 'scikit-build', - 'cmake', - 'ninja' ], tests_require=[ 'pytest',