commit python-afdko for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package python-afdko for openSUSE:Factory 
checked in at 2020-08-18 13:54:31

Comparing /work/SRC/openSUSE:Factory/python-afdko (Old)
 and  /work/SRC/openSUSE:Factory/.python-afdko.new.3399 (New)


Package is "python-afdko"

Tue Aug 18 13:54:31 2020 rev:3 rq:822561 version:3.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-afdko/python-afdko.changes
2020-06-26 21:48:46.690471502 +0200
+++ /work/SRC/openSUSE:Factory/.python-afdko.new.3399/python-afdko.changes  
2020-08-18 13:54:42.970105129 +0200
@@ -1,0 +2,27 @@
+Fri Jul 24 06:52:07 UTC 2020 - Steve Kowalik 
+
+- Update to 3.5.0: 
+  * [docs] fix broken links, add new links, fix typos, add templates
+  * [tx] many fixes related to uninitialized variables, buffer/stack overflows,
+etc.
+  * [makeotf] Drop Multiple Master in OpenType support
+  * [checkoutlinesufo] Improve overlap removal
+  * [fontsetplot, ttfdecomponentizer] Fix proofing issues
+  * [requirements] remove dependency on standalone cu2qu (integrated into
+fontTools 4.7.0)
+  * [makeinstancesufo] fix `use-varlib` flag, check for extrapolation/warn when
+using varLib
+  * [makeotf] update a misleading comment regarding how CodePageRange bits are
+set
+  * [sfntedit, sfntdiff] fix failures with long file/pathnames
+  * [tx] don't write FontMatrix in CFF2 FontDict
+  * [makeotf, makeotfexe] STAT table updates and improvements
+  * [makeotf] Check for PostScript name in FontMenuNameDB
+  * [autohint, stemhist] **REMOVED FROM AFDKO** (use psautohint/psstemhist)
+  * [makeotfexe] fix stack buffer overflow and use-after-free issues
+  * [mergefonts] fix stack buffer overflow issue
+  * [spot] fix heap buffer overflow issue
+- Update BuildRequires/Requires
+- No longer install 2 removed binaries
+
+---

Old:

  afdko-3.4.0.tar.gz

New:

  afdko-3.5.0.tar.gz



Other differences:
--
++ python-afdko.spec ++
--- /var/tmp/diff_new_pack.YKHW3e/_old  2020-08-18 13:54:45.238106060 +0200
+++ /var/tmp/diff_new_pack.YKHW3e/_new  2020-08-18 13:54:45.242106061 +0200
@@ -27,11 +27,10 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-afdko%{psuffix}
-Version:3.4.0
+Version:3.5.0
 Release:0
 Summary:Adobe Font Development Kit for OpenType
 License:Apache-2.0
-Group:  Development/Languages/Python
 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
@@ -41,14 +40,13 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-FontTools >= 4.10.2
+Requires:   python-FontTools >= 4.13.0
 Requires:   python-booleanOperations >= 0.9.0
-Requires:   python-cu2qu >= 1.6.7
-Requires:   python-defcon >= 0.6.0
+Requires:   python-defcon >= 0.7.2
 Requires:   python-fontMath >= 0.6.0
-Requires:   python-lxml >= 4.5.1
+Requires:   python-lxml >= 4.5.2
 Requires:   python-mutatorMath >= 3.0.1
-Requires:   python-psautohint >= 2.0.1
+Requires:   python-psautohint >= 2.1.0
 Requires:   python-ufoProcessor >= 1.9.0
 Requires:   python-ufonormalizer >= 0.4.1
 Requires:   python-zopfli >= 0.1.4
@@ -59,15 +57,14 @@
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Brotli >= 1.0.1}
-BuildRequires:  %{python_module FontTools >= 4.8.1}
+BuildRequires:  %{python_module FontTools >= 4.13.0}
 BuildRequires:  %{python_module afdko}
 BuildRequires:  %{python_module booleanOperations >= 0.9.0}
-BuildRequires:  %{python_module cu2qu >= 1.6.7}
-BuildRequires:  %{python_module defcon >= 0.6.0}
+BuildRequires:  %{python_module defcon >= 0.7.2}
 BuildRequires:  %{python_module fontMath >= 0.6.0}
-BuildRequires:  %{python_module lxml >= 4.5.1}
+BuildRequires:  %{python_module lxml >= 4.5.2}
 BuildRequires:  %{python_module mutatorMath >= 3.0.1}
-BuildRequires:  %{python_module psautohint >= 2.0.1}
+BuildRequires:  %{python_module psautohint >= 2.1.0}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module ufoProcessor >= 1.9.0}
@@ -100,9 +97,9 @@
 mv %{buildroot}%{_bindir}/tx  %{buildroot}%{_bindir}/afdko-tx
 
 for binary in detype1 makeotfexe mergefonts rotatefont sfntdiff sfntedit \
-  spot afdko-tx type1 autohint buildcff2vf buildmasterotfs \
+  spot afdko-tx type1 buildcff2vf buildmasterotfs \
   comparefamily 

commit python-afdko for openSUSE:Factory

2020-06-26 Thread root
Hello community,

here is the log from the commit of package python-afdko for openSUSE:Factory 
checked in at 2020-06-26 21:48:12

