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 SADCCckaOmPfBQAAbAwnHQ (envelope-from ) for ; Mon, 03 Oct 2022 01:12:09 +0200 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 IOnFCMkaOmPAQQEAG6o9tA (envelope-from ) for ; Mon, 03 Oct 2022 01:12:09 +0200 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 DA62111FAB for ; Mon, 3 Oct 2022 01:12:08 +0200 (CEST) Received: from localhost ([::1]:49694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of87z-0002NM-ME for larch@yhetil.org; Sun, 02 Oct 2022 19:12:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of87u-0002My-S9 for guix-patches@gnu.org; Sun, 02 Oct 2022 19:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1of87u-0001wA-JI for guix-patches@gnu.org; Sun, 02 Oct 2022 19:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1of87u-0005JV-FL for guix-patches@gnu.org; Sun, 02 Oct 2022 19:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58259] [PATCH] gnu: python-pydyf: Update to 0.3.0. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 Oct 2022 23:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58259@debbugs.gnu.org Cc: Michael Rohleder X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166475227320357 (code B ref -1); Sun, 02 Oct 2022 23:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2022 23:11:13 +0000 Received: from localhost ([127.0.0.1]:48309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of876-0005IH-Qh for submit@debbugs.gnu.org; Sun, 02 Oct 2022 19:11:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:35664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of874-0005I9-JQ for submit@debbugs.gnu.org; Sun, 02 Oct 2022 19:11:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of874-0002LW-EX for guix-patches@gnu.org; Sun, 02 Oct 2022 19:11:10 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:43524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of86z-0001tP-N9 for guix-patches@gnu.org; Sun, 02 Oct 2022 19:11:10 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1of86t-0006Hw-Np; Mon, 03 Oct 2022 01:10:59 +0200 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.95) (envelope-from ) id 1of86r-000cbE-MC; Mon, 03 Oct 2022 01:10:59 +0200 From: Michael Rohleder Date: Mon, 3 Oct 2022 01:10:57 +0200 Message-Id: <20221002231057.18056-1-mike@rohleder.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1664752265;4694b641; X-HE-SMSGID: 1of86t-0006Hw-Np Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664752329; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=NVRjp4x6Ejid1lLpQ1hD1jDTSeVa4ykSt1igk70AGr8=; b=d0H2+nYQTXXGofqUp656v5d0ApsT2nhvUMsF+ifvhnPOsIinmRWdQxFQKd8d0Nn91fBAb9 kyCkgs5+Tw/kFl9+d/BDo0Z+XYVBvQ87TwHi5S8F7Kk2F+fdc6nmsv+7DuBMMKfjJZaekC WNixJOS3fD0cyXFdw9O140BSEGQr8mZ/6bIfZ+LtxlmjxGI4TKO/dlpN8QLNkdcto3E50/ WtG509BJyTHG8PyxZ8URZa0MS0acJRyT8gknrlH8ccCeIpaFJjwWMr0zKUitXrwsIYtFot vGqDs085aOijhO212/5wPr8fK9YAZAXo32S+md6F9/8InXQFkGuMPBQC0/gJzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664752329; a=rsa-sha256; cv=none; b=euwnRKde+SzLTiMfQ/wZ9Fj7ZvOjCHNtNOBISzem2jSZUYQPkNjNwqo5IT2J5elTZ8qAKT ppND3nY2pOVim4saE2g300wtm38EzHHGmGHFRF3t2TESOXXyAlrzLTWGXcHa1VVCrxNMar tEd0Yf1V4Ehx5KLd88rtN9bqUBqSY72aO26QcaVSWg/tUlYGiIoMx/8Nfm8t+sMAKLphzh PgdcuBIl8zw+Y20q4Di7Do3Gcxo4Z1Tu5z4zF2P3O/OHngwmJbBA9qBgdcttFLnbRzc57S c3CqlQCqOzXhZuybnUiHRWusb12r93ZzcI9YTQQ4u4K2InUuNAdUJt2qGJ6M8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Spam-Score: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Queue-Id: DA62111FAB X-Spam-Score: -2.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: blWo1j6AcUtg * gnu/packages/pdf.scm (python-pydyf): Update to 0.3.0. [arguments]: Add phases to replace build and install phases. [native-inputs]: Add python-flit-core, python-pypa-build. --- gnu/packages/pdf.scm | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index d698450656..10de484ecb 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -18,7 +18,7 @@ ;;; Copyright © 2019 Ben Sturmfels ;;; Copyright © 2019,2020 Hartmut Goebel ;;; Copyright © 2020-2022 Nicolas Goaziou -;;; Copyright © 2020 Michael Rohleder +;;; Copyright © 2020, 2022 Michael Rohleder ;;; Copyright © 2020 Timotej Lazar ;;; Copyright © 2020, 2022 Maxim Cournoyer ;;; Copyright © 2021 Maxime Devos @@ -727,24 +727,36 @@ (define-public podofo (define-public python-pydyf (package (name "python-pydyf") - (version "0.1.2") + (version "0.3.0") (source (origin (method url-fetch) (uri (pypi-uri "pydyf" version)) (sha256 - (base32 "0b30g3hhxw1bg18r9ax85i1dkg8vy1y1wzas0bg0bxblh7j5sbqy")))) + (base32 "18q43g5d9455msipcgd5fvnh8m4a2rz189slzfg80yycjw66rshs")))) (build-system python-build-system) (arguments (list #:phases #~(modify-phases %standard-phases + (replace 'build + (lambda _ + (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) + (replace 'install + (lambda _ + (let ((whl (car (find-files "dist" "\\.whl$")))) + (invoke "pip" "--no-cache-dir" "--no-input" + "install" "--no-deps" "--prefix" #$output whl)))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest" "-vv" "-c" "/dev/null"))))))) (propagated-inputs (list python-pillow)) - (native-inputs (list ghostscript python-pytest)) + (native-inputs + (list ghostscript + python-flit-core + python-pypa-build + python-pytest)) (home-page "https://github.com/CourtBouillon/pydyf") (synopsis "Low-level PDF generator") (description "@code{pydyf} is a low-level PDF generator written in Python -- 2.37.3