Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-PyMuPDF for openSUSE:Factory checked in at 2021-04-12 12:37:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyMuPDF (Old) and /work/SRC/openSUSE:Factory/.python-PyMuPDF.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyMuPDF" Mon Apr 12 12:37:28 2021 rev:15 rq:884518 version:1.18.11 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyMuPDF/python-PyMuPDF.changes 2021-03-30 21:08:44.209267457 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyMuPDF.new.2401/python-PyMuPDF.changes 2021-04-12 12:40:21.953578614 +0200 @@ -1,0 +2,31 @@ +Sat Apr 10 12:56:40 UTC 2021 - John Vandenberg <jay...@gmail.com> + +- Update to v1.18.11 + * Improved layout of source distribution material. + * Stabilized Linux distribution detection for generating PyMuPDF + from sources. + * Page.get_xobjects delivers the result of Document.get_page_xobjects. + * Page.get_image_info delivers meta information for all images shown + on the page. + * Tools.mupdf_display_warnings allows setting on / off the display + of MuPDF-generated warnings. The default is off. + * Document.ez_save convenience alias of :meth:`Document.save` + with some different defaults. + * Image extractions of document pages now also contain the image's + **transformation matrix**. This concerns `Page.get_image_bbox` + and the DICT, JSON, RAWDICT, and RAWJSON variants of `Page.get_text`. +- from v1.18.10 + * Added old aliases for `DisplayList.get_pixmap` and + `DisplayList.get_textpage`. + * Stabilized removal of JavaScript objects with `Document.scrub`. + * Removed a loop in the reworked `TextWriter.fill_textbox`. + * `Document.xref_get_keys` and `Document.xref_get_key` to also allow + accessing the PDF trailer dictionary. This can be done by using + `-1` as the xref number argument. + * Added a number of functions for reconstructing the quads for text + lines, spans and characters extracted by `Page.get_text` options + "dict" and "rawdict". + * Added `Tools.unset_quad_corrections` to suppress character quad + corrections (occasionally required for erroneous fonts). + +------------------------------------------------------------------- @@ -27,2 +58,2 @@ - quadrilateral of a span. This function can be used when - quadrilaterals for text extracted with the "dict" or "rawdict" + quadrilateral of a span. This function can be used for correctly + marking text extracted with the "dict" or "rawdict" Old: ---- PyMuPDF-1.18.9.tar.gz New: ---- PyMuPDF-1.18.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyMuPDF.spec ++++++ --- /var/tmp/diff_new_pack.ZS0Ovc/_old 2021-04-12 12:40:22.421579158 +0200 +++ /var/tmp/diff_new_pack.ZS0Ovc/_new 2021-04-12 12:40:22.425579162 +0200 @@ -17,11 +17,11 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Python 2 build fails always +# Python 3 only syntax %define skip_python2 1 %define pypi_name PyMuPDF Name: python-%{pypi_name} -Version: 1.18.9 +Version: 1.18.11 Release: 0 Summary: Python binding for MuPDF, a PDF and XPS viewer License: AGPL-3.0-only @@ -29,7 +29,9 @@ URL: https://github.com/pymupdf/PyMuPDF Source: https://files.pythonhosted.org/packages/source/P/PyMuPDF/PyMuPDF-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module distro} BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: gcc BuildRequires: jbig2dec-devel @@ -56,6 +58,7 @@ %prep %setup -q -n %{pypi_name}-%{version} +dos2unix README.md changes.rst %build export CFLAGS="%{optflags} -I/usr/include/freetype2" @@ -63,10 +66,10 @@ %install %python_install -rm %{buildroot}%{_prefix}/{COPYING,README.md,changes.rst} %python_expand %fdupes %{buildroot}%{$python_sitearch} %check +# https://github.com/pymupdf/PyMuPDF/issues/1002 requests a better test sequence cd /tmp %python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -c 'import fitz' ++++++ PyMuPDF-1.18.9.tar.gz -> PyMuPDF-1.18.11.tar.gz ++++++ ++++ 2643 lines of diff (skipped)