14
0

Accepting request 1002297 from home:jayvdb:branches:devel:languages:python

- Update to v1.20.2

OBS-URL: https://build.opensuse.org/request/show/1002297
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=49
This commit is contained in:
2022-09-12 09:31:35 +00:00
committed by Git OBS Bridge
parent 210c4b4830
commit 84e8056418
4 changed files with 38 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef3d13e27f1585d776f6a2597f113aabd28d36b648b983a72850b21c5399ab08
size 2270248

3
PyMuPDF-1.20.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02eedf01f57c6bafb5e8667cea0088a2d2522643c47100f1908bec3a68a84888
size 90443823

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Fri Sep 9 10:00:51 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Update to v1.20.2
* This release uses MuPDF-1.20.3
* Fix linking issues on Unix systems.
* Fixed SegFault when applying redactions overlapping a transparent image.
* Improvements to documentation
* Removed some unused files and directories
- from v1.20.1
* Fix for building on FreeBSD.
* Fixed linkDest() had a broken call to re.match(), introduced in 1.20.0.
* Fixed get_drawings() and get_cdrawings() previously always returned
with closePath=False.
* Default FreeText annotation text color is now black.
* Improvements to sphinx-generated documentation
- from v1.20.0
* This release uses MuPDF-1.20.0
* Cope with new MuPDF link uri format, changed from #<int>,<int>,<int>
to #page=<int>&zoom=<float>,<float>,<float>.
* In tests/test_insertpdf.py, use new reference output joined-1.20.pdf.
We also check that new output values are approximately the same as the old ones.
* Fixed Leak of pdf_graft_map. Also fixed a SEGV issue that this seemed
to expose, caused by incorrect freeing of underlying fz_document.
* Fixed ownership of Annotation.get_pixmap().
* If pip builds from source because an appropriate wheel is not available,
we no longer require MuPDF to be pre-installed. Instead the required
MuPDF source is embedded in the sdist and automatically built into PyMuPDF.
* Various changes to setup.py to download the required MuPDF release
as required. See comments at start of setup.py for details.
-------------------------------------------------------------------
Tue May 10 00:26:53 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,5 +1,5 @@
#
# spec file
# spec file for package python-PyMuPDF
#
# Copyright (c) 2022 SUSE LLC
#
@@ -21,7 +21,7 @@
%define skip_python2 1
%define pypi_name PyMuPDF
Name: python-%{pypi_name}
Version: 1.19.6
Version: 1.20.2
Release: 0
Summary: Python binding for MuPDF, a PDF and XPS viewer
License: AGPL-3.0-only
@@ -36,8 +36,7 @@ BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: jbig2dec-devel
BuildRequires: mupdf-devel-static < 1.20.0
BuildRequires: mupdf-devel-static >= 1.19.0
BuildRequires: mupdf-devel-static >= 1.20.3
BuildRequires: openSUSE-release
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -76,6 +75,6 @@ cd /tmp
%license COPYING
%doc README.md
%{python_sitearch}/PyMuPDF-%{version}*-info
%{python_sitearch}/fitz
%{python_sitearch}/fitz/
%changelog