From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SNEqIAWfyGN+JQAAbAwnHQ (envelope-from ) for ; Thu, 19 Jan 2023 02:38:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iAFDHwWfyGPqSAAAG6o9tA (envelope-from ) for ; Thu, 19 Jan 2023 02:38:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4AF61B1DD for ; Thu, 19 Jan 2023 02:38:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIJsS-0007GU-LG; Wed, 18 Jan 2023 20:38:04 -0500 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 1pIJsQ-0007GF-UZ for guix-patches@gnu.org; Wed, 18 Jan 2023 20:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIJsQ-0003Kd-K6 for guix-patches@gnu.org; Wed, 18 Jan 2023 20:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pIJsQ-0001ab-A6 for guix-patches@gnu.org; Wed, 18 Jan 2023 20:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60941] [PATCH 1/2] gnu: Add python-pypdf. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Jan 2023 01:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60941 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 60941@debbugs.gnu.org Received: via spool by 60941-submit@debbugs.gnu.org id=B60941.16740922286047 (code B ref 60941); Thu, 19 Jan 2023 01:38:02 +0000 Received: (at 60941) by debbugs.gnu.org; 19 Jan 2023 01:37:08 +0000 Received: from localhost ([127.0.0.1]:42134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIJrY-0001ZS-5b for submit@debbugs.gnu.org; Wed, 18 Jan 2023 20:37:08 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:39600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIJrV-0001Yx-S2 for 60941@debbugs.gnu.org; Wed, 18 Jan 2023 20:37:06 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 96D8A1AB68 for <60941@debbugs.gnu.org>; Wed, 18 Jan 2023 17:36:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1674092219; bh=g4YppAYOMliOubPpwj9hqsHuXAdJVOIrqM/m/Wrpn7o=; h=From:To:Subject:In-Reply-To:References:Date:From; b=v3Elibg071+iVgs/7i4/BD/mD2hE5zBAcDGS8jyJZmH1DVDImPTNt0pMjNbtpmWQm P5FqdGmVy0CwHLXWeibe2S7eYvclpXYmqjM0joiQlEQ7A8jmOOGDIVQw0+SnYr0oVs R5MJICjjM828iJ2v5w+jvm/Mq3X7498Mi17aGXF9EZQYZPYqnNtTwm4Xm/8wZptO0o MJUV2Rl3R/yy0TVRSV8O10EhkRMnjWHOQ1XaGlpuwcDSCCkduZuNj4KYjcBU125RWw WWQJSYt0L20fxeqQ2CUtDL3+Dw+fS9L7x1xQILKWiC+mTkDI5qlRr6+789RS4zM3B4 WiY66Ot6T7yKA== From: Vagrant Cascadian In-Reply-To: References: <87ilh3z4vo.fsf@contorta> Date: Wed, 18 Jan 2023 17:36:54 -0800 Message-ID: <87edrrz4nd.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674092293; a=rsa-sha256; cv=none; b=WlCMzacwLaa7/3dnwcXT36XzcgoQJ3lLPU6/DTk2rg+QZk/ECWQTzZiPWW5UMSpjcft/qH RN6DuiljxRMX0pQtGGpeKOBw6/gfuoAVkjXfCCqpVDCZAVNkK1+FRwFyU4UpoWqk3Gn03A XHCi2Q0d17e5Ht1ZZfyYHoPWCngpdg6w8I1FgpU6o1rRqSH3Pt+xVetQS4CyJSMd5eRFM/ uESzPazlCbDM/ABb8deUy9yw6uc03dXMRJCyf6Ak5Ehqod6/W1LEBK3ZJVqes5yzrrDMhY mYSRWDr2+moq8fUnpyJ4nLH9O132zsJBJonxMjOsJRnK8GUe29rjcAQ99XP6FA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reproducible-builds.org header.s=1.vagrant header.b=v3Elibg0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674092293; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=aUZLKdsAm+QO/1SifNj6HHK2FyzS+wsv+AG7eorcS6o=; b=GR837iaj7BZuot3Qzu6F/eWcpr21UMo8U1ewjPXQGn0R0lJQG1jbYCKO/MgnfgzMr9aVJA paDHNwFz/3eXQkvoqw9t+Unvet0G5dn7MgxD4LLXkXH9eEh+DoBHXV61YAaKc6ILA5Jenr qfOUhNzoePgM+NqhqYhRSw04G2rbZfNOlc49SG/99LBrPlUERjCLH5uFsNNXby03/f/+t2 75G4GqCoDHNMcWUwRNmDkOSu45NdySll+Xr0139zTYJ8WlFbM7ska/cg9JUWuubuHKDvmh iM0sSZVYzM31Z3ufuQNSAxfTwB5HWimeM3OnmW91ZBO1THRlhmcjG0zepxgc4A== X-Spam-Score: -1.72 X-Migadu-Queue-Id: 4AF61B1DD Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reproducible-builds.org header.s=1.vagrant header.b=v3Elibg0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.72 X-TUID: sBaRgiRPQzjW --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-python-pypdf.patch Content-Transfer-Encoding: quoted-printable From=20e2082819efee20a72b026eebcfc14af279e424c7 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Wed, 18 Jan 2023 16:26:41 -0800 Subject: [PATCH 1/2] gnu: Add python-pypdf. * gnu/packages/pdf.scm (python-pypdf): New varaible. =2D-- gnu/packages/pdf.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 4b9d0623fe..cb94c29bde 100644 =2D-- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -1260,6 +1260,45 @@ (define-public pdf2svg converter using the Poppler and Cairo libraries.") (license license:gpl2+))) =20 +(define-public python-pypdf + (package + (name "python-pypdf") + (version "3.2.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "pypdf" version)) + (sha256 + (base32 + "1pdq4nbkknx61pk8w75jvx5j921m2676wfkyizsrap5mj92cssxc")))) + (build-system python-build-system) + (arguments + (list #:tests? #f ;pypi source does not contains tests + #:phases #~(modify-phases %standard-phases + (replace 'build + (lambda _ + (invoke "flit" "build"))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-key= s) + (add-installed-pythonpath inputs outputs) + (for-each (lambda (wheel) + (invoke "python" + "-m" + "pip" + "install" + wheel + (string-append "--prefix= =3D" + #$output))) + (find-files "dist" "\\.whl$"))))))) + (native-inputs (list python-flit)) + (propagated-inputs (list python-typing-extensions)) + (home-page "https://github.com/py-pdf/pypdf") + (synopsis + "A pure-python PDF library") + (description + "This package provides a pure-python PDF library capable of splitting= , merging, +cropping, and transforming PDF files") + (license license:bsd-3))) + (define-public python-pypdf2 (package (name "python-pypdf2") =2D-=20 2.39.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY8ietwAKCRDcUY/If5cW qnW3AQCJsIBepTqyHR97PPA4J7jSJK4tENZx/RbkSczl38lm1QEA7uoTsvr3quIq g3UQW5lxsI8yVGV7M8MR0X2btBMS7QY= =M40p -----END PGP SIGNATURE----- --==-=-=--