From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GEYbMVFE+GRPUgAAG6o9tA:P1 (envelope-from ) for ; Wed, 06 Sep 2023 11:20:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GEYbMVFE+GRPUgAAG6o9tA (envelope-from ) for ; Wed, 06 Sep 2023 11:20:17 +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 7B75D40AFA for ; Wed, 6 Sep 2023 11:20:17 +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=1693992017; 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=W+LYSxubtmjTjz9/Q2xnl9m6vY/gzzZTl3wFceLsm4AZC64TCgT4uRol8AKkFg3dNYrPZb akZaTST1MquabuP1mZsAjSMGJ3qyiUVC+wdFC/te3ib7dAen17MNpKmwMHsjMGqIiJXWQs ZMhVUy9oxgPFhLWWfZr4Bije59Ni8kBbKmC/A3fYJpfP9DvRvgmY0fN5T2vo3eGdKrg3nW kwmVcjXzrO6Q18Qi/q2I5j0mCX4UMRaiTvfXe2g5whZu0a16fSxhkuwJqTtMil91UIFzuw Tw36Er9xObletr+ZWyDPFAjZcfjKm0JtAwiD9s+PXTgJ7m2o8ISvzJD1c5FOhw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693992017; a=rsa-sha256; cv=none; b=KZdkG7xV2fGsCIisqp48ln5OyaD+d9uAcR7Ti/xUJ8slhB3S7bJo7Tcz+MOxUmrAbaDxQk W9AcYXyH2aJFLqEbhcsnN+Y/GenGf6z8VZnmTCcpbvMotBVoNcjW1goYXya7rsmosGkxQ8 wD4Vpcyrvxnz+qTdDAdRX9v8i56gQtPjNS4k9LqXPSZMxpmk79VB50PAA0ktvb86RQK16h GeZuppwavAl+TVrE0GbKyOTmypxnm8Y5YL/BsHwD/LubJz9JdGqkYeybu1L78TVnxArEsv rElYjy20oIwIfDP8LQS3QYywpbULl/pCF9Tdqa6jTxf2Kr+npp17DOsDLp6oOA== 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 1qdohg-0000Qi-Rx; Wed, 06 Sep 2023 05:20:04 -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 1qdog1-0004hA-IZ for guix-patches@gnu.org; Wed, 06 Sep 2023 05:18:23 -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 1qdog1-0005xX-9g for guix-patches@gnu.org; Wed, 06 Sep 2023 05:18:21 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdog2-0006O7-4a; Wed, 06 Sep 2023 05:18:22 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v7 42/57] 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: Wed, 06 Sep 2023 09:18: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.169399189924500 (code B ref 65758); Wed, 06 Sep 2023 09:18:22 +0000 Received: (at 65758) by debbugs.gnu.org; 6 Sep 2023 09:18:19 +0000 Received: from localhost ([127.0.0.1]:32852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdofy-0006MW-3g for submit@debbugs.gnu.org; Wed, 06 Sep 2023 05:18:19 -0400 Received: from 5.mo575.mail-out.ovh.net ([46.105.62.179]:59205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdofj-0006Gr-S7 for 65758@debbugs.gnu.org; Wed, 06 Sep 2023 05:18:04 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.20.39]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 2A62627F39 for <65758@debbugs.gnu.org>; Wed, 6 Sep 2023 09:18:02 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-tpdv7 (unknown [10.110.103.233]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 88E441FDB2; Wed, 6 Sep 2023 09:18:01 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-6684bf9d7b-tpdv7 with ESMTPSA id BX9/H8lD+GTGegAApgY2qw (envelope-from ); Wed, 06 Sep 2023 09:18:01 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Wed, 6 Sep 2023 11:16:06 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> References: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 4884435271028433634 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehfedgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheejheekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth 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.22 X-Migadu-Queue-Id: 7B75D40AFA X-Migadu-Spam-Score: -6.22 X-TUID: zbHZuIP6vAJx * 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