From cf226caae5ed56158ecec5373eebd659e3f2e38cfbf873ebe83811765facca88 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 19 Oct 2022 20:04:55 +0000 Subject: [PATCH] Accepting request 1010227 from home:CJ:branches:devel:languages:python - Update to version 6.2.0: * Add new keyword argument Pdf.save - version 6.1.0: Rebuild wheels with qpdf 11.1.1. - version 6.0.2: * Fixed large increase in binary wheel file size for linux wheels. * Provide macOS and Linux wheels for Python 3.11. - version 6.0.1: * Use qpdf 11.1.0 - version 6.0.0: * pikepdf 6.0.0 released to align with backward incompatible changes in qpdf 11. * Remove deprecated APIs - version 5.6.1: * Made treatment of CCITT image photometry ignore BlackIs1. - version 5.6.0: * Improved support for extracting the contents of inline images. * Marked some "always should have been private" functions as deprecated with removal planned for v6, mainly in pikepdf.models.image. * Fixed all Python documentation style inconsistencies. - version 5.5.0: * Fixed undefined behavior on creating NameTree on direct object. * Fixed sdist with coverage build. * Added support for specifying QPDF's library build directory, for compatibility with QPDF's transition to cmake. * QPDF_* environment variables will modify build paths even when CFLAGS is defined. * Fixed case where GIL was not held while discarding a certain exception. * Now using cibuildwheel 2.9.0. * Many typo fixes. - version 5.4.2: * Fixed Pages.__eq__ not returning NotImplemented when it ought to. * Fixed possible problems with NameTree and NumberTree.__eq__ operators. * Changed to SPDX license headers throughout. - version 5.4.1: * Fixed ReadTheDocs build, updated versions, fixed a test warning, improved coverage, modernized type annotations. - version 5.4.0: * New feature: pikepdf.Job bindings to QPDFJob API. * New feature: pikepdf.NumberTree to support manipulation of number trees. * Many improvements to pikepdf.NameTree including the ability to instantiate a new name tree. * Several memory leaks were fixed. * Rebuilt against pybind11 2.10.0. - version 5.3.2: Build system requires changed to setuptools-scm 7.0.5. - version 5.3.1: * Fixed issue with parsing inline images, causing loss of data after inline images were encountered in a content stream. :issue:`299 - version 5.3.0: * Binary wheels for Linux aarch64 are now being rolled automatically. * Refactor JBIG2 handling to make JBIG2 decoders more testable and pluggable. * Fixed some typing issues around ObjectHelper. * Exposed some pikepdf settings that were attached to the private _qpdf module in a new pikepdf.settings module. - version 5.2.0: * Avoid versions of setuptools_scm found to cause build issues. :issue:`359` * Improved unhelpful error message when attemping to save a file with invalid encryption settings. :issue:`341` * Added workaround for XMP metadata blocks that are missing the expected namespace tag. :issue:`349` * Minor code improvements, removed some deprecated private methods. OBS-URL: https://build.opensuse.org/request/show/1010227 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=28 --- pikepdf-5.1.5.tar.gz | 3 -- pikepdf-6.2.0.tar.gz | 3 ++ python-pikepdf.changes | 64 ++++++++++++++++++++++++++++++++++++++++++ python-pikepdf.spec | 10 +++---- 4 files changed, 72 insertions(+), 8 deletions(-) delete mode 100644 pikepdf-5.1.5.tar.gz create mode 100644 pikepdf-6.2.0.tar.gz diff --git a/pikepdf-5.1.5.tar.gz b/pikepdf-5.1.5.tar.gz deleted file mode 100644 index 3e62c77..0000000 --- a/pikepdf-5.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0af747f989d0de8302e6e58e3da4c38d230bad6138b1cbb8dc6838e16285e63f -size 2366970 diff --git a/pikepdf-6.2.0.tar.gz b/pikepdf-6.2.0.tar.gz new file mode 100644 index 0000000..6d61daf --- /dev/null +++ b/pikepdf-6.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a6731d19c338ecf98159fa9989eaffbb15b9c25c6eef366a0c5b2a68c299849 +size 2914316 diff --git a/python-pikepdf.changes b/python-pikepdf.changes index 5552ce5..37292e1 100644 --- a/python-pikepdf.changes +++ b/python-pikepdf.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Wed Oct 12 03:20:48 UTC 2022 - C J + +- Update to version 6.2.0: + * Add new keyword argument Pdf.save +- version 6.1.0: Rebuild wheels with qpdf 11.1.1. +- version 6.0.2: + * Fixed large increase in binary wheel file size for linux wheels. + * Provide macOS and Linux wheels for Python 3.11. +- version 6.0.1: + * Use qpdf 11.1.0 +- version 6.0.0: + * pikepdf 6.0.0 released to align with backward incompatible + changes in qpdf 11. + * Remove deprecated APIs +- version 5.6.1: + * Made treatment of CCITT image photometry ignore BlackIs1. +- version 5.6.0: + * Improved support for extracting the contents of inline images. + * Marked some "always should have been private" functions as deprecated + with removal planned for v6, mainly in pikepdf.models.image. + * Fixed all Python documentation style inconsistencies. +- version 5.5.0: + * Fixed undefined behavior on creating NameTree on direct object. + * Fixed sdist with coverage build. + * Added support for specifying QPDF's library build directory, for + compatibility with QPDF's transition to cmake. + * QPDF_* environment variables will modify build paths even when CFLAGS + is defined. + * Fixed case where GIL was not held while discarding a certain exception. + * Now using cibuildwheel 2.9.0. + * Many typo fixes. +- version 5.4.2: + * Fixed Pages.__eq__ not returning NotImplemented when it ought to. + * Fixed possible problems with NameTree and NumberTree.__eq__ operators. + * Changed to SPDX license headers throughout. +- version 5.4.1: + * Fixed ReadTheDocs build, updated versions, fixed a test warning, improved + coverage, modernized type annotations. +- version 5.4.0: + * New feature: pikepdf.Job bindings to QPDFJob API. + * New feature: pikepdf.NumberTree to support manipulation of number trees. + * Many improvements to pikepdf.NameTree including the ability to instantiate + a new name tree. + * Several memory leaks were fixed. + * Rebuilt against pybind11 2.10.0. +- version 5.3.2: Build system requires changed to setuptools-scm 7.0.5. +- version 5.3.1: + * Fixed issue with parsing inline images, causing loss of data after inline + images were encountered in a content stream. :issue:`299 +- version 5.3.0: + * Binary wheels for Linux aarch64 are now being rolled automatically. + * Refactor JBIG2 handling to make JBIG2 decoders more testable and pluggable. + * Fixed some typing issues around ObjectHelper. + * Exposed some pikepdf settings that were attached to the private _qpdf + module in a new pikepdf.settings module. +- version 5.2.0: + * Avoid versions of setuptools_scm found to cause build issues. :issue:`359` + * Improved unhelpful error message when attemping to save a file with + invalid encryption settings. :issue:`341` + * Added workaround for XMP metadata blocks that are missing the expected + namespace tag. :issue:`349` + * Minor code improvements, removed some deprecated private methods. + ------------------------------------------------------------------- Fri Jun 17 00:45:31 UTC 2022 - Atri Bhattacharya diff --git a/python-pikepdf.spec b/python-pikepdf.spec index 0fa56da..0a86d29 100644 --- a/python-pikepdf.spec +++ b/python-pikepdf.spec @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pikepdf -Version: 5.1.5 +Version: 6.2.0 Release: 0 Summary: Read and write PDFs with Python, powered by qpdf License: MPL-2.0 @@ -36,8 +36,8 @@ BuildRequires: %{python_module ipython} BuildRequires: %{python_module lxml >= 4.0} BuildRequires: %{python_module packaging} BuildRequires: %{python_module psutil >= 5} -BuildRequires: %{python_module pybind11 >= 2.9.0} -BuildRequires: %{python_module pybind11-devel >= 2.9.0} +BuildRequires: %{python_module pybind11 >= 2.10.0} +BuildRequires: %{python_module pybind11-devel >= 2.10.0} BuildRequires: %{python_module pytest >= 6.0.0} BuildRequires: %{python_module pytest-cov >= 2.10.1} BuildRequires: %{python_module pytest-forked} @@ -56,7 +56,7 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: pkgconfig(libqpdf) >= 10.6.2 +BuildRequires: pkgconfig(libqpdf) >= 11.1.1 Requires: python-Pillow >= 9.0.0 Requires: python-lxml >= 4.0 Requires: python-packaging @@ -80,7 +80,7 @@ export CFLAGS="%{optflags}" %pytest_arch %files %{python_files} -%license LICENSE.txt licenses +%license LICENSE.txt %doc README.md docs/*/*.rst %{python_sitearch}/pikepdf/ %{python_sitearch}/pikepdf-%{version}-py%{python_version}.egg-info/