From patchwork Mon Sep 9 14:28:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 67814 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 95B4627BBEB; Mon, 9 Sep 2024 15:31:10 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 1814227BBE2 for ; Mon, 9 Sep 2024 15:31:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snfPw-0000YS-Uh; Mon, 09 Sep 2024 10:31:00 -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 1snfPv-0000QV-3s for guix-patches@gnu.org; Mon, 09 Sep 2024 10:30:59 -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 1snfPu-0004zi-Pz for guix-patches@gnu.org; Mon, 09 Sep 2024 10:30:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=zMi60TksHuob4nRPbgiDbG0TJTrmPdUzPoRnsl5mLps=; b=b79lNfpdAh1eSQgKjlmmuqbFM4LaV76FW601Z09phXFC879Of72aJC44ZDByYpj5wx/d08vzqE6HsM1gUlgIILqtNphpk5OfcMSLotBk63OhJGlGKQ41RSHxzt4Vn+fuJqffh94BFyQ4gcRhkftOOj/MwOge8WLlYHNtxqriQw0Vvoe8TbnKcN+uyAk7KJBiZR1FtDQJT00FYQuW0sCYWwEiDOJiS/DiEKcbCT28ZEF0WXZPpmtdwvaSB1Q94dLHK97bLTH59BuwgiBARqEcctmg0E2CUogLmo/R+tW1O8coj8kdIKXnU/WULtQqAmnCI6Gn30N3l8xBtdMm5L1qNA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snfPy-00017D-D0 for guix-patches@gnu.org; Mon, 09 Sep 2024 10:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73148] [PATCH 2/4] gnu: python-mnemonic: Update to 0.21. Resent-From: attila.lendvai@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Sep 2024 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73148 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 73148@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 73148-submit@debbugs.gnu.org id=B73148.17258922434232 (code B ref 73148); Mon, 09 Sep 2024 14:31:02 +0000 Received: (at 73148) by debbugs.gnu.org; 9 Sep 2024 14:30:43 +0000 Received: from localhost ([127.0.0.1]:33807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snfPf-000167-AM for submit@debbugs.gnu.org; Mon, 09 Sep 2024 10:30:43 -0400 Received: from mail-ej1-f53.google.com ([209.85.218.53]:54460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snfPd-00015d-F1 for 73148@debbugs.gnu.org; Mon, 09 Sep 2024 10:30:42 -0400 Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a8d43657255so199172766b.0 for <73148@debbugs.gnu.org>; Mon, 09 Sep 2024 07:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725892172; x=1726496972; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zMi60TksHuob4nRPbgiDbG0TJTrmPdUzPoRnsl5mLps=; b=SBYWtFqFvId8BPCxSI0ITW6y1iePDiDwWnvCNcReojD0YcKCoeIDwXjd5/la5zHJ4m exiUkQkgrNuioBXHYvCwQEJDuvrpcwJDf8p62aQ8hhdv+6kNVlA0goJlNdWh1y1Ah4oi j+ww7RgJfUdOLxOE1cMck2x/6MCz6eLYKGtsuawg1QkbEnk6XIFdjyGiIrGNgn7RNzlH R/B1sh26fPx5DtffL/NeEvek9Niol4Wx2f/I1hwvOShntnRulqGdeHjhM8iz6L0igTKO t2SKLJBvRT6ulMCEwgGFqH69s7hi1++nbbRdklDY4DADJpFl9yiYTKG0LYYq9LF9XAzO Rj3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725892172; x=1726496972; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zMi60TksHuob4nRPbgiDbG0TJTrmPdUzPoRnsl5mLps=; b=P7SFRtxLtHMM0QbScIgn6nQ2wSUuyKRy6W0se/82Q6+rZJhLB8tr1jJg6ASM6jC1W1 5ZohdDo2ZcCUisVJsaD6yRFVYl1SosT7Vzsn5h9li5JbIx3TOPPF/BfrDml0ZEvPxVur c3pIsTVtJlNjWqoJQt6+LaSyHMkX6vELAMSxuMxRqMmiEnbjiAYmZk4aJQFstNdUNSFp pOJuEQD5YsPeTLGJ4YCuLlBWWBdwNlTPXCTyiKqt3Jx+TxLPfSg/O0TZjwKmOsyxgVkk rZm78E7pC00zDJPenRSDzbSY4QWzNymGGA9DDQKTKTyKCnF3A8k46g1C//295lI5wdVX +3+w== X-Gm-Message-State: AOJu0YyhJwD5TWxuDJjJCQfWyNzMU0ljUrG1fKsVaQx9WguJu9BL4XQC hF5jL4xqzLr6AUaK285VkucBy1CmoAds+/S9Y+99TJFimawwEM84YCqwpw== X-Google-Smtp-Source: AGHT+IEKd66hgS+XzQTcv5416OEuVfvU2OMIHCFcp1GMydv9o6xrSTnLtCJTWV+e1Z9Nc7p1OPHlzg== X-Received: by 2002:a17:907:e20f:b0:a6f:593f:d336 with SMTP id a640c23a62f3a-a8d24513fa1mr495064966b.11.1725892171661; Mon, 09 Sep 2024 07:29:31 -0700 (PDT) Received: from lelap.lan (2a00-1f40-b161-3510--9a4.pool6.panelnet.hu. [2a00:1f40:b161:3510::9a4]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a4338fsm351193766b.95.2024.09.09.07.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 07:29:30 -0700 (PDT) From: attila.lendvai@gmail.com X-Google-Original-From: attila@lendvai.name Date: Mon, 9 Sep 2024 16:28:21 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: <9f72e41ee461463d495624f1bf285b8c3ca63fc5.1725892102.git.attila@lendvai.name> References: <9f72e41ee461463d495624f1bf285b8c3ca63fc5.1725892102.git.attila@lendvai.name> 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 From: Attila Lendvai * gnu/packages/finance.scm (python-mnemonic): Build from git and use pyproject-build-system to build it. Change-Id: Ie033cd8afa11711da070d3fc792375c3648c1756 --- gnu/packages/finance.scm | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 317842c5937..8547676b51b 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1019,16 +1019,25 @@ (define-public trezor-gpg-pinentry-tk (define-public python-mnemonic (package (name "python-mnemonic") - (version "0.20") + (version "0.21") (source - (origin - (method url-fetch) - (uri (pypi-uri "mnemonic" version)) - (sha256 - (base32 "1xi5qvj2rvi5almf9c89rl7hz1z4ms04d53pg818i4vpkmivavvw")))) - (build-system python-build-system) - (propagated-inputs - (list python-pbkdf2)) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/trezor/python-mnemonic") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1r8cdlgqpmj71ap3kyhc2nq8dn29gmj7v8dlq8kgcy91jky94n8g")))) + (build-system pyproject-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "python" "tests/test_mnemonic.py")))))) + (native-inputs + (list python-poetry-core)) (home-page "https://github.com/trezor/python-mnemonic") (synopsis "Implementation of Bitcoin BIP-0039") (description "@code{mnemonic} is a library that provides an implementation