From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sHFRHg1APWFKLgAAgWs5BA (envelope-from ) for ; Sun, 12 Sep 2021 01:47:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id /UMDGg1APWFNUAAAB5/wlQ (envelope-from ) for ; Sat, 11 Sep 2021 23:47:25 +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 E25012E67D for ; Sun, 12 Sep 2021 01:47:24 +0200 (CEST) Received: from localhost ([::1]:41902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPCiR-0005kW-I3 for larch@yhetil.org; Sat, 11 Sep 2021 19:47:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPCi6-0005kG-64 for guix-patches@gnu.org; Sat, 11 Sep 2021 19:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPCi5-0006aC-Sr for guix-patches@gnu.org; Sat, 11 Sep 2021 19:47:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPCi5-0000n8-JF for guix-patches@gnu.org; Sat, 11 Sep 2021 19:47: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:47: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.16314039872999 (code B ref 47910); Sat, 11 Sep 2021 23:47:01 +0000 Received: (at 47910) by debbugs.gnu.org; 11 Sep 2021 23:46:27 +0000 Received: from localhost ([127.0.0.1]:41618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPChX-0000mJ-31 for submit@debbugs.gnu.org; Sat, 11 Sep 2021 19:46:27 -0400 Received: from out1.migadu.com ([91.121.223.63]:46023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPChU-0000mB-Il for 47910@debbugs.gnu.org; Sat, 11 Sep 2021 19:46:25 -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=1631403983; 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=RwwWskfRk6tx9thtF870DBddqrGqTWX08uKss+EI45Q=; b=oEnG+bRayx9Xugo9gCsh75NaspMzI+VssdvC8pU0L+wj426eJzXzPFSB2VUbJmSrqrPets wAJGzuHbdsl3DfZz60QL4ASeIUGBalDwuJvraZ9/iouC5nlL0tJ5Lf1ye0CQPWYsjim71q TZ7sAqYRpao+9sIO7ERoQzJbCVYQEfl1mFkeXfkZL9yXxXWekUWPd51mh7pSXrEYrYNMw4 hPUiQXs+4SaP93+Can2PY3yuBnrXL6nh0OcPLHo9neZKlq+f/ob7q0T0yhjweatKKkceum Q9bXRGyh3UehmL3zwiZAkYgTOjGL4hbbi61yo9HQTuB3XOs8rWlp4szAtCX6ZA== Date: Sat, 11 Sep 2021 19:46:20 -0400 Message-Id: <20210911234620.3037-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=1631404044; 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=RwwWskfRk6tx9thtF870DBddqrGqTWX08uKss+EI45Q=; b=QiRzRUJV5IfQ60oYauyB6pOZDOQTt48H2tkovpMcTYPWNlr3OrmUenEuThXP/gjsnVJRPr w6P6fTp7uRSxGNfH+2a86KjPz/jG7oQk/sA0J7rP61IbxCbGPYwUK9D83zLWA8ZEhKqd7C k/IThMjphu1QXyMsS+bIMQm1B7EzH7W9VsK3WZNy/jxiCjNl7z7JVp+E3wQpVqxLZ3wgcZ 0G4GBia4m74OIsTAJFazcu7i9sU6V15uDSAtKy8R9Gwdj/1uhH2ZUCOsKyrR84j5q4Lo8t FZeBir17/aVZkQaaskkDTLFg+S3IATALjI9OdiiWntS9dBNOrVoPZQyV5huHpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631404044; a=rsa-sha256; cv=none; b=NdXzkn3kqrsSJNHjAl/d2iD8QYw3KwsHqr96wxcRRpExTWPZ6W/2HeRPuZXgzfUu92bk1A Nkr+vc4uTdbmxe5qdWiDmjOwBf1FFNGxCLS8SY/k7429qc1qEZS+wl0GBXaZoVeQBOHXYn WM/mcBy1ekrwCjQ1nvr3LsuwSX920R3eUd0rZAR8vFYwm6nBktHQsdvPJCHvpUfrbj0p4h Nb32wdfs93nF0RqGMhX51CWoPiFSqfXMxrXVnEx2RmxN9/fczLlKKWsXGb5stgLZ5rNi71 6vewJ+aWnTvsowSQ8h6svpglEZlG8qVHGbY/vdiUGDK7jQlQZFAQmdBtffu6IA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=oEnG+bRa; 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=oEnG+bRa; 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: E25012E67D X-Spam-Score: 1.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: Tz3KT6OXAPS4 * 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-coverage, python-dateutil, python-pep8 and python-sqlalchemy. [propagated-inputs]: Add python-babel, python-email-validaor and python-markupsafe. Co-authored-by: jgart --- gnu/packages/python-web.scm | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 32b4aa4bf0..bd390d371d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4150,28 +4150,33 @@ 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-coverage" ,python-coverage) + ("python-dateutil" ,python-dateutil) + ("python-pep8" ,python-pep8) + ("python-sqlalchemy" ,python-sqlalchemy))) + (propagated-inputs + `(("python-babel" ,python-babel) + ("python-email-validator" ,python-email-validator) + ("python-markupsafe" ,python-markupsafe))) (home-page "http://wtforms.simplecodes.com/") (synopsis "Form validation and rendering library for Python web development") -- 2.33.0