From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ADcvCJFY92QpiwAAauVa8A:P1 (envelope-from ) for ; Tue, 05 Sep 2023 18:34:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ADcvCJFY92QpiwAAauVa8A (envelope-from ) for ; Tue, 05 Sep 2023 18:34:25 +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 CCC4D4303A for ; Tue, 5 Sep 2023 18:34:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693931664; 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=V2dKM7CLICrvIS4nPqMKhzIkb0j6lG5WIB1yLDA0mM4=; b=JvqitV9Tyu71fkWzZX3PmZStyNgHL9iU+vP8HpLfPDdgAUTos/TcY3OjBy32Fp/NHypIZd edeP0eRg4KwWiIfPx/xvVnXTfY+uEv323QpW4r3WKYVYWWhCsyitVPZXx+Qn+KhAHdYOqo 8zG6GrR+YNZNrsp/zoxwNqFgvjNpt5ZG5Me6W8A6a4TI1sSh5ATZW8D4+3DnpHIV3HtCJL VdJF9Z3bJ01I7X1OzmJyVn9zbJ/Orb11eCkHTYRIDioE56LAuugOiTb16pWRP/2owWsd65 LuWFXEjTppedki+KVNnIPUgT6hTVxm0qOpTm7/UkRPQjymRDMWmD1/bueC6SEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693931664; a=rsa-sha256; cv=none; b=LVruJkvVDlmkBaSe6BEZ+EnmGY4fXlRLoLJstc+dCapENy/ttTgHCIanne7cTdFgBjpCPi KOtVxJiqnpEmhNF9oH3D2MT5wMj1Qg1lbVfRwWZ1r0gqM+ZRVAMMaUo7bJA1XbKg26hbO2 X/m9VOXoAk1s6KGm9Kz5JLMyTDVsCMcEEHNxMjImAIWWUt8x8DfJA+V7K+yqPw/XhKah/f SuPVXgbUIhAg8a0Se3h4/4lHyG6UQu2yHVrbnqrSq588BduXAPNRZdCyEjsJf490f3QIYS PadMJspinVH6cfKOtjtF/t4sNcIR+E7Hp7HrPCqJdITCpxg7WsN2yOMxuajcjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdYzW-0004eN-8b; Tue, 05 Sep 2023 12:33:26 -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 1qdYzS-0004Zk-RS for guix-patches@gnu.org; Tue, 05 Sep 2023 12:33:22 -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 1qdYzS-0008Go-Hw for guix-patches@gnu.org; Tue, 05 Sep 2023 12:33:22 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdYzS-0000BV-2m; Tue, 05 Sep 2023 12:33:22 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v6 42/55] gnu: Add python-jinjalint. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 05 Sep 2023 16:33:22 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65758@debbugs.gnu.org Cc: ngraves@ngraves.fr, Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 65758-submit@debbugs.gnu.org id=B65758.169393158332716 (code B ref 65758); Tue, 05 Sep 2023 16:33:22 +0000 Received: (at 65758) by debbugs.gnu.org; 5 Sep 2023 16:33:03 +0000 Received: from localhost ([127.0.0.1]:58434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdYz5-0008Uj-Mz for submit@debbugs.gnu.org; Tue, 05 Sep 2023 12:33:03 -0400 Received: from 9.mo581.mail-out.ovh.net ([46.105.60.248]:47679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdYyx-0008T3-9T for 65758@debbugs.gnu.org; Tue, 05 Sep 2023 12:32:52 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.16.43]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id A282727AE8 for <65758@debbugs.gnu.org>; Tue, 5 Sep 2023 16:32:49 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-r862x (unknown [10.110.103.14]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 39AAF1FDE6; Tue, 5 Sep 2023 16:32:49 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-6684bf9d7b-r862x with ESMTPSA id y2KgFDFY92Qo+AEAsnq6TQ (envelope-from ); Tue, 05 Sep 2023 16:32:49 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Tue, 5 Sep 2023 18:31:18 +0200 Message-ID: <73153d782cb8b3172705037b7b0e62d7f4d12277.1693931491.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <210284f7682898dae8772280ec23f175e26255a9.1693931491.git.ngraves@ngraves.fr> References: <210284f7682898dae8772280ec23f175e26255a9.1693931491.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6354860552338334434 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehuddgjeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehjeehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -6.23 X-Migadu-Queue-Id: CCC4D4303A X-Migadu-Spam-Score: -6.23 X-TUID: /YTKi6r9gapx * gnu/packages/python-xyz.scm (python-jinjalint): New variable. --- gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 32666281c8..b40f711d72 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5549,6 +5549,45 @@ (define-public python-pysdl2 common SDL2 functionality.") (license license:cc0))) +(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 pyproject-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-build + (lambda _ + ;; Lift requirements. + (substitute* "requirements.txt" + (("parsy==1.1.0.*") "parsy\n") + (("attrs==17.2.*") "attrs\n") + (("docopt==0.6.2.*") "docopt\n")) + ;; Python 3.10 support. + (substitute* "jinjalint/util.py" + (("import collections") + "from collections.abc import Iterable") + (("collections\\.Iterable") + "Iterable")))) + (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 "Linter for Jinja-like templates") + (description "This package provides @code{jinjalint} a linter for +Jinja-like templates in Python.") + (license license:expat))) + (define-public python-pystache (package (name "python-pystache") -- 2.41.0