From 42871aca5a82d0cf70faeeb13167deff4ccf750ff707ffce2a4c5ee72ff4815a Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Tue, 11 Apr 2023 18:23:03 +0000 Subject: [PATCH] Accepting request 1078469 from home:pgajdos:python - python-six is not required - python-pycryptodome is not required OBS-URL: https://build.opensuse.org/request/show/1078469 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdfminer.six?expand=0&rev=8 --- python-pdfminer.six.changes | 6 ++++++ python-pdfminer.six.spec | 22 ++++++---------------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/python-pdfminer.six.changes b/python-pdfminer.six.changes index a33c563..9956094 100644 --- a/python-pdfminer.six.changes +++ b/python-pdfminer.six.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 11 14:39:08 UTC 2023 - pgajdos@suse.com + +- python-six is not required +- python-pycryptodome is not required + ------------------------------------------------------------------- Tue Nov 9 07:32:27 UTC 2021 - Steve Kowalik diff --git a/python-pdfminer.six.spec b/python-pdfminer.six.spec index 3f0ac89..c014c02 100644 --- a/python-pdfminer.six.spec +++ b/python-pdfminer.six.spec @@ -1,7 +1,7 @@ # # spec file for package python-pdfminer.six # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pdfminer.six Version: 20200726 @@ -30,17 +29,13 @@ Patch0: python-pdfminer.six-remove-nose.patch Patch1: import-from-non-pythonpath-files.patch BuildRequires: %{python_module chardet} BuildRequires: %{python_module cryptography} -BuildRequires: %{python_module pycryptodome} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: %{python_module sortedcontainers} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-chardet Requires: python-cryptography -Requires: python-pycryptodome -Requires: python-six Requires: python-sortedcontainers Requires(post): update-alternatives Requires(postun):update-alternatives @@ -50,16 +45,11 @@ BuildArch: noarch %python_subpackages %description -Fork of PDFMiner using six for Python3 compatibility. - -PDFMiner is a tool for extracting information from PDF documents. -Unlike other PDF-related tools, it focuses entirely on getting -and analyzing text data. PDFMiner allows to obtain the exact -location of texts in a page, as well as other information such -as fonts or lines. It includes a PDF converter that can transform -PDF files into other text formats (such as HTML). It has an -extensible PDF parser that can be used for other purposes instead -of text analysis. +Pdfminer.six is a community maintained fork of the original PDFMiner. It +is a tool for extracting information from PDF documents. It focuses on +getting and analyzing text data. Pdfminer.six extracts the text from a +page directly from the sourcecode of the PDF. It can also be used to get +the exact location, font or color of the text. %prep %setup -q -n pdfminer.six-%{version}