From patchwork Sun Jun 9 09:35:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 65256 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E9ACC27BBE9; Sun, 9 Jun 2024 10:45:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0BBF027BBE2 for ; Sun, 9 Jun 2024 10:45:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGF6a-0008U3-7M; Sun, 09 Jun 2024 05:44:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sGF6Y-0008Tf-Ha for guix-patches@gnu.org; Sun, 09 Jun 2024 05:44:50 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sGF6Y-00081k-8r; Sun, 09 Jun 2024 05:44:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sGF6j-0005bZ-Op; Sun, 09 Jun 2024 05:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67970] [PATCH v2] gnu: python-pdfminer-six: Update to 20231228. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 09 Jun 2024 09:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67970 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67970@debbugs.gnu.org Cc: Felix Gruber , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 67970-submit@debbugs.gnu.org id=B67970.171792625321410 (code B ref 67970); Sun, 09 Jun 2024 09:45:01 +0000 Received: (at 67970) by debbugs.gnu.org; 9 Jun 2024 09:44:13 +0000 Received: from localhost ([127.0.0.1]:55715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGF5x-0005ZD-2u for submit@debbugs.gnu.org; Sun, 09 Jun 2024 05:44:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGF5u-0005Yj-RO for 67970@debbugs.gnu.org; Sun, 09 Jun 2024 05:44:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 43D08240101 for <67970@debbugs.gnu.org>; Sun, 9 Jun 2024 11:35:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1717925737; bh=F56lYNKS/7KZu1hf+8HqcBEQACHltHsFINgdpDbfm1c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=GWaNS5edkVL+CsHDmeOreJaNXyzJ0j9rfgTTxivm+KmybxhCxNsFMW/p/Ds3yyDUV cCwIAUcCVG+sh7v8oEv5VXZzvfA/I7R5Jmp0BnbM9E5p7i5IMh2Ye/PmO6L5qmbrS+ k0amQq1wi0+3+lcmNv2ZcdKUenVIl/j98aVsqRGqbL2SB3TZqND0nvX38IlyJUxOcS HQGO6m1cm1XnWfLUTh0IipkskMkFXp5yvmQH6pWBz0IlhNwRiymxlN/71mXNlkWROJ +rJfHl/g88dMg+7ebkC/RE/kNupOTR4K+fxj2ZfpjV0vpzBIWl890byK3k+LEN/gEn HXOTVXHxIkyTg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VxqYN5f99z6twD; Sun, 9 Jun 2024 11:35:36 +0200 (CEST) From: Felix Gruber Date: Sun, 9 Jun 2024 09:35:07 +0000 Message-ID: <4f503089d8d97215efe632e3048934b6278477d7.1717925707.git.felgru@posteo.net> In-Reply-To: <00adf56591326b3694c391c78f6a9613f9e78ba2.1703267366.git.felgru@posteo.net> References: <00adf56591326b3694c391c78f6a9613f9e78ba2.1703267366.git.felgru@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pdfminer-six): Update to 20231228. [build-system]: Use pyproject-build-system. [arguments]: Convert to gexp and remove custom 'check phase. [propagated-inputs]: Remove python-chardet and python-sortedcontainers; add python-charset-normalizer. [native-inputs]: Remove python-nose and python-tox; add python-pytest. Change-Id: I9913385a681b32afde930e32e7379db91357177b --- gnu/packages/python-xyz.scm | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) base-commit: bc8a41f4a8d9f1f0525d7bc97c67ed3c8aea3111 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c22df7728a..b34caef16a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19926,7 +19926,7 @@ (define-public python-jellyfish (define-public python-pdfminer-six (package (name "python-pdfminer-six") - (version "20201018") + (version "20231228") ;; There are no tests in the PyPI tarball. (source (origin @@ -19936,23 +19936,19 @@ (define-public python-pdfminer-six (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1a2fxxnnjqbx344znpvx7cnv1881dk6585ibw01inhfq3w6yj2lr")))) - (build-system python-build-system) + (base32 "1anyr0gm7amwls8qifflql1viz5rq6q95lfwcg43v3180h4w8wrd")))) + (build-system pyproject-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")))))) + (list #: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 "."))))))) (propagated-inputs - (list python-chardet python-cryptography python-sortedcontainers)) + (list python-charset-normalizer python-cryptography)) (native-inputs - (list python-nose python-tox)) + (list python-pytest)) (home-page "https://github.com/pdfminer/pdfminer.six") (synopsis "PDF parser and analyzer") (description "@code{pdfminer.six} is a community maintained fork of