Hello community, here is the log from the commit of package fonttools for openSUSE:Factory checked in at 2017-11-21 15:30:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fonttools (Old) and /work/SRC/openSUSE:Factory/.fonttools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fonttools" Tue Nov 21 15:30:06 2017 rev:20 rq:542505 version:3.19.0 Changes: -------- --- /work/SRC/openSUSE:Factory/fonttools/fonttools.changes 2015-10-02 15:37:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fonttools.new/fonttools.changes 2017-11-21 15:30:09.722015945 +0100 @@ -1,0 +2,17 @@ +Thu Nov 16 08:35:19 UTC 2017 - mplus...@suse.com + +- Update licensing information + +------------------------------------------------------------------- +Fri Nov 10 10:24:49 UTC 2017 - mplus...@suse.com + +- Update to version 3.19.0: + * Lots of changes between 3.0 and 3.19.0 for details see provided + NEWS.rst +- Switch to python3 +- Cleanup with spec-cleaner +- Update source url +- Make optional dependencies recommended (and buildrequired for + testcoverage) + +------------------------------------------------------------------- Old: ---- 3.0.tar.gz New: ---- fonttools-3.19.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fonttools.spec ++++++ --- /var/tmp/diff_new_pack.10cpZS/_old 2017-11-21 15:30:10.801976805 +0100 +++ /var/tmp/diff_new_pack.10cpZS/_new 2017-11-21 15:30:10.801976805 +0100 @@ -1,7 +1,7 @@ # # spec file for package fonttools # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,21 +17,33 @@ Name: fonttools -Version: 3.0 +Version: 3.19.0 Release: 0 Summary: Suite of Tools and Libraries for Manipulating Fonts -License: BSD-3-Clause +License: HPND Group: Productivity/Graphics/Vector Editors -Url: https://github.com/behdad/fonttools/ -Source0: https://github.com/behdad/fonttools/archive/%{version}.tar.gz +Url: https://github.com/fonttools/fonttools +Source0: https://github.com/fonttools/fonttools/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: fdupes -BuildRequires: python-devel -BuildRequires: python-numpy -BuildRequires: pyxml -Requires: python-numpy -Requires: python-xml -Requires: pyxml -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-rpm-macros +BuildRequires: python3-brotlipy +BuildRequires: python3-devel +BuildRequires: python3-munkres +BuildRequires: python3-numpy +BuildRequires: python3-pytest >= 3.0 +BuildRequires: python3-pytest-runner +BuildRequires: python3-reportlab +BuildRequires: python3-scipy +BuildRequires: python3-setuptools +BuildRequires: python3-sympy +BuildRequires: python3-tox +Recommends: python3-brotlipy +Recommends: python3-munkres +Recommends: python3-numpy +Recommends: python3-reportlab +Recommends: python3-scipy +Recommends: python3-sympy +BuildArch: noarch %description FontTools is a suite of tools and libraries for manipulating fonts @@ -42,23 +54,26 @@ convert TrueType fonts to an XML based format (called TTX) and back. %prep -%setup -q -n fonttools-%{version} -chmod 644 LICENSE.txt +%setup -q %build -export CFLAGS="%{optflags}" -python setup.py build +%python3_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=filelist.log -sed -i 's:ttx.1:ttx.1.gz:' filelist.log +%python3_install %fdupes -s %{buildroot} %check -./run-tests.sh +python3 setup.py test -%files -f filelist.log -%defattr(-, root, root) -%doc LICENSE.txt README.md Doc/ +%files +%doc LICENSE README.rst NEWS.rst +%{_bindir}/fonttools +%{_bindir}/pyftinspect +%{_bindir}/pyftmerge +%{_bindir}/pyftsubset +%{_bindir}/ttx +%{_mandir}/man1/ttx.1%{ext_man} +%{python3_sitelib} %changelog