Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
fd415ff4fb | |||
a0f2e1025c |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:548db64879d6bef83d20654389a5d0ab4c1df496d7e13cc982c3109054f31080
|
|
||||||
size 10951846
|
|
3
pdfminer.six-20250327.tar.gz
Normal file
3
pdfminer.six-20250327.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:472876be304ae582565bc73a2fa0f55ca865c459f6e87ad32670661ba419df8c
|
||||||
|
size 11634513
|
@@ -1,3 +1,49 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 7 05:17:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 20250327:
|
||||||
|
* Added
|
||||||
|
+ Support for Python 3.13
|
||||||
|
+ Support for zipped jpeg's
|
||||||
|
+ Fuzzing harnesses for integration into Google's OSS-Fuzz
|
||||||
|
+ Support for setuptools-git-versioning version 2.0.0
|
||||||
|
* Changed
|
||||||
|
+ Reduce memory overhead on runlength encoding by using lists
|
||||||
|
+ Using pyproject.toml instead of setup.py
|
||||||
|
+ Updated Python 3.7 syntax to 3.8
|
||||||
|
+ Updated all Python version specifications to a minimum of 3.8
|
||||||
|
+ Using absolute instead of relative imports
|
||||||
|
+ Using standard library functions for ascii85 and asciihex
|
||||||
|
* Fixed
|
||||||
|
+ TypeError when CID character widths are not parseable as floats
|
||||||
|
+ TypeError raised by extract_text method with compressed PDF file
|
||||||
|
+ PSBaseParser can't handle tokens split across end of buffer
|
||||||
|
+ TypeError when CropBox is an indirect object reference
|
||||||
|
+ Remove redundant line to be able to recognize rectangles
|
||||||
|
+ Support indirect objects for filters
|
||||||
|
+ Make sure bytes is bytes where it counts
|
||||||
|
+ TypeError when corrupt PDF object reference cannot be parsed as int
|
||||||
|
+ TypeError when corrupt PDF literal cannot be converted to str
|
||||||
|
+ ValueError when corrupt PDF specifies a negative xref location
|
||||||
|
+ ValueError when corrupt PDF specifies an invalid mediabox
|
||||||
|
+ RecursionError when corrupt PDF specifies a recursive /Pages object
|
||||||
|
+ TypeError when corrupt PDF specifies text-positioning operators with
|
||||||
|
invalid values
|
||||||
|
+ inline image parsing fails when stream data contains "EI\n"
|
||||||
|
+ TypeError when parsing object reference as mediabox
|
||||||
|
+ Resolving mediabox and pdffont
|
||||||
|
+ Keywords that aren't terminated by the pattern END_KEYWORD before
|
||||||
|
end-of-stream are parsed
|
||||||
|
+ ValueError wrong error message when specifying codec for text output
|
||||||
|
+ Resolve stream filter parameters
|
||||||
|
+ Reading cmap's with whitespace in the name
|
||||||
|
+ Optimize apply_png_predictor by using lists
|
||||||
|
* Deprecated
|
||||||
|
+ The third argument (generation number) to PDFObjRef
|
||||||
|
* Removed
|
||||||
|
+ Support for Python 3.8
|
||||||
|
+ Deprecated tools, functions and classes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 7 20:34:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sun Jan 7 20:34:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pdfminer.six
|
# spec file for package python-pdfminer.six
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,24 +18,25 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pdfminer.six
|
Name: python-pdfminer.six
|
||||||
Version: 20231228
|
Version: 20250327
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: PDF parser and analyzer
|
Summary: PDF parser and analyzer
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pdfminer/pdfminer.six
|
URL: https://github.com/pdfminer/pdfminer.six
|
||||||
Source: https://github.com/pdfminer/pdfminer.six/archive/%{version}.tar.gz#/pdfminer.six-%{version}.tar.gz
|
Source: https://github.com/pdfminer/pdfminer.six/archive/%{version}.tar.gz#/pdfminer.six-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
BuildRequires: %{python_module charset-normalizer >= 2.0.0}
|
BuildRequires: %{python_module charset-normalizer >= 2.0.0}
|
||||||
BuildRequires: %{python_module cryptography >= 36.0.0}
|
BuildRequires: %{python_module cryptography >= 36.0.0}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools-git-versioning}
|
BuildRequires: %{python_module setuptools_scm >= 8}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-charset-normalizer >= 2.0.0
|
Requires: python-charset-normalizer >= 2.0.0
|
||||||
Requires: python-cryptography >= 36.0.0
|
Requires: python-cryptography >= 36.0.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Provides: python-pdfminer3k = %{version}
|
Provides: python-pdfminer3k = %{version}
|
||||||
Obsoletes: python-pdfminer3k < %{version}
|
Obsoletes: python-pdfminer3k < %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -55,6 +56,7 @@ sed -i '1i #!%{_bindir}/python3' tools/dumppdf.py tools/pdf2txt.py
|
|||||||
sed -i "s/__VERSION__/%{version}/g" pdfminer/__init__.py
|
sed -i "s/__VERSION__/%{version}/g" pdfminer/__init__.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -83,6 +85,6 @@ mv %{buildroot}%{_bindir}/pdf2txt.py %{buildroot}%{_bindir}/pdf2txt
|
|||||||
%python_alternative %{_bindir}/dumppdf
|
%python_alternative %{_bindir}/dumppdf
|
||||||
%python_alternative %{_bindir}/pdf2txt
|
%python_alternative %{_bindir}/pdf2txt
|
||||||
%{python_sitelib}/pdfminer
|
%{python_sitelib}/pdfminer
|
||||||
%{python_sitelib}/pdfminer.six-*.dist-info
|
%{python_sitelib}/pdfminer[_.]six-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user