From patchwork Sun Feb 11 11:43:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 60061 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 E35CA27BBE9; Sun, 11 Feb 2024 11:46:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 022CD27BBEA for ; Sun, 11 Feb 2024 11:46:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZ8HQ-00060z-7z; Sun, 11 Feb 2024 06:45:52 -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 1rZ8HO-0005yy-4D for guix-patches@gnu.org; Sun, 11 Feb 2024 06:45:50 -0500 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 1rZ8HN-0006Rl-Rp for guix-patches@gnu.org; Sun, 11 Feb 2024 06:45:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZ8Hd-0008FQ-UN for guix-patches@gnu.org; Sun, 11 Feb 2024 06:46:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69048] [PATCH 32/32] gnu: python-email-validator: Update to 2.1.0.post1. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 11:46:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69048 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69048@debbugs.gnu.org Received: via spool by 69048-submit@debbugs.gnu.org id=B69048.170765193031480 (code B ref 69048); Sun, 11 Feb 2024 11:46:05 +0000 Received: (at 69048) by debbugs.gnu.org; 11 Feb 2024 11:45:30 +0000 Received: from localhost ([127.0.0.1]:41804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8H3-0008Bg-Go for submit@debbugs.gnu.org; Sun, 11 Feb 2024 06:45:30 -0500 Received: from mail05.noris.net ([62.128.1.225]:47161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8H1-0008BP-Ln for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 06:45:28 -0500 Received: from mail02.noris.net ([62.128.1.232]) by mail05.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8Gd-000KZg-Id for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:45:03 +0100 Received: from p57b08159.dip0.t-ipconnect.de ([87.176.129.89] helo=hermia.goebel-consult.de) by mail02.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8Gd-0002qv-Ez for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:45:03 +0100 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 525815F580; Sun, 11 Feb 2024 12:44:01 +0100 (CET) From: Hartmut Goebel Date: Sun, 11 Feb 2024 12:43:41 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com> References: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 X-Noris-IP: 87.176.129.89 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-email-validator): Update to 2.1.0.post1. [arguments]{phases}: Remove phase. : Use a custom phase. [native-inputs]: Add python-pytest. --- gnu/packages/python-xyz.scm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 47aaa84e76..85adf2a190 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20859,22 +20859,24 @@ (define-public python-py3dns (define-public python-email-validator (package (name "python-email-validator") - (version "1.0.2") + (version "2.1.0.post1") (source (origin (method url-fetch) (uri (pypi-uri "email_validator" version)) (sha256 (base32 - "1ja9149l9ck5n45a72h3is7v476hjny5ybxbcamx1nw6iplsm7k6")))) + "0i0s1s9blpap0p1l46m7nns79apkn4hr7laq8a93n1szylfbvc54")))) (build-system python-build-system) (arguments - '(#:phases + '(#:tests? #f ;; require /etc/resolve.conf and working DNS + #:phases (modify-phases %standard-phases - (add-before 'build 'use-dnspython - (lambda _ - (substitute* "setup.py" - (("dnspython3") "dnspython")) - #t))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-v"))))))) + (native-inputs + (list python-pytest)) (propagated-inputs (list python-dnspython python-idna)) (home-page "https://github.com/JoshData/python-email-validator")