From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OAbbDjCW8mKrsgAAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 19:15:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IIuHDjCW8mIAfwAAauVa8A (envelope-from ) for ; Tue, 09 Aug 2022 19:15:28 +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 DD60EBB4B for ; Tue, 9 Aug 2022 19:15:27 +0200 (CEST) Received: from localhost ([::1]:49594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLSp6-0001dH-Lb for larch@yhetil.org; Tue, 09 Aug 2022 13:15:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLSns-0000X9-9A for guix-patches@gnu.org; Tue, 09 Aug 2022 13:14:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLSnr-0003GV-HH for guix-patches@gnu.org; Tue, 09 Aug 2022 13:14:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLSnr-0002n0-Dq for guix-patches@gnu.org; Tue, 09 Aug 2022 13:14:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v2 05/17] gnu: Add python-jinjalint. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Aug 2022 17:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55474@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.166006523510625 (code B ref 55474); Tue, 09 Aug 2022 17:14:03 +0000 Received: (at 55474) by debbugs.gnu.org; 9 Aug 2022 17:13:55 +0000 Received: from localhost ([127.0.0.1]:44716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLSni-0002lH-Iu for submit@debbugs.gnu.org; Tue, 09 Aug 2022 13:13:54 -0400 Received: from 14.mo581.mail-out.ovh.net ([178.33.251.19]:35065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLSne-0002kg-DH for 55474@debbugs.gnu.org; Tue, 09 Aug 2022 13:13:51 -0400 Received: from player737.ha.ovh.net (unknown [10.109.138.52]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4B7C623D64 for <55474@debbugs.gnu.org>; Tue, 9 Aug 2022 17:13:47 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player737.ha.ovh.net (Postfix) with ESMTPSA id 83B8323F34674; Tue, 9 Aug 2022 17:13:46 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Tue, 9 Aug 2022 19:13:20 +0200 Message-Id: <20220809171332.25824-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809171332.25824-1-ngraves@ngraves.fr> References: <20220809171332.25824-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10793720936096391906 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdegtddgudduudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejfeejrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekud 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=1660065327; 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=c6jHsETr5AERcc01dkMqJDMzWORDlZUR1qpF6uVNfR4=; b=JjLQW4xKrTyrB+EmVrQhIll8740rUUdo62j5LnwA0VOJ4s98LoHVtlAbpD4J9PjQ1B5Nep ouxulhDo4xIo0YICCn8jCJq2oaTQkrwVzvx4FIPZxbgNDrwEDMnTDIxSTxb8hKIGpNwHsi KOhxICA2iZi4y550E88XZFEBy2Omw1QgMb4TBz7Ja/2MEJ+u3+o+TGCYKuTA3FxJYPiSfx MxTaJU+V1jKNAlxigm30TiSHC91RBSiVLTnQ0eJWqG6UgC4bqYYCcfeTuLTUjz3u0NXv6z KN41QhmfyiTLktI0sIY5OJu69qlmu8/Y4wWkgJp/RnVEjaD0X1XPOY4ILFHaMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660065327; a=rsa-sha256; cv=none; b=eCE5VHvgJjeeWlItWqWoAv71iAWBnYSS+XtSo1EJcNlO1hhmpUoNPrtoaZ0yl/xYB6iFuH iauc+Ph8ejHGHSG6ylHaRYJJLOR/KivBjGtotSA9SO7GN9bi2M05sbWfRyyOAzFLJUgH21 XQIEZJM05xK8KvqmgMOx7Qi4O/g3Cq1wO2itHZjWL2lQFXrbBltj8wGbyu30ixdVF1wZfI yHxGHz6AwbsqInhQAt81SRUv2eL13GCVUfUTKhGOu8yIfZEg9iBaAGe955e0itdB2zjCPB 4rksWWxNJtsnW2fxNzD85qcaAT+qMvbJBU6i1zb/Rrgois86ziTM9wRdmWR8zA== 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: -3.79 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: DD60EBB4B X-Spam-Score: -3.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: 47oD7yFmo+BS * gnu/packages/python-xyz.scm (python-jinjalint): New variable. --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b6ca32a757..a94e632028 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4107,6 +4107,38 @@ (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 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 "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.37.1