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-03-30 21:08:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyMuPDF (Old)
and /work/SRC/openSUSE:Factory/.python-PyMuPDF.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyMuPDF"
Tue Mar 30 21:08:41 2021 rev:14 rq:875642 version:1.18.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyMuPDF/python-PyMuPDF.changes 2021-02-23 20:22:15.863754343 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyMuPDF.new.2401/python-PyMuPDF.changes 2021-03-30 21:08:44.209267457 +0200
@@ -1,0 +2,30 @@
+Sat Feb 27 00:04:25 UTC 2021 - John Vandenberg
+
+- Revised License to be AGPL-3.0-only
+- Add %doc
+- Remove COPYING now provided in tarball
+- Update to v1.18.9
+ * Removed ambiguous statements concerning PyMuPDF's license,
+ which is now clearly stated to be GNU AGPL V3
+ * Fixed issue 895
+ * Since v1.17.6 PyMuPDF suppresses the font subset tags and only
+ reports the base fontname in text extraction outputs
+ "dict" / "json" / "rawdict" / "rawjson".
+ Now a new global parameter can request the old behaviour,
+ `Tools.set_subset_fontnames`.
+ * Pixmap creation now also works with filenames given as pathlib.
+ * Changed `Document.subset_fonts`: Text is not rewritten any more
+ and should therefore retain all its origial properties -- like
+ being hidden or being controlled by Optional Content mechanisms.
+ * `TextWriter.fill_textbox`, `TextWriter.append` now accept a new
+ boolean parameter `right_to_left`, which is *False* by default.
+ * Changed `TextWriter.fill_textbox` to return all lines of text,
+ that did not fit in the given rectangle. Also changed the default
+ of the `warn` parameter to no longer print a warning message
+ in overflow situations.
+ * Added a utility function `recover_quad`, which computes the
+ quadrilateral of a span. This function can be used when
+ quadrilaterals for text extracted with the "dict" or "rawdict"
+ options of `Page.get_text`.
+
+-------------------------------------------------------------------
Old:
----
COPYING
PyMuPDF-1.18.8.tar.gz
New:
----
PyMuPDF-1.18.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyMuPDF.spec ++++++
--- /var/tmp/diff_new_pack.QZHpyo/_old 2021-03-30 21:08:44.805268112 +0200
+++ /var/tmp/diff_new_pack.QZHpyo/_new 2021-03-30 21:08:44.809268116 +0200
@@ -21,21 +21,20 @@
%define skip_python2 1
%define pypi_name PyMuPDF
Name: python-%{pypi_name}
-Version: 1.18.8
+Version: 1.18.9
Release: 0
Summary: Python binding for MuPDF, a PDF and XPS viewer
-License: GPL-3.0-only AND AGPL-3.0-only
+License: AGPL-3.0-only
Group: Development/Libraries/Python
URL: https://github.com/pymupdf/PyMuPDF
Source: https://files.pythonhosted.org/packages/source/P/PyMuPDF/PyMuPDF-%{version}.tar.gz
-Source1: https://raw.githubusercontent.com/pymupdf/PyMuPDF/master/COPYING
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: jbig2dec-devel
-BuildRequires: mupdf-devel-static >= 1.18.0
BuildRequires: mupdf-devel-static < 1.19.0
+BuildRequires: mupdf-devel-static >= 1.18.0
BuildRequires: openSUSE-release
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -57,15 +56,14 @@
%prep
%setup -q -n %{pypi_name}-%{version}
-cp %{SOURCE1} .
%build
export CFLAGS="%{optflags} -I/usr/include/freetype2"
-
%python_build
%install
%python_install
+rm %{buildroot}%{_prefix}/{COPYING,README.md,changes.rst}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -74,6 +72,7 @@
%files %{python_files}
%license COPYING
+%doc README.md changes.rst
%{python_sitearch}/*
%changelog
++++++ PyMuPDF-1.18.8.tar.gz -> PyMuPDF-1.18.9.tar.gz ++++++
++++ 3963 lines of diff (skipped)