Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pdfminer.six for
openSUSE:Factory checked in at 2023-12-14 22:03:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pdfminer.six (Old)
and /work/SRC/openSUSE:Factory/.python-pdfminer.six.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pdfminer.six"
Thu Dec 14 22:03:40 2023 rev:7 rq:1133035 version:20221105
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pdfminer.six/python-pdfminer.six.changes
2023-08-28 17:13:45.905526345 +0200
+++
/work/SRC/openSUSE:Factory/.python-pdfminer.six.new.25432/python-pdfminer.six.changes
2023-12-14 22:03:44.681374745 +0100
@@ -1,0 +2,19 @@
+Mon Dec 11 17:24:21 UTC 2023 - Jonathan Papineau <[email protected]>
+
+- Update to 20221105
+ - Option to disable boxes flow layout analysis when using pdf2txt
+ - Add support for PDF 2.0 (ISO 32000-2) AES-256 encryption
+ - Support for Paeth PNG filter compression (predictor value = 4)
+ - Type annotations
+ - Export type annotations from pypi package per PEP561
+ - Support for identity cmap's
+ - Add support for PDF page labels
+ - Installation of Pillow as an optional extra dependency
+ - Exporting images without any specific encoding
+ - Output converter for the hOCR format
+ - Font name aliases for Arial, Courier New and Times New Roman
+ - Documentation on why special characters can sometimes not be extracted
+- Remove patch python-pdfminer.six-remove-nose.patch
+- Update dependencies
+
+-------------------------------------------------------------------
Old:
----
pdfminer.six-20200726.tar.gz
python-pdfminer.six-remove-nose.patch
New:
----
pdfminer.six-20221105.tar.gz
BETA DEBUG BEGIN:
Old: - Documentation on why special characters can sometimes not be extracted
- Remove patch python-pdfminer.six-remove-nose.patch
- Update dependencies
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pdfminer.six.spec ++++++
--- /var/tmp/diff_new_pack.xYRB71/_old 2023-12-14 22:03:45.417401293 +0100
+++ /var/tmp/diff_new_pack.xYRB71/_new 2023-12-14 22:03:45.421401436 +0100
@@ -18,25 +18,22 @@
%{?sle15_python_module_pythons}
Name: python-pdfminer.six
-Version: 20200726
+Version: 20221105
Release: 0
Summary: PDF parser and analyzer
License: MIT
URL: https://github.com/pdfminer/pdfminer.six
Source:
https://github.com/pdfminer/pdfminer.six/archive/%{version}.tar.gz#/pdfminer.six-%{version}.tar.gz
# https://github.com/pdfminer/pdfminer.six/pull/489
-Patch0: python-pdfminer.six-remove-nose.patch
-Patch1: import-from-non-pythonpath-files.patch
-BuildRequires: %{python_module chardet}
-BuildRequires: %{python_module cryptography}
+Patch0: import-from-non-pythonpath-files.patch
+BuildRequires: %{python_module charset-normalizer >= 2.0.0}
+BuildRequires: %{python_module cryptography >= 36.0.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module sortedcontainers}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-chardet
-Requires: python-cryptography
-Requires: python-sortedcontainers
+Requires: python-charset-normalizer >= 2.0.0
+Requires: python-cryptography >= 36.0.0
Requires(post): update-alternatives
Requires(postun):update-alternatives
Provides: python-pdfminer3k = %{version}
@@ -56,6 +53,7 @@
%autopatch -p1
sed -i -e '/^#!\//, 1d' pdfminer/psparser.py
sed -i '1i #!%{_bindir}/python3' tools/dumppdf.py tools/pdf2txt.py
+sed -i "s/__VERSION__/%{version}/g" pdfminer/__init__.py
%build
%python_build
++++++ import-from-non-pythonpath-files.patch ++++++
--- /var/tmp/diff_new_pack.xYRB71/_old 2023-12-14 22:03:45.441402158 +0100
+++ /var/tmp/diff_new_pack.xYRB71/_new 2023-12-14 22:03:45.441402158 +0100
@@ -1,36 +1,34 @@
-Index: pdfminer.six-20200726/tests/test_tools_dumppdf.py
-===================================================================
---- pdfminer.six-20200726.orig/tests/test_tools_dumppdf.py
-+++ pdfminer.six-20200726/tests/test_tools_dumppdf.py
-@@ -5,8 +5,11 @@ from tempfile import NamedTemporaryFile
+diff '--color=auto' -rub
pdfminer.six-20221105.orig/tests/test_tools_dumppdf.py
pdfminer.six-20221105/tests/test_tools_dumppdf.py
+--- pdfminer.six-20221105.orig/tests/test_tools_dumppdf.py 2022-11-05
12:22:08.000000000 -0400
++++ pdfminer.six-20221105/tests/test_tools_dumppdf.py 2023-12-11
12:12:06.044210731 -0500
+@@ -4,7 +4,11 @@
from helpers import absolute_sample_path
- from pdfminer.pdfdocument import PDFNoValidXRefWarning
+ from tempfilepath import TemporaryFilePath
-from tools import dumppdf
-
++
+import importlib.util
+spec = importlib.util.spec_from_file_location("dumppdf", "tools/dumppdf.py")
+dumppdf = importlib.util.module_from_spec(spec)
+spec.loader.exec_module(dumppdf)
+
def run(filename, options=None):
- absolute_path = absolute_sample_path(filename)
-Index: pdfminer.six-20200726/tests/test_tools_pdf2txt.py
-===================================================================
---- pdfminer.six-20200726.orig/tests/test_tools_pdf2txt.py
-+++ pdfminer.six-20200726/tests/test_tools_pdf2txt.py
-@@ -4,9 +4,13 @@ import os
- from shutil import rmtree
- from tempfile import NamedTemporaryFile, mkdtemp
+diff '--color=auto' -rub
pdfminer.six-20221105.orig/tests/test_tools_pdf2txt.py
pdfminer.six-20221105/tests/test_tools_pdf2txt.py
+--- pdfminer.six-20221105.orig/tests/test_tools_pdf2txt.py 2022-11-05
12:22:08.000000000 -0400
++++ pdfminer.six-20221105/tests/test_tools_pdf2txt.py 2023-12-11
12:12:40.848031179 -0500
+@@ -3,10 +3,13 @@
+ from tempfile import mkdtemp
+ import filecmp
-import tools.pdf2txt as pdf2txt
from helpers import absolute_sample_path
+ from tempfilepath import TemporaryFilePath
+import importlib.util
+spec = importlib.util.spec_from_file_location("pdf2txt", "tools/pdf2txt.py")
+pdf2txt = importlib.util.module_from_spec(spec)
+spec.loader.exec_module(pdf2txt)
-+
def run(sample_path, options=None):
absolute_path = absolute_sample_path(sample_path)
++++++ pdfminer.six-20200726.tar.gz -> pdfminer.six-20221105.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-pdfminer.six/pdfminer.six-20200726.tar.gz
/work/SRC/openSUSE:Factory/.python-pdfminer.six.new.25432/pdfminer.six-20221105.tar.gz
differ: char 12, line 1