From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6MWYBDZVg2LkHgEAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 09:56:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iKS7AzZVg2IOhQAAG6o9tA (envelope-from ) for ; Tue, 17 May 2022 09:56:38 +0200 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 A51B719651 for ; Tue, 17 May 2022 09:56:37 +0200 (CEST) Received: from localhost ([::1]:42034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqs4H-0001OL-MY for larch@yhetil.org; Tue, 17 May 2022 03:56:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3o-0001LS-Iu for guix-patches@gnu.org; Tue, 17 May 2022 03:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqs3o-0004N0-8y for guix-patches@gnu.org; Tue, 17 May 2022 03:56:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqs3o-0003kE-5F for guix-patches@gnu.org; Tue, 17 May 2022 03:56:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55475] [PATCH 05/18] gnu: Add python-jinjalint. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 May 2022 07:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55475 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55475@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165277415614316 (code B ref -1); Tue, 17 May 2022 07:56:03 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2022 07:55:56 +0000 Received: from localhost ([127.0.0.1]:55721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqs3f-0003in-8N for submit@debbugs.gnu.org; Tue, 17 May 2022 03:55:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:42080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqs3W-0003hJ-Es for submit@debbugs.gnu.org; Tue, 17 May 2022 03:55:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3W-0001JM-76 for guix-patches@gnu.org; Tue, 17 May 2022 03:55:46 -0400 Received: from 20.mo584.mail-out.ovh.net ([46.105.33.73]:42927) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3N-0004I9-Oi for guix-patches@gnu.org; Tue, 17 May 2022 03:55:39 -0400 Received: from player773.ha.ovh.net (unknown [10.108.20.144]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 02D35243BF for ; Tue, 17 May 2022 07:55:35 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player773.ha.ovh.net (Postfix) with ESMTPSA id 90D042AA33E57; Tue, 17 May 2022 07:55:33 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Tue, 17 May 2022 09:54:35 +0200 Message-Id: <20220517075448.32638-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220517075448.32638-1-ngraves@ngraves.fr> References: <20220517075448.32638-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6122362218860831458 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrheeigdduvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejjeefrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhg Received-SPF: pass client-ip=46.105.33.73; envelope-from=ngraves@ngraves.fr; helo=20.mo584.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652774197; 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; bh=qGNpqww2A0N1neuIzSZil8FsjJ4/6MEuARmfaDGpj1k=; b=Al7Hp1f0itm6hl5qHiNaFvJBHRc/2GuxxSWl/PM6m1NU2Yf11+J6bVwrfr3pwLF/7gUi4x wkRffEYzH3RoytbhjLR6aMV2HSqg2r+lD6y2TXnGnx00oxYl6Hz9rTXXhP8HTvWRdh4xgB dRfKKHy9c3q87F0ohT/ly7zB5br8izokFtHVn1KY91AbqUmFjZ/bHmsa2cUgrbwWzFsKbu Wf4rIQsBVoxEU/ljB98tbQOA8us4RyAHnbLupp6b9uKkZbkcBqhzYa5WAtGa6xfxvWrLCP 0UCeBSAhN/tplk3vUjpB4jyrBtSymIN4dBGYvJ5lt1BnsiX//4/9KcVNyE5ypw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652774197; a=rsa-sha256; cv=none; b=LkKOYaYM1lbnAMebgPZM59ai1rTRLrBhrVufL6N3bv3VUWQ30u6eJaCT8yiXaWLb58WIVU Ex/Wo1q38LYG44EQzxUl7BxMn0k0nD4ipWU9gRRvYi1zNy4G6DDIjCqc8jW5Jub3jy80V2 QNTSYc2WxYl6w4k9GDvpmlmCf9kaoL29E4ZUiEYybEcOax+CLWzmS3FLKCJa6MLnubfCxp age0hhG51BDsJZXGpt7kWtn3/mMuP6HkgfgCQh2XdfXdvR5Ru3iliTesedVcy+DjoeXz17 FZjGAxViYAe7GwfGYly42wgTR/lVbEPA5CSkgAtKXJQ1GxZOqAXpa7KJz3b9mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A51B719651 X-Spam-Score: -4.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: d0VvQRraeL6q * gnu/packages/python-xyz.scm (python-jinjalint): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29b42ea3a0..5d6a60c771 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4272,6 +4272,37 @@ (define-public python-jinja2-time templates. A format string can be provided to control the output.") (license license:expat))) +(define-public python-jinjalint + (package + (name "python-jinjalint") + (version "0.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jinjalint" version)) + (sha256 + (base32 "09qqqi6iggr64zms9j9sgfq9v5samvsqyyqk0s1y4gfjy6lf9424")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'lift-requirements + (lambda _ + (substitute* "requirements.txt" + (("parsy==1.1.0.*") "parsy\n") + (("attrs==17.2.*") "attrs\n") + (("docopt==0.6.2.*") "docopt\n")))) + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (if tests? + (invoke "python3" "-m" "jinjalint" "jinjalint/test.py") + (format #t "test suite not run~%"))))))) + (propagated-inputs (list python-attrs python-docopt python-parsy)) + (home-page "https://github.com/motet-a/jinjalint") + (synopsis "A linter for Jinja-like templates") + (description "This package provides a linter for Jinja-like templates.") + (license license:expat))) + (define-public python-pystache (package (name "python-pystache") -- 2.36.0