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 ms9.migadu.com with LMTPS id /mSEOjV9mGRMkQAASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 19:45:26 +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 +DTGOTV9mGTdYwEAauVa8A (envelope-from ) for ; Sun, 25 Jun 2023 19:45: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 6F18BA778 for ; Sun, 25 Jun 2023 19:45:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDT7q-0005jB-6j; Sun, 25 Jun 2023 13:02:10 -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 1qDT7o-0005hr-HE for guix-patches@gnu.org; Sun, 25 Jun 2023 13:02:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDT7o-0002FF-8R for guix-patches@gnu.org; Sun, 25 Jun 2023 13:02:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDT7l-0006Iq-NU; Sun, 25 Jun 2023 13:02:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v5 43/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: Sun, 25 Jun 2023 17:02:05 +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, Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.168771250824056 (code B ref 55474); Sun, 25 Jun 2023 17:02:05 +0000 Received: (at 55474) by debbugs.gnu.org; 25 Jun 2023 17:01:48 +0000 Received: from localhost ([127.0.0.1]:43521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT7U-0006Fp-Az for submit@debbugs.gnu.org; Sun, 25 Jun 2023 13:01:48 -0400 Received: from 16.mo550.mail-out.ovh.net ([178.33.104.224]:59207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDT7O-0006FM-Pb for 55474@debbugs.gnu.org; Sun, 25 Jun 2023 13:01:43 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.156.73]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id DE98224F87 for <55474@debbugs.gnu.org>; Sun, 25 Jun 2023 17:01:41 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-bl7mm (unknown [10.110.103.53]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1EAB91FD7D; Sun, 25 Jun 2023 17:01:41 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-bl7mm with ESMTPSA id 0F/1AfVymGTGAAAAUr5NWQ (envelope-from ); Sun, 25 Jun 2023 17:01:41 +0000 X-OVh-ClientIp: 80.215.66.29 Date: Sun, 25 Jun 2023 18:57:44 +0200 Message-Id: <0e1f37c6c9504672024e1b6dc0e423d4f02e1bcc.1687712245.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.40.1 In-Reply-To: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> References: <79ade078335720d3a5595676a65788789415bce0.1687712245.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 8283527092491444962 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrgeehtddguddthecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrieeirddvledpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeehheegjeegseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687715125; a=rsa-sha256; cv=none; b=LcU+7jmvG4Jzb5hWHlNDDGjVBtuXa4zjRFWZaQvhJP130JEpbsrc5ozkrjqsGtXtWuznCo nr+6oqagdOWWoLXobPEBwUh2VY0hOIfc5NY2PMBhhxyw8syY617Y59BwkOLD7hUUWNq6XI sCBtV1XARNQmaQ4gpYDRI2uj76fkFOO4CjauqrTx+k+qCcuti9nHJ/MfBpnaADh6920zG5 gIRV3Rt08TF9qETby9Kz7mY5VlqWoS6y7mTG19xhjmiCcRYVAojVMJcFigVfgT8VF3za3H FaPbBXQpcAz5hb+KGvaXVI6c2bfR0281Q6BQN/F4oQJswZKUMWx65z9RyNDt1Q== 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687715125; 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=0B3J94/NHADkL63Wa7+Kixs+ly1t5SwI5lO6lcRQMN0=; b=tYmKVoaRNDHUrxqUu74nLpCSwjYhq8/c6fMJgHG2PenkuXXcjAqQIL+jYRolcppjjZUWxz G6bcwkY4IpgMjYHyNlpmJdvASHIJGNKOwTNYa7jZQbAi5AkKYLoiX69GPFcQQdzmzGu8DM iew9lxGcyPucHYVdur5mwyZPrXXH40slbWvoHLnsZfab+q7neIh1tkgOAmKISaabQHkJu/ 0vL2CezEcay7AZfk2ovMVYNyMANGZBpLWjT+58SyQw/RTxFWc1ZigmZ1eAGYh39BIoeEmA i4g49QxlQEH9X2x0iGCiND6jdEw70Th8bwkZ2+54ITgoTwl6CYvrO542Kyp+KA== 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.55 X-Spam-Score: -4.55 X-Migadu-Queue-Id: 6F18BA778 X-TUID: YlM6TQe9ToI+ * 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 fe0384b522..942aaf8339 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5348,6 +5348,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.40.1