Hello community,

here is the log from the commit of package python-FontTools for 
openSUSE:Leap:15.2 checked in at 2020-04-18 18:40:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-FontTools (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-FontTools.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-FontTools"

Sat Apr 18 18:40:45 2020 rev:11 rq:776304 version:3.39.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-FontTools/python-FontTools.changes      
2020-01-15 15:46:01.963343584 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-FontTools.new.2738/python-FontTools.changes
    2020-04-18 18:40:46.413921020 +0200
@@ -1,0 +2,34 @@
+Mon Apr  1 12:14:15 UTC 2019 - [email protected]
+
+- version update to 3.39.0
+  see NEWS.rst
+- deleted patches
+  - 349cd94d171cf4e1e7541884df0d12bb6d4e841a.patch (upstreamed)
+  - fix-missing-sys.patch (upstreamed)
+- run the testsuite
+- do not provide extra subpackage for tools
+- do not require python-munkres, it is suprefluous when scipy is
+  required
+
+-------------------------------------------------------------------
+Thu Sep  6 07:22:24 UTC 2018 - Matěj Cepl <[email protected]>
+
+- Upstream provided fix for the issue with big endian machines. Remove
+  fonttools-disable_failing_tests_bigendian.patch and replace with
+  349cd94d171cf4e1e7541884df0d12bb6d4e841a.patch
+- Upstream fix has a missing import; thus fix-missing-sys.patch
+
+-------------------------------------------------------------------
+Tue Sep  4 20:41:54 UTC 2018 - Matěj Cepl <[email protected]>
+
+- Update to 3.29.0:
+    too many changes to enlist here, complete list is on
+    https://github.com/fonttools/fonttools/releases
+
+-------------------------------------------------------------------
+Thu Mar 15 08:53:18 CET 2018 - [email protected]
+
+- add fonttools-disable_failing_tests_bigendian.patch
+  disable two tests currently failing on bigendian archs 
+
+-------------------------------------------------------------------

Old:
----
  fonttools-3.24.1.zip

New:
----
  fonttools-3.39.0.zip

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-FontTools.spec ++++++
--- /var/tmp/diff_new_pack.nQirAT/_old  2020-04-18 18:40:46.901922051 +0200
+++ /var/tmp/diff_new_pack.nQirAT/_new  2020-04-18 18:40:46.905922059 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-FontTools
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,46 +12,46 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
 Name:           python-FontTools
-Version:        3.24.1
+Version:        3.39.0
 Release:        0
-License:        MIT and OFL-1.1
 Summary:        Suite of Tools and Libraries for Manipulating Fonts
-Url:            http://github.com/fonttools/fonttools
+License:        MIT AND OFL-1.1
 Group:          Development/Languages/Python
-Source:         
https://files.pythonhosted.org/packages/source/F/FontTools/fonttools-%{version}.zip
+URL:            http://github.com/fonttools/fonttools
+Source:         
https://files.pythonhosted.org/packages/source/f/fonttools/fonttools-%{version}.zip
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
-%if %{with test}
-BuildRequires:  %{python_module brotlipy}
-BuildRequires:  %{python_module munkres}
-BuildRequires:  %{python_module numpy}
-BuildRequires:  %{python_module pytest >= 3.0}
-BuildRequires:  %{python_module pytest-runner}
-BuildRequires:  %{python_module reportlab}
-BuildRequires:  %{python_module scipy}
-BuildRequires:  %{python_module tox}
-BuildRequires:  %{python_module setuptools}
+Requires:       python-brotlipy >= 0.7.0
+%ifpython2
+Requires:       python-enum34
 %endif
-Recommends:     python-brotlipy
-Recommends:     python-munkres
-Recommends:     python-numpy
-Recommends:     python-reportlab
-Recommends:     python-scipy
-Recommends:     python-sympy
-BuildArch:      noarch
+Requires:       python-fs >= 2.4.4
+Requires:       python-reportlab
+Requires:       python-scipy >= 1.2.1
+Requires:       python-sympy
+# SECTION test requirements
+BuildRequires:  %{python_module brotlipy >= 0.7.0}
+BuildRequires:  %{python_module fs >= 2.4.4}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module scipy >= 1.2.1}
+BuildRequires:  %{python_module sympy}
+BuildRequires:  python2-enum34
+BuildRequires:  zip
+# /SECTION
 %ifpython3      
-Conflicts:      fonttools < %{version}
-Recommends:     fonttools = %{version}
+Obsoletes:      fonttools
+Provides:       fonttools
 %endif
-
+BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -62,19 +62,6 @@
 Type 1 fonts, and more. It contains two command line programs to
 convert TrueType fonts to an XML based format (called TTX) and back.
 
-%package     -n fonttools
-Summary:        Suite of Tools and Libraries for Manipulating Fonts
-Group:          Productivity/Graphics/Vector Editors
-Requires:       python3-FontTools
-
-%description -n fonttools
-FontTools is a suite of tools and libraries for manipulating fonts
-written in Python.
-
-It currently reads and writes TrueType font files, reads PostScript
-Type 1 fonts, and more. It contains two command line programs to
-convert TrueType fonts to an XML based format (called TTX) and back.
-
 %prep
 %setup -q -n fonttools-%{version}
 # Remove shebang
@@ -86,24 +73,32 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+# remove undocumented and non working script
+rm %{buildroot}%{_bindir}/fonttools
 
-%if %{with test}
 %check
+ufodir='Tests/ufoLib/testdata/TestFont1 (UFO3).ufo'
+if [ ! -e "${ufodir}z" ]; then
+  # they forgot to ship Tests/ufoLib/testdata/TestFont1 (UFO3).ufoz
+  pushd $(dirname "$ufodir")
+  name=$(basename "$ufodir")
+  zip -r "${name}z" "$name"
+  popd
+else
+  echo "this can be removed (including zip buildrequires)"
+  exit 1
+fi
 export LANG=en_US.UTF-8
-%python_exec setup.py test
-%endif
+export PYTHONDONTWRITEBYTECODE=1
+%pytest
 
 %files %{python_files}
-%doc LICENSE LICENSE.external README.rst NEWS.rst
+%license LICENSE LICENSE.external
+%doc README.rst NEWS.rst
 %{python_sitelib}/*
-
-%files -n fonttools
-%doc LICENSE LICENSE.external README.rst NEWS.rst
-%{_bindir}/fonttools
-%{_bindir}/pyftinspect
-%{_bindir}/pyftmerge
-%{_bindir}/pyftsubset
-%{_bindir}/ttx
-%{_mandir}/man1/ttx.1%{ext_man}
+%python3_only %{_bindir}/pyftmerge
+%python3_only %{_bindir}/pyftsubset
+%python3_only %{_bindir}/ttx
+%python3_only %{_mandir}/man1/ttx.1%{?ext_man}
 
 %changelog


Reply via email to