Accepting request 1119887 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1119887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=19
This commit is contained in:
2023-10-24 18:09:14 +00:00
committed by Git OBS Bridge
4 changed files with 53 additions and 9 deletions

View File

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

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

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

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
Sat Oct 21 23:05:48 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- update to 8.5.2:
* Fix incorrect usage of sys_platform
* Don't install psutil on Windows and update other test dependencies
* Move psutil-needing tests to their own script
* Raise hypothesis deadlines
* Fix a few type hints
* Fix return values of global set/get fns and add get_access_default_mmap to pyi
* Update binary wheel list
* Simplify atomic_overwrite exception handler
* Increase arm64 build coverage - add musl and cp312
* Stop building PyPy3.8 wheels due to lack of Pillow support
* Implementation AFRelationship for AttachedFileSpec
* docs: update info about creating PDFs
* Change to building against libqpdf v11.6.1
* Disable pp3.10 since numpy binary wheels aren't released yet
* Merge branch 'trusted-release'
* Try adding url to see if it suppresses legacy warning
* Merge branch 'm-holger-rect'
* rect: tidy and prepare for release
* Fixing use of typing | on Python 3.9
* Add Python 3.8 shim
* Improve CCITT tests
* Implement Decode array to better support weird CCITTs
* Fix another CCITT inversion issue
* Improve available version documentation
* Better documentation for atomic_overwrite
* Fix saving file opened from BytesIO on Windows
* Change atomic_overwite to use exclusive creation
* black doesn't support py312 yet
* Update documentation for 3.12 support
* Update note about needsappearances
* Allow Python 3.12 build to fail
* Test Python 3.12 pre-release
* Merge pull request #504 from m-holger/qm
* Fix link to QPDF manual
* Add docs back to sdist
* build: found a way to make RTD trigger again
* build: Replace deprecated "::set-output"
* Add Rectangle operators '<=' and '&'
- Use pyproject
-------------------------------------------------------------------
Tue Jul 25 10:44:56 UTC 2023 - ecsos <ecsos@openssue.org>

View File

@@ -19,7 +19,7 @@
%{?sle15_python_module_pythons}
Name: python-pikepdf
Version: 8.2.1
Version: 8.5.2
Release: 0
Summary: Read and write PDFs with Python, powered by qpdf
License: MPL-2.0
@@ -46,8 +46,9 @@ 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 pip}
BuildRequires: %{python_module setuptools >= 61}
#BuildRequires: %%{python_module wheel >= 0.35}
BuildRequires: %{python_module wheel >= 0.37}
## /SECTION
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -68,10 +69,10 @@ Read and write PDFs with Python, powered by qpdf.
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -80,7 +81,6 @@ export CFLAGS="%{optflags}"
%files %{python_files}
%license LICENSE.txt
%doc README.md
%{python_sitearch}/pikepdf/
%{python_sitearch}/pikepdf-%{version}-py%{python_version}.egg-info/
%{python_sitearch}/pikepdf*
%changelog