From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AApLDwXraGGLEwEAgWs5BA (envelope-from ) for ; Fri, 15 Oct 2021 04:44:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wDwCCwXraGEtDQAA1q6Kng (envelope-from ) for ; Fri, 15 Oct 2021 02:44:21 +0000 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 AC74C32DAF for ; Fri, 15 Oct 2021 04:44:20 +0200 (CEST) Received: from localhost ([::1]:60576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbDCl-00054U-Rt for larch@yhetil.org; Thu, 14 Oct 2021 22:44:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbDCU-0004cW-P8 for guix-patches@gnu.org; Thu, 14 Oct 2021 22:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbDCU-0002i7-I7 for guix-patches@gnu.org; Thu, 14 Oct 2021 22:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mbDCU-0007HP-G7 for guix-patches@gnu.org; Thu, 14 Oct 2021 22:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51222] [PATCH 14/25] gnu: python-unpaddedbase64: Update to 2.1.0. Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Oct 2021 02:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51222@debbugs.gnu.org Cc: =?UTF-8?Q?S=C3=A9bastien?= Lerique Received: via spool by 51222-submit@debbugs.gnu.org id=B51222.163426581227892 (code B ref 51222); Fri, 15 Oct 2021 02:44:02 +0000 Received: (at 51222) by debbugs.gnu.org; 15 Oct 2021 02:43:32 +0000 Received: from localhost ([127.0.0.1]:37567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbDBz-0007Fn-Lq for submit@debbugs.gnu.org; Thu, 14 Oct 2021 22:43:31 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:41442 helo=eauchat.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbDBy-0007FW-Ah for 51222@debbugs.gnu.org; Thu, 14 Oct 2021 22:43:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1634265685; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=Z70GeX5ya7FTMDSKM3q1SSPPuFGuhSL4eIm44bUaKB4=; b=ifrb/3z2Tdpv4vWA6b01YSXYbb/YLwIUa9V/4cV675eqGy/ZhWELOS7ZemDB5jKsb08SLQ 8Kd3o3s6Mohf0LjromnLRDC8cfiEWASalhlm42jryIrSZYAtsa/nnO+/+iYHW2AdGSk4yz 1Fvza86O887Bb+UWOwjHUysfn0Q+VBI= From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Date: Fri, 15 Oct 2021 11:40:25 +0900 Message-Id: <20211015024036.53831-14-sl@eauchat.org> In-Reply-To: <20211015024036.53831-1-sl@eauchat.org> References: <20211015024036.53831-1-sl@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634265860; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z70GeX5ya7FTMDSKM3q1SSPPuFGuhSL4eIm44bUaKB4=; b=cvE/SC2LyQttywhdfJrsSLk25jlUA0BWJ+AtVtE/R0F495Z+RugqnO0noUOTmAiVTbRn2N 0ua4LliuBrLQWDEMgkMMvV/44qIRWpp0UjKuGlJId6VE+f/qDjeYynMpO0w7SqWwRsjP4C D5H8KCxCZVq9vTqUAaTfKleHQioA7qaX1WdhzAeKvzHbiChp+x5VmTOqCwEymfxhwXNH9l yKZM1lxH0c2zTXXrP8Kl1Zu48kwmGmYNZUNZXEW/lRktPKaOwZHHNh9KdzA4gkE7Tj2loY 0sLrhVw6E2KDaeIetc/yfKFFlSB10GueO4ns32onh/qUR0xgt7IBVCO0axKkOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634265860; a=rsa-sha256; cv=none; b=cIlt9ku8WLQLgrI27qs64IJ4ZoJoNeUxAjsc0SbWK3oRNG2mB2l6MGuCvxz1piWJ7hKyhH mtXU0r36BoXro3uja5vbEnmD3PhMjLM54brEC39dewT82GMV5hXw6r6G88YP5yFv26yuDe iwDX9Tlrk02zjqrvMH6kmBhBn2+TOJG6HoD3j8EL299T+EbkQ320MAVQP/LheYcu0i09RH sA0Pxe/ouRHRdZQ5Mqmc4gWHdfMNdPdeI1xEuQlvuSnCIbOYnQpi5TBcdvxXmBwhuiB7Jx iK3lm2w8KUsOU3vgYLjT+1DKQ0gIae1FNNNl+RW98EwQseO1hn8QSskDhHtRXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b="ifrb/3z2"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b="ifrb/3z2"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: AC74C32DAF X-Spam-Score: -0.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: HUyBRaxeFwl+ * gnu/packages/python-xyz.scm (python-unpaddedbase64): Update to 2.1.0. [source]: Fetch from PyPi. [arguments]: Replace 'check phase to run tests fetched upstream from GitHub. [native-inputs]: Add `python-pytest` and `tests` for fetching upstream tests. [home-page]: Update to GitHub project home. --- gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6b0aa5052b..27a8054557 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24576,19 +24576,40 @@ replacement for dictionaries where immutability is desired.") (define-public python-unpaddedbase64 (package (name "python-unpaddedbase64") - (version "1.1.0") + (version "2.1.0") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/matrix-org/python-unpaddedbase64") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (pypi-uri "unpaddedbase64" version)) (sha256 - (base32 - "0if3fjfxga0bwdq47v77fs9hrcqpmwdxry2i2a7pdqsp95258nxd")))) + (base32 "01ghlmw63fgslwj8j74vkpf1kqvr7a4agm6nyn89vqwx106ccwvj")))) (build-system python-build-system) - (home-page "https://pypi.org/project/unpaddedbase64/") + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs tests? #:allow-other-keys) + (when tests? + (copy-recursively (string-append + (assoc-ref inputs "tests") "/tests") + "tests") + (invoke "python" "-m" "pytest" "-vv"))))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("tests" + ;; The release on pypi comes without tests. We can't build from this + ;; checkout, though, because installation requires an invocation of + ;; poetry. + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/matrix-org/python-unpaddedbase64") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1n6har8pxv0mqb96lanzihp1xf76aa17jw3977drb1fgz947pnmz")))))) + (home-page "https://github.com/matrix-org/python-unpaddedbase64") (synopsis "Encode and decode Base64 without “=” padding") (description "RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes -- 2.33.0