14
0

- update to 8.2.1:

* Support for Python 3.7 is dropped.
  * Added Page.form_xobjects, which returns all Form XObjects that
    are used in a page 
  * Fixed an issue with extracting images that were compressed
    with multiple compression filters 
  * Improved Object.repr() to avoid printing the entire contents
    of large object trees such as those in PDFs with structural
    element trees.
  * Fixed error when attempting to convert XMP metadata to
    DocumentInfo when the author was omitted.
  * Added a method to add items to the document table of contents.
  * Adjusted stream preview (with __repr__) so it does not attempt
    to decompress very long
  * Removed uses of deprecated function datetime.utcnow()
  * Adjusted timeline of potentially flaky hypothesis test.
  * PyPy 3.10 is now supported on some platforms.
  * PyPy 3.8 support will be dropped in the next major release

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=34
This commit is contained in:
2023-07-24 07:54:45 +00:00
committed by Git OBS Bridge
parent b5de9d078f
commit c44f037cb5
4 changed files with 39 additions and 17 deletions

View File

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

3
pikepdf-8.2.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon Jul 24 07:47:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 8.2.1:
* Support for Python 3.7 is dropped.
* Added Page.form_xobjects, which returns all Form XObjects that
are used in a page
* Fixed an issue with extracting images that were compressed
with multiple compression filters
* Improved Object.repr() to avoid printing the entire contents
of large object trees such as those in PDFs with structural
element trees.
* Fixed error when attempting to convert XMP metadata to
DocumentInfo when the author was omitted.
* Added a method to add items to the document table of contents.
* Adjusted stream preview (with __repr__) so it does not attempt
to decompress very long
* Removed uses of deprecated function datetime.utcnow()
* Adjusted timeline of potentially flaky hypothesis test.
* PyPy 3.10 is now supported on some platforms.
* PyPy 3.8 support will be dropped in the next major release
-------------------------------------------------------------------
Wed May 10 06:39:40 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pikepdf
Version: 6.2.8.post1
Version: 8.2.1
Release: 0
Summary: Read and write PDFs with Python, powered by qpdf
License: MPL-2.0
@@ -30,32 +30,32 @@ Source: https://files.pythonhosted.org/packages/source/p/pikepdf/pikepdf
## SECTION test requirements
BuildRequires: %{python_module Pillow >= 9.0.0}
BuildRequires: %{python_module attrs >= 20.2.0}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis >= 5.0}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module hypothesis >= 6.36}
BuildRequires: %{python_module ipython}
BuildRequires: %{python_module lxml >= 4.0}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module psutil >= 5}
BuildRequires: %{python_module pybind11 >= 2.10.0}
BuildRequires: %{python_module psutil >= 5.9}
BuildRequires: %{python_module pybind11 >= 2.10.1}
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 >= 6.2.5}
BuildRequires: %{python_module pytest-cov >= 3.0.0}
BuildRequires: %{python_module pytest-forked}
BuildRequires: %{python_module pytest-helpers-namespace >= 2019.1.8}
# Upstream use pytest-timeout >= 1.4.2
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest-xdist >= 1.28}
BuildRequires: %{python_module python-dateutil >= 2.8.0}
BuildRequires: %{python_module pytest-timeout >= 2.1.0}
BuildRequires: %{python_module pytest-xdist >= 2.5.0}
BuildRequires: %{python_module python-dateutil >= 2.8.1}
#BuildRequires: %%{python_module python-xmp-toolkit >= 2.0.1}
BuildRequires: %{python_module setuptools >= 50}
BuildRequires: %{python_module setuptools_scm >= 4.1}
BuildRequires: %{python_module setuptools >= 61}
#BuildRequires: %%{python_module wheel >= 0.35}
## /SECTION
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libjpeg8-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libqpdf) >= 11.1.1
BuildRequires: pkgconfig(libqpdf) >= 11.5.0
Requires: python-Pillow >= 9.0.0
Requires: python-lxml >= 4.0
Requires: python-packaging
@@ -80,7 +80,7 @@ export CFLAGS="%{optflags}"
%files %{python_files}
%license LICENSE.txt
%doc README.md docs/*/*.rst
%doc README.md
%{python_sitearch}/pikepdf/
%{python_sitearch}/pikepdf-%{version}-py%{python_version}.egg-info/