From unknown Wed Sep 10 21:37:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#46654] [PATCH 1/2] gnu: Add python-pdfminer.six. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Feb 2021 07:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46654 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46654@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161380473414985 (code B ref -1); Sat, 20 Feb 2021 07:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Feb 2021 07:05:34 +0000 Received: from localhost ([127.0.0.1]:50855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDMKc-0003td-96 for submit@debbugs.gnu.org; Sat, 20 Feb 2021 02:05:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:33830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDMKa-0003tV-7l for submit@debbugs.gnu.org; Sat, 20 Feb 2021 02:05:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDMKa-0007jM-3a for guix-patches@gnu.org; Sat, 20 Feb 2021 02:05:32 -0500 Received: from mout02.posteo.de ([185.67.36.66]:40425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDMKX-0008Uw-Ol for guix-patches@gnu.org; Sat, 20 Feb 2021 02:05:31 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AF45F2400FC for ; Sat, 20 Feb 2021 08:05:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1613804726; bh=y7FJ8FefS66wOlkktJO8Oyt9vsMszxKpEvSwug8cMtI=; h=From:To:Cc:Subject:Date:From; b=hI3RcEDTZUVCsHs0v43I/jScSGgTEipLbqtvjCol9Bkr8iJs33MJ5uqlkYGZL3RSW Vv0sAMcCQylYe/iHr27jObAMflquWBmuWm0Mk2sUmguio0VHClvSYL6v7qO1BKDVWv kkENMn4fqfRj/J58Fw+cd8+OvF1lETVk+44/wm9xY+k8sEb8xGcwM5hx9HLDXQs5DE tZAwLSyUvMZDUKwZmWKjNvJgUCLNuct4smSFE7WlVyp0k0g2MEKXkrnPCGjEMuBwgD 80mGhDWdDupIkVFnBVZlkL0InKEjYkv9Ca/ADryfjB00L/Q1wGT6yduLp2yO04Qmnl 3fkPC8mN/JUog== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DjKGF2VJtz6tmG; Sat, 20 Feb 2021 08:05:25 +0100 (CET) From: Vinicius Monego Date: Sat, 20 Feb 2021 04:05:03 -0300 Message-Id: <20210220070503.36250-1-monego@posteo.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (python-pdfminer.six): New variable. --- gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a504bb521b..fe55d9b74e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12251,6 +12251,55 @@ encoding algorithms to do fuzzy string matching.") module, adding support for Unicode strings.") (license license:bsd-2))) +(define-public python-pdfminer.six + (package + (name "python-pdfminer.six") + (version "20201018") + ;; There are no tests in the PyPI tarball. + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pdfminer/pdfminer.six") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1a2fxxnnjqbx344znpvx7cnv1881dk6585ibw01inhfq3w6yj2lr")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Tests write to the source tree. + (add-after 'unpack 'make-git-checkout-writable + (lambda _ + (for-each make-file-writable (find-files ".")) + #t)) + (replace 'check + (lambda _ + (invoke "make" "test"))) + (add-before 'reset-gzip-timestamps 'make-files-writable + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each make-file-writable + (find-files out "\\.gz$")) + #t)))))) + (propagated-inputs + `(("python-chardet" ,python-chardet) + ("python-cryptography" ,python-cryptography) + ("python-sortedcontainers" + ,python-sortedcontainers))) + (native-inputs + `(("python-nose" ,python-nose) + ("python-tox" ,python-tox))) + (home-page "https://github.com/pdfminer/pdfminer.six") + (synopsis "PDF parser and analyzer") + (description "@code{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.") + (license license:expat))) + (define-public python-rarfile (package (name "python-rarfile") -- 2.30.1 From unknown Wed Sep 10 21:37:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#46654] [PATCH 2/2] gnu: setzer: Update to 0.4.1. References: <20210220070503.36250-1-monego@posteo.net> In-Reply-To: <20210220070503.36250-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Feb 2021 07:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46654 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46654@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 46654-submit@debbugs.gnu.org id=B46654.161380482615160 (code B ref 46654); Sat, 20 Feb 2021 07:08:01 +0000 Received: (at 46654) by debbugs.gnu.org; 20 Feb 2021 07:07:06 +0000 Received: from localhost ([127.0.0.1]:50861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDMM5-0003wS-Lp for submit@debbugs.gnu.org; Sat, 20 Feb 2021 02:07:06 -0500 Received: from mout01.posteo.de ([185.67.36.65]:37113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDMM0-0003vv-CQ for 46654@debbugs.gnu.org; Sat, 20 Feb 2021 02:07:04 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3E70816005C for <46654@debbugs.gnu.org>; Sat, 20 Feb 2021 08:06:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1613804814; bh=WimBibQOa1eweQxZX6iZrwliisS+cRP82wznlpDcQYs=; h=From:To:Cc:Subject:Date:From; b=aMdSBKeLe9TSvHRaUmgHlmCTwBbJKX/jBRi3th4mwvadEIP7jAu1CXtQbCveh8XIo /58oglEezVDXzWLCu5/0Zqe1JUafd5GDoDSpOSdRm4Qtj10cqUaurQMmCZMl+5ws+8 uC/QCT4Jj4WSeyCo6zFajGzl0LfhyO5mIOb6qJiLPOTiPLyy6dzfkIcAff0txBfH0N V7XEwzt+fzxjJFhDU59EwaE6XfG0653Yxt+smSYcK8dOV8due/ywyWvP5PTJSCrPcz 95NRTsrPCmrRARHbM+3bx0Ymh+kzG2BlEoN1xzqMyWlxG/DaG4LQAiua6SBXpoRlMC UTNetd7uJtfXQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DjKHw4rCGz9rxM; Sat, 20 Feb 2021 08:06:52 +0100 (CET) From: Vinicius Monego Date: Sat, 20 Feb 2021 04:06:37 -0300 Message-Id: <20210220070637.36397-1-monego@posteo.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/gnome.scm (setzer): Update to 0.4.1. [inputs]: Add python-pdfminer.six. --- gnu/packages/gnome.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ebb21c08ce..37db6fbdc6 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11468,7 +11468,7 @@ and toolbars.") (define-public setzer (package (name "setzer") - (version "0.3.9") + (version "0.4.1") (source (origin (method git-fetch) @@ -11477,7 +11477,7 @@ and toolbars.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1qmy2bxl8x6pijjaaj91v6rqdipha6iyy0b6b9y1lk3r2p3azd42")))) + (base32 "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av")))) (build-system meson-build-system) (arguments `(#:glib-or-gtk? #t @@ -11509,6 +11509,7 @@ and toolbars.") ("gtksourceview" ,gtksourceview) ("pango" ,pango) ("poppler" ,poppler) + ("python-pdfminer" ,python-pdfminer.six) ("python-pycairo" ,python-pycairo) ("python-pygobject" ,python-pygobject) ("python-pyxdg" ,python-pyxdg) -- 2.30.1 From unknown Wed Sep 10 21:37:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vinicius Monego Subject: bug#46654: closed (Re: [bug#46654] [PATCH 2/2] gnu: setzer: Update to 0.4.1.) Message-ID: References: <874ki6z2u1.fsf@nicolasgoaziou.fr> <20210220070503.36250-1-monego@posteo.net> X-Gnu-PR-Message: they-closed 46654 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 46654@debbugs.gnu.org Date: Sun, 21 Feb 2021 00:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1613867042-9674-1" This is a multi-part message in MIME format... ------------=_1613867042-9674-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #46654: [PATCH 1/2] gnu: Add python-pdfminer.six. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 46654@debbugs.gnu.org. --=20 46654: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46654 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1613867042-9674-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 46654-done) by debbugs.gnu.org; 21 Feb 2021 00:23:15 +0000 Received: from localhost ([127.0.0.1]:53158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDcWp-0002Uf-KZ for submit@debbugs.gnu.org; Sat, 20 Feb 2021 19:23:15 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:52933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDcWl-0002UO-0b for 46654-done@debbugs.gnu.org; Sat, 20 Feb 2021 19:23:13 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 1DF151C0003; Sun, 21 Feb 2021 00:23:03 +0000 (UTC) From: Nicolas Goaziou To: Vinicius Monego Subject: Re: [bug#46654] [PATCH 2/2] gnu: setzer: Update to 0.4.1. References: <20210220070503.36250-1-monego@posteo.net> <20210220070637.36397-1-monego@posteo.net> Date: Sun, 21 Feb 2021 01:23:02 +0100 In-Reply-To: <20210220070637.36397-1-monego@posteo.net> (Vinicius Monego's message of "Sat, 20 Feb 2021 04:06:37 -0300") Message-ID: <874ki6z2u1.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46654-done Cc: 46654-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Vinicius Monego writes: > * gnu/packages/gnome.scm (setzer): Update to 0.4.1. > [inputs]: Add python-pdfminer.six. I used python-pdfminer-six name instead of python-pdfminer.six, and applied both patches. Thank you. Regards, -- Nicolas Goaziou ------------=_1613867042-9674-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Feb 2021 07:05:34 +0000 Received: from localhost ([127.0.0.1]:50855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDMKc-0003td-96 for submit@debbugs.gnu.org; Sat, 20 Feb 2021 02:05:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:33830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDMKa-0003tV-7l for submit@debbugs.gnu.org; Sat, 20 Feb 2021 02:05:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDMKa-0007jM-3a for guix-patches@gnu.org; Sat, 20 Feb 2021 02:05:32 -0500 Received: from mout02.posteo.de ([185.67.36.66]:40425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDMKX-0008Uw-Ol for guix-patches@gnu.org; Sat, 20 Feb 2021 02:05:31 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AF45F2400FC for ; Sat, 20 Feb 2021 08:05:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1613804726; bh=y7FJ8FefS66wOlkktJO8Oyt9vsMszxKpEvSwug8cMtI=; h=From:To:Cc:Subject:Date:From; b=hI3RcEDTZUVCsHs0v43I/jScSGgTEipLbqtvjCol9Bkr8iJs33MJ5uqlkYGZL3RSW Vv0sAMcCQylYe/iHr27jObAMflquWBmuWm0Mk2sUmguio0VHClvSYL6v7qO1BKDVWv kkENMn4fqfRj/J58Fw+cd8+OvF1lETVk+44/wm9xY+k8sEb8xGcwM5hx9HLDXQs5DE tZAwLSyUvMZDUKwZmWKjNvJgUCLNuct4smSFE7WlVyp0k0g2MEKXkrnPCGjEMuBwgD 80mGhDWdDupIkVFnBVZlkL0InKEjYkv9Ca/ADryfjB00L/Q1wGT6yduLp2yO04Qmnl 3fkPC8mN/JUog== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DjKGF2VJtz6tmG; Sat, 20 Feb 2021 08:05:25 +0100 (CET) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH 1/2] gnu: Add python-pdfminer.six. Date: Sat, 20 Feb 2021 04:05:03 -0300 Message-Id: <20210220070503.36250-1-monego@posteo.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (python-pdfminer.six): New variable. --- gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a504bb521b..fe55d9b74e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12251,6 +12251,55 @@ encoding algorithms to do fuzzy string matching.") module, adding support for Unicode strings.") (license license:bsd-2))) +(define-public python-pdfminer.six + (package + (name "python-pdfminer.six") + (version "20201018") + ;; There are no tests in the PyPI tarball. + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pdfminer/pdfminer.six") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1a2fxxnnjqbx344znpvx7cnv1881dk6585ibw01inhfq3w6yj2lr")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Tests write to the source tree. + (add-after 'unpack 'make-git-checkout-writable + (lambda _ + (for-each make-file-writable (find-files ".")) + #t)) + (replace 'check + (lambda _ + (invoke "make" "test"))) + (add-before 'reset-gzip-timestamps 'make-files-writable + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each make-file-writable + (find-files out "\\.gz$")) + #t)))))) + (propagated-inputs + `(("python-chardet" ,python-chardet) + ("python-cryptography" ,python-cryptography) + ("python-sortedcontainers" + ,python-sortedcontainers))) + (native-inputs + `(("python-nose" ,python-nose) + ("python-tox" ,python-tox))) + (home-page "https://github.com/pdfminer/pdfminer.six") + (synopsis "PDF parser and analyzer") + (description "@code{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.") + (license license:expat))) + (define-public python-rarfile (package (name "python-rarfile") -- 2.30.1 ------------=_1613867042-9674-1--