From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kF5RC41mPWTGigAASxT56A (envelope-from ) for ; Mon, 17 Apr 2023 17:32:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QNBcC41mPWQwHQEA9RJhRA (envelope-from ) for ; Mon, 17 Apr 2023 17:32:29 +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 DB5FB3ECBA for ; Mon, 17 Apr 2023 17:32:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poQF5-0005Bw-5p; Mon, 17 Apr 2023 10:54:07 -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 1poQF3-00058I-Tu for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:05 -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 1poQF3-00062e-Lp for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1poQF3-0000Db-Fp for guix-patches@gnu.org; Mon, 17 Apr 2023 10:54:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v3 05/17] gnu: Add python-jinjalint. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2023 14:54: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: lars@6xq.net, ngraves@ngraves.fr Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.1681743234686 (code B ref 55474); Mon, 17 Apr 2023 14:54:05 +0000 Received: (at 55474) by debbugs.gnu.org; 17 Apr 2023 14:53:54 +0000 Received: from localhost ([127.0.0.1]:55724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poQEs-0000Av-AD for submit@debbugs.gnu.org; Mon, 17 Apr 2023 10:53:54 -0400 Received: from 8.mo560.mail-out.ovh.net ([188.165.52.147]:45737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poQEp-0000AI-OG for 55474@debbugs.gnu.org; Mon, 17 Apr 2023 10:53:52 -0400 Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.156.133]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 3C62D2396B for <55474@debbugs.gnu.org>; Mon, 17 Apr 2023 14:53:50 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-qk4pc (unknown [10.110.208.112]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id DF8331FE93; Mon, 17 Apr 2023 14:53:49 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-qk4pc with ESMTPSA id 2egzNH1dPWRo9QAAsG0Gqg (envelope-from ); Mon, 17 Apr 2023 14:53:49 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Mon, 17 Apr 2023 16:53:25 +0200 Message-Id: <20230417145337.12403-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230417145337.12403-1-ngraves@ngraves.fr> References: <20230417145337.12403-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6736822092760932902 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeliedgkedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht 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-Flow: FLOW_IN X-Migadu-Country: US 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-Seal: i=1; s=key1; d=yhetil.org; t=1681745548; a=rsa-sha256; cv=none; b=fg8YWYKoerFEFFO/9czg5Nj7Jth16961QFIY5aWNc9ZZymDqhoyggm7E0FlGSBGB/cYXLT mo4EP0Crf3vsPRoG4kSaJNZjQ6BWUtsbkiNW/RD1STeFgOlyGegJJnAwZ5HY6fzF8aFLPR EsuQEyqA8gRTSSzwRlS5h2hiUYKNau6TQp/wPr8O0ZoD2/P1Zb2Ng6tFyaCiRQBazgS8H6 R/p2Ts7uIT4loQ3EnRDwsuPRxTp4OCBnTgVf9HHBbFdEwvIDuvu4Wkc2i0kIY6u2sSar3W rNfNn9ikuVuR5I0xWO3HyFHCbqy/JO0gTsHON8exgzZg1RoVvCthdEwYm8BfDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681745548; 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=4erHBp8gn1j6Y1FdfkLarfn0m5pyW2+U1K2DT6Hbp7I=; b=mQuX+rnS1+ZnUv4Jx5eSNcY6ip38QMQlrG3N/zlETemAZMcPpyv3gRYlvvyE9FaU6fzhhf GVAny84htNkWww4xDb7tUh93OXwQFSMBCoSjoSF00+sj/Qz5fwoj3dCJ0zt6GBr46s7e5x 2dmKE8+7EFXLW9YoNM58jBiLQ6T/VqYLuRCjkOBPPbloKPYua0i706Ds5li8vk1KxEu40+ xgXfsUp/t7YlpcoDRNiRYoSQRYOuH4FlpAErrE4s0bA0YbhwCQHfah/6NzlN4rB8e40VfQ /nYR1FYuww9IGPTkqFSdUnns5MMyUDzHuTC1acG2x1ELpvIt3IHnemzFghHaYQ== X-Migadu-Spam-Score: -4.51 X-Spam-Score: -4.51 X-Migadu-Queue-Id: DB5FB3ECBA 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-TUID: JZnAciH3f5lD * 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 01480be482..e6164da5c7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4750,6 +4750,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.39.2