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 2022-05-10 15:12:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyMuPDF (Old) and /work/SRC/openSUSE:Factory/.python-PyMuPDF.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyMuPDF" Tue May 10 15:12:07 2022 rev:21 rq:975957 version:1.19.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyMuPDF/python-PyMuPDF.changes 2022-03-11 11:51:51.135020114 +0100 +++ /work/SRC/openSUSE:Factory/.python-PyMuPDF.new.1538/python-PyMuPDF.changes 2022-05-10 15:12:22.347603474 +0200 @@ -1,0 +2,6 @@ +Tue May 10 00:26:53 UTC 2022 - Matej Cepl <[email protected]> + +- Clean up SPEC file. +- Switch to pip/wheel-based build. + +------------------------------------------------------------------- @@ -363 +369 @@ -------------------------------------------------------------------- +-------------------------------------------------------------------- @@ -389,2 +395,2 @@ - quadrilateral of a span. This function can be used for correctly - marking text extracted with the "dict" or "rawdict" + quadrilateral of a span. This function can be used when + quadrilaterals for text extracted with the "dict" or "rawdict" @@ -610,0 +617,9 @@ +Sat Dec 12 13:56:56 UTC 2020 - Matej Cepl <[email protected]> + +- update to 1.18.4: + - Improved PDF Optional Content support + - Started overhaul of method and attribute naming + - Introduced support of Popup annotations + - Implemented other bug fixes. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyMuPDF.spec ++++++ --- /var/tmp/diff_new_pack.Tu8GXq/_old 2022-05-10 15:12:23.067604382 +0200 +++ /var/tmp/diff_new_pack.Tu8GXq/_new 2022-05-10 15:12:23.075604392 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-PyMuPDF +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Python 3 only syntax +# Python 2 build fails always %define skip_python2 1 %define pypi_name PyMuPDF Name: python-%{pypi_name} @@ -29,10 +29,11 @@ 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 pip} BuildRequires: %{python_module setuptools} -BuildRequires: dos2unix +BuildRequires: %{python_module wheel} BuildRequires: fdupes +BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: jbig2dec-devel BuildRequires: mupdf-devel-static < 1.20.0 @@ -40,6 +41,7 @@ BuildRequires: openSUSE-release BuildRequires: pkgconfig BuildRequires: python-rpm-macros +BuildRequires: swig BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gumbo) BuildRequires: pkgconfig(harfbuzz) @@ -56,24 +58,24 @@ *.xps, *.oxps, *.epub, *.cbz or *.fb2 from Python scripts. %prep -%setup -q -n %{pypi_name}-%{version} -dos2unix README.md changes.txt +%autosetup -p1 -n %{pypi_name}-%{version} %build -%python_build +export CFLAGS="%{optflags} -I/usr/include/freetype2" +%pyproject_wheel %install -%python_install +%pyproject_install %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' %files %{python_files} %license COPYING -%doc README.md changes.txt -%{python_sitearch}/* +%doc README.md +%{python_sitearch}/PyMuPDF-%{version}*-info +%{python_sitearch}/fitz %changelog
