From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wNthFuQ9PWFKLgAAgWs5BA (envelope-from ) for ; Sun, 12 Sep 2021 01:38:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id K4UDEuQ9PWEmSgAAB5/wlQ (envelope-from ) for ; Sat, 11 Sep 2021 23:38:12 +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 D96BF583E for ; Sun, 12 Sep 2021 01:38:11 +0200 (CEST) Received: from localhost ([::1]:40860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPCZW-0004bi-TB for larch@yhetil.org; Sat, 11 Sep 2021 19:38:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPCZO-0004bT-3n for guix-patches@gnu.org; Sat, 11 Sep 2021 19:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPCZN-0000Uv-Sb for guix-patches@gnu.org; Sat, 11 Sep 2021 19:38:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPCZN-0000ZZ-On for guix-patches@gnu.org; Sat, 11 Sep 2021 19:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47910] [PATCH] gnu: python-wtforms: Update to 2.3.3 and adjust arguments+inputs. References: <432e457285cdabe78e9db89f760a387c@dismail.de> In-Reply-To: <432e457285cdabe78e9db89f760a387c@dismail.de> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Sep 2021 23:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47910@debbugs.gnu.org Cc: Raghav Gururajan , jgart , ben@sturm.com.au Received: via spool by 47910-submit@debbugs.gnu.org id=B47910.16314034792193 (code B ref 47910); Sat, 11 Sep 2021 23:38:01 +0000 Received: (at 47910) by debbugs.gnu.org; 11 Sep 2021 23:37:59 +0000 Received: from localhost ([127.0.0.1]:41605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPCZL-0000ZJ-CO for submit@debbugs.gnu.org; Sat, 11 Sep 2021 19:37:59 -0400 Received: from out1.migadu.com ([91.121.223.63]:43258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPCZG-0000Z6-BR for 47910@debbugs.gnu.org; Sat, 11 Sep 2021 19:37:57 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1631403472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=njocOEFTnM5Y/kpPLngFClaCZOTgoUF5sJYHOJGyan4=; b=p0DuO3STAdLfV9M2X5Ifh/A0FszU3wM3qMTlyJmJL/UfStfVITMEGJPo/a/ZeI7zZIYURv F+k1biUv0YaUHY5CiaTb+E50bhs26EvWgWDdo/PbDIoTMv1WLG8d3jNBESY7md5Matbviq us2OmIusooXqO1dGY+hNtu3KrzTUVvwyjrAPZpvSULfjLIe26uQY7k3bDzcXlf24hFA0df s4F7RYPlpE9ULhQiFAfHNatP3TXv3kIm539LLeh6t7XT5HX6q8OmDxmBCPycJtO9TWiC9y V2yhXlJ1Bq+Lew8hbdT0wl9HNCRufbsIE4q3Q2gS9syZvFor4Z8JYuQNT+keqg== Date: Sat, 11 Sep 2021 19:37:31 -0400 Message-Id: <20210911233731.2325-1-rg@raghavgururajan.name> MIME-Version: 1.0 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631403492; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=njocOEFTnM5Y/kpPLngFClaCZOTgoUF5sJYHOJGyan4=; b=d4CUwcc/Y100gDCtGuVqtaWYQCXFuHS15HRnPlW/r2oC+wJHSbnDte9TukStSUoRuT87Ec UWWAWgABerBQsFAQX4U2AGlSo7h3aiJ0XbPk9OaMdOeljwJYYmoFAUlaXB93Gw4j2/dSiX l+ZlXMMtQk5QedMmqlrtenj7NQFQuD24LoVbqvSlmgZgDETutqxKnXSdWYl70dX2uOq336 ejKGD17jLgIwDX1kWbYs2HfxcVMCHMokCrdyatMioGb6wewNxomfO3CVhzh1VM2UukdoX/ Mw/mt1rgs2Awkoq6ZXMDsiqF+9vVNS//EOR8V8EYlK8tkz87m2oFPPTOndvcPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631403492; a=rsa-sha256; cv=none; b=qI8aU/tbi2ZjqxkwYOo8494hhh7tAGgCNccIBDPz2zIugddUlTL6yl69qODqCjv7Ri8A4k DwKLqUVlVjoN9/RpPgguFcGRVFCP4z2Kb3/iJejoUq0z4AiD5nqN4rCoWrVO1YJvSQINxX Q3gH69ycTUsBjoVeuRH0YBSJPwsZmtvHYccYXbVk7VQH8i6QMa2tCGf2AHbSP8zxIaoGjj KevVIapYXgoIC48ToI6HcvMnw7/K4l4WlVuuKk4reNfPKCiX0Vx+Mu0bS4EixM/1I8PHTl ASAMv8SnrATO0NQoT/UpnNlRTwp7fYv2gpL1UGpEeYv7XPNp8kcxt0Ecvg6B1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=p0DuO3ST; dmarc=pass (policy=none) header.from=gnu.org; 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: 1.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=p0DuO3ST; dmarc=pass (policy=none) header.from=gnu.org; 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: D96BF583E X-Spam-Score: 1.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: 01liv7DJQ/Wn * gnu/packages/python-web.scm (python-wtforms)[version]: Update to 2.3.3. [phases](remove-django-test): Remove phase. (check): Replace with custom phase. [native-inputs]: Remove unzip. Add python-babel, python-coverage, python-dateutil, python-pep8 and python-sqlalchemy. [propagated-inputs]: Add python-markupsafe. Co-authored-by: jgart --- gnu/packages/python-web.scm | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 32b4aa4bf0..73361ad584 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4150,28 +4150,32 @@ addon modules.") (define-public python-wtforms (package (name "python-wtforms") - (version "2.1") + (version "2.3.3") (source (origin (method url-fetch) - (uri (pypi-uri "WTForms" version ".zip")) + (uri (pypi-uri "WTForms" version ".tar.gz")) (sha256 (base32 - "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz")))) + "17427m7p9nn9byzva697dkykykwcp2br3bxvi8vciywlmkh5s6c1")))) (build-system python-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'remove-django-test - ;; Don't fail the tests when the inputs for the optional tests cannot be found. - (lambda _ - (substitute* - "tests/runtests.py" - (("'ext_django.tests', 'ext_sqlalchemy', 'ext_dateutil', 'locale_babel'") "") - (("sys.stderr.write(\"### Disabled test '%s', dependency not found\n\" % name)") "")) - #t))))) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "setup.py" "compile_catalog") + (invoke "coverage" "run" "tests/runtests.py" "--with-pep8"))))))) (native-inputs - `(("unzip" ,unzip))) + `(("python-babel" ,python-babel) + ("python-coverage" ,python-coverage) + ("python-dateutil" ,python-dateutil) + ("python-pep8" ,python-pep8) + ("python-sqlalchemy" ,python-sqlalchemy))) + (propagated-inputs + `(("python-markupsafe" ,python-markupsafe))) (home-page "http://wtforms.simplecodes.com/") (synopsis "Form validation and rendering library for Python web development") -- 2.33.0