From 3d0b6e056055cd721662b15b7583e8fa2c38895a40c226a3d4475a224149faec Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 2 Dec 2022 10:45:59 +0000 Subject: [PATCH] Accepting request 1039381 from home:yarunachalam:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 1.21.0 * This release uses MuPDF-1.21.0. New feature: Stories. Added wheels for Python-3.11. * Bug fixes: Fixed #1701: Broken custom image insertion. Fixed #1854: Document.delete_pages() declines keyword arguments. Fixed #1868: Access Violation Error at page.apply_redactions(). Fixed #1909: Adding text with fontname=”Helvetica” can silently fail. Fixed #1913: draw_rect(): does not respect width if color is not specified. Fixed #1917: subset_fonts(): make it possible to silence the stdout. Fixed #1936: Rectangle detection can be incorrect producing wrong output. Fixed #1945: Segmentation fault when saving with clean=True. Fixed #1965: pdfocr_save() Hard Crash. Fixed #1971: Segmentation fault when using get_drawings(). Fixed #1946: block_no and block_type switched in get_text() docs. Fixed #2013: AttributeError: ‘Widget’ object has no attribute ‘_annot’ in delete widget. * Misc changes to core code: Fixed various compiler warnings and a sequence-point bug. Added support for Memento builds. Fixed leaks detected by Memento in test suite. Fixed handling of exceptions in set_name() and set_rect(). Allow build with latest MuPDF, for regular testing of PyMuPDF master. Cope with new MuPDF exceptions when setting rect for some Annot types. Reduced cosmetic differences between MuPDF’s config.h and PyMuPDF’s _config.h. Cope with various changes to MuPDF API. * Other: Fixed various broken links and typos in docs. Mention install of swig-python on MacOS for #875. OBS-URL: https://build.opensuse.org/request/show/1039381 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=51 --- PyMuPDF-1.20.2.tar.gz | 3 --- PyMuPDF-1.21.0.tar.gz | 3 +++ python-PyMuPDF.changes | 35 +++++++++++++++++++++++++++++++++++ python-PyMuPDF.spec | 4 ++-- 4 files changed, 40 insertions(+), 5 deletions(-) delete mode 100644 PyMuPDF-1.20.2.tar.gz create mode 100644 PyMuPDF-1.21.0.tar.gz diff --git a/PyMuPDF-1.20.2.tar.gz b/PyMuPDF-1.20.2.tar.gz deleted file mode 100644 index 2f76244..0000000 --- a/PyMuPDF-1.20.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02eedf01f57c6bafb5e8667cea0088a2d2522643c47100f1908bec3a68a84888 -size 90443823 diff --git a/PyMuPDF-1.21.0.tar.gz b/PyMuPDF-1.21.0.tar.gz new file mode 100644 index 0000000..45843ec --- /dev/null +++ b/PyMuPDF-1.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a63dfc289e127a16ab60310ee6005fe83121c7a97f7c120db688f9281c9e5d0f +size 57225597 diff --git a/python-PyMuPDF.changes b/python-PyMuPDF.changes index 06e1ac6..2eb88c3 100644 --- a/python-PyMuPDF.changes +++ b/python-PyMuPDF.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Thu Dec 1 18:51:43 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 1.21.0 + * This release uses MuPDF-1.21.0. + New feature: Stories. + Added wheels for Python-3.11. + * Bug fixes: + Fixed #1701: Broken custom image insertion. + Fixed #1854: Document.delete_pages() declines keyword arguments. + Fixed #1868: Access Violation Error at page.apply_redactions(). + Fixed #1909: Adding text with fontname=”Helvetica” can silently fail. + Fixed #1913: draw_rect(): does not respect width if color is not specified. + Fixed #1917: subset_fonts(): make it possible to silence the stdout. + Fixed #1936: Rectangle detection can be incorrect producing wrong output. + Fixed #1945: Segmentation fault when saving with clean=True. + Fixed #1965: pdfocr_save() Hard Crash. + Fixed #1971: Segmentation fault when using get_drawings(). + Fixed #1946: block_no and block_type switched in get_text() docs. + Fixed #2013: AttributeError: ‘Widget’ object has no attribute ‘_annot’ in delete + widget. + * Misc changes to core code: + Fixed various compiler warnings and a sequence-point bug. + Added support for Memento builds. + Fixed leaks detected by Memento in test suite. + Fixed handling of exceptions in set_name() and set_rect(). + Allow build with latest MuPDF, for regular testing of PyMuPDF master. + Cope with new MuPDF exceptions when setting rect for some Annot types. + Reduced cosmetic differences between MuPDF’s config.h and PyMuPDF’s _config.h. + Cope with various changes to MuPDF API. + * Other: + Fixed various broken links and typos in docs. + Mention install of swig-python on MacOS for #875. + Added (untested) wheels for macos-arm64. + ------------------------------------------------------------------- Fri Sep 9 10:00:51 UTC 2022 - John Vandenberg diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec index d8fb899..cf95f70 100644 --- a/python-PyMuPDF.spec +++ b/python-PyMuPDF.spec @@ -1,5 +1,5 @@ # -# spec file for package python-PyMuPDF +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -21,7 +21,7 @@ %define skip_python2 1 %define pypi_name PyMuPDF Name: python-%{pypi_name} -Version: 1.20.2 +Version: 1.21.0 Release: 0 Summary: Python binding for MuPDF, a PDF and XPS viewer License: AGPL-3.0-only