Comparing /work/SRC/openSUSE:Factory/python-afdko (Old)
 and  /work/SRC/openSUSE:Factory/.python-afdko.new.3060 (New)


Package is "python-afdko"

Fri Jun 26 21:48:12 2020 rev:2 rq:817065 version:3.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-afdko/python-afdko.changes
2020-06-25 15:07:50.565442826 +0200
+++ /work/SRC/openSUSE:Factory/.python-afdko.new.3060/python-afdko.changes  
2020-06-26 21:48:46.690471502 +0200
@@ -1,0 +2,19 @@
+Fri Jun 12 13:44:19 UTC 2020 - Antonio Larrosa 
+
+- Add patch to skip tests that fail in i586. See
+  https://github.com/adobe-type-tools/afdko/issues/1163 :
+  * skip-tests-failing-on-i586.patch
+
+---
+Fri Jun 12 07:36:28 UTC 2020 - Antonio Larrosa 
+
+- Use update-alternatives to provide a tx symlink to afdko-tx.
+  This works around the issue of having tx binaries different
+  packages (python-afdko and transifex-client).
+
+---
+Thu Jun 11 15:19:15 UTC 2020 - Antonio Larrosa 
+
+- Rename %{_bindir}/tx to afdko-tx
+
+---

New:

  skip-tests-failing-on-i586.patch



Other differences:
--
++ python-afdko.spec ++
--- /var/tmp/diff_new_pack.m1mABp/_old  2020-06-26 21:48:48.038475816 +0200
+++ /var/tmp/diff_new_pack.m1mABp/_new  2020-06-26 21:48:48.042475829 +0200
@@ -34,6 +34,7 @@
 Group:  Development/Languages/Python
 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}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
@@ -81,6 +82,7 @@
 
 %prep
 %setup -q -n afdko-%{version}
+%patch0 -p1
 
 %if %{with test}
 %check
@@ -95,34 +97,46 @@
 
 %install
 %python_install
+mv %{buildroot}%{_bindir}/tx  %{buildroot}%{_bindir}/afdko-tx
 
 for binary in detype1 makeotfexe mergefonts rotatefont sfntdiff sfntedit \
-  spot tx type1 autohint buildcff2vf buildmasterotfs \
+  spot afdko-tx type1 autohint buildcff2vf buildmasterotfs \
   comparefamily checkoutlinesufo makeotf makeinstancesufo \
   otc2otf otf2otc otf2ttf stemhist ttfcomponentizer \
   ttfdecomponentizer ttxn charplot digiplot fontplot \
   fontplot2 fontsetplot hintplot waterfallplot ; do
%python_clone -a %{buildroot}%{_bindir}/$binary
 done
+
+ln -s -f %{_sysconfdir}/alternatives/tx %{buildroot}%{_bindir}/tx
+
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %post
 %{python_install_alternative makeotf detype1 makeotfexe mergefonts rotatefont
-  sfntdiff sfntedit spot tx type1 autohint buildcff2vf buildmasterotfs
+  sfntdiff sfntedit spot afdko-tx type1 autohint buildcff2vf buildmasterotfs
   comparefamily checkoutlinesufo makeinstancesufo otc2otf otf2otc otf2ttf
   stemhist ttfcomponentizer ttfdecomponentizer ttxn charplot digiplot
   fontplot fontplot2 fontsetplot hintplot waterfallplot}
 
+%{_sbindir}/update-alternatives --install %{_bindir}/tx tx %{_bindir}/afdko-tx 
20
+
 %postun
 %{python_uninstall_alternative makeotf detype1 makeotfexe mergefonts rotatefont
-  sfntdiff sfntedit spot tx type1 autohint buildcff2vf buildmasterotfs
+  sfntdiff sfntedit spot afdko-tx type1 autohint buildcff2vf buildmasterotfs
   comparefamily checkoutlinesufo makeinstancesufo otc2otf otf2otc otf2ttf
   stemhist ttfcomponentizer ttfdecomponentizer ttxn charplot digiplot
   fontplot fontplot2 fontsetplot hintplot waterfallplot}
 
+if [ ! -e %{_bindir}/afdko-tx ] ; then
+  %{_sbindir}/update-alternatives --remove tx %{_bindir}/afdko-tx
+fi
+
 %files %{python_files}
 %doc NEWS.md README.md
 %license LICENSE.md
+%ghost %{_sysconfdir}/alternatives/tx
+%{_bindir}/tx
 %python_alternative %{_bindir}/detype1
 %python_alternative %{_bindir}/makeotfexe
 %python_alternative %{_bindir}/mergefonts
@@ -130,7 +144,7 @@
 %python_alternative %{_bindir}/sfntdiff
 %python_alternative %{_bindir}/sfntedit
 %python_alternative %{_bindir}/spot
-%python_alternative %{_bindir}/tx
+%python_alternative %{_bindir}/afdko-tx
 %python_alternative %{_bindir}/type1
 %python_alternative %{_bindir}/autohint
 %python_alternative %{_bindir}/buildcff2vf

++ skip-tests-failing-on-i586.patch ++
Index: afdko-3.4.0/tests/otf2ttf_test.py
===
--- afdko-3.4.0.orig/tests/otf2ttf_test.py
+++