From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GKvwI1Tj8mJ9OwEAbAwnHQ (envelope-from ) for ; Wed, 10 Aug 2022 00:44:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yMn0I1Tj8mJMRwAA9RJhRA (envelope-from ) for ; Wed, 10 Aug 2022 00:44:36 +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 447974135C for ; Wed, 10 Aug 2022 00:44:36 +0200 (CEST) Received: from localhost ([::1]:41048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLXxj-0003fv-1X for larch@yhetil.org; Tue, 09 Aug 2022 18:44:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLXxE-0002oR-UX for guix-patches@gnu.org; Tue, 09 Aug 2022 18:44:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLXxE-0004Gk-Ln for guix-patches@gnu.org; Tue, 09 Aug 2022 18:44:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLXxE-0005AJ-IT for guix-patches@gnu.org; Tue, 09 Aug 2022 18:44:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57094] [PATCH 8/9] gnu: Add python-djhtml. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Aug 2022 22:44:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57094@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 57094-submit@debbugs.gnu.org id=B57094.166008504319822 (code B ref 57094); Tue, 09 Aug 2022 22:44:04 +0000 Received: (at 57094) by debbugs.gnu.org; 9 Aug 2022 22:44:03 +0000 Received: from localhost ([127.0.0.1]:45459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLXxC-00059a-MA for submit@debbugs.gnu.org; Tue, 09 Aug 2022 18:44:02 -0400 Received: from 18.mo581.mail-out.ovh.net ([188.165.56.163]:37981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLXx8-00058e-O2 for 57094@debbugs.gnu.org; Tue, 09 Aug 2022 18:43:59 -0400 Received: from player778.ha.ovh.net (unknown [10.108.16.30]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id CFB5323652 for <57094@debbugs.gnu.org>; Tue, 9 Aug 2022 22:43:56 +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 player778.ha.ovh.net (Postfix) with ESMTPSA id 230572D5A4337; Tue, 9 Aug 2022 22:43:55 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Wed, 10 Aug 2022 00:43:32 +0200 Message-Id: <20220809224333.28437-8-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809224333.28437-1-ngraves@ngraves.fr> References: <20220809224333.28437-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 16369458746218898146 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeguddgudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeejkedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehjedtleegseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedu 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=1660085076; 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=mQ/KtoatNQCGs/URgSWKTEuYlrigktaOtkdDkLYyEFU=; b=oOJOzBmXSKmmlcrXkip42N8IoycwVCnkcIlD7PdJFDeDtaE4iuIwOLavWYmiCYeg5+r3+R NPdMdqAp6Ds+0W81C+xtYzKRqHbLCps+/jQhs6CEWypFEM9tZNwY2dkixc2Iev6TDiz/1F n1E7l3bw0ryE74rKgzQqsYBBE1KsKiROXE6+q/yVt7ZGBLeUQFqcbkeu+37td4z9tNn6GL DN9/EnC1zebr6u+uvVAP+lPsPSgBNFy1E64bcLH3Kttrwh9XkS1Wx3Nl3GyqnBzGY+rFrN Xdmy3SYj+UoBTyFYkE+UL39LzAs8Gs0RFky9XDk2vjhXkzHnfT4GBLe0FYz4xA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660085076; a=rsa-sha256; cv=none; b=aUMywCmr00Zo1rnQOIPi1Nwbx6ICV+WQIs3Ejx4GESuBy8ih+JjQdYiy+pjGytUvQHzIw1 2JjPWBk/TYlmX4JiTM9YtfNSQkHIg/7SZ49cXpMGP0EaHiTvMfaKJVRVplVkiBEK0KkBwZ uEnDdB5LDPxyRAhh/Q2vdlLC2fuDdte2X4JcNbkKeA4XTFerZdPlbV9Vo4tDEUeNCiK51q 6SEED46zAqQ8nFB8qX7M4EIYzz6l0f4NPyWGKMQZ6MjDJqWqjdd/zE+Dh3rFVhHIXkSeh0 uVB8wp/FhEjDaLSaIjBNDoRVmbbpu7WeLRX8LjHbZX1PH6mo4YBuuFTa8Z6Ivg== 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: -2.89 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: 447974135C X-Spam-Score: -2.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: +pRuotR72KFf * gnu/packages/python-web.scm (python-djhtml): New variable. --- gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0c02c4f889..d8ebca876f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1885,6 +1885,33 @@ (define-public python-databricks-cli Databricks REST APIs.") (license license:asl2.0))) +(define-public python-djhtml + (package + (name "python-djhtml") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "djhtml" version)) + (sha256 + (base32 "1csyq47rpfdgigxd4kpil90vl6jrmq42agr04mhsbqj5kh70dffk")))) + (build-system python-build-system) + (native-inputs (list python-black python-flake8 python-isort python-nox + python-pre-commit)) + (home-page "https://github.com/rtts/djhtml") + (synopsis "Django/Jinja template indenter") + (description +"This package provides a fully automatic template indenter that works with +mixed HTML/CSS/Javascript templates that contain Django or Jinja template +tags. It works similar to other code-formatting tools such as +@code{python-black} and interoperates nicely with @code{pre-commit}. + +DjHTML is an indenter and not a formatter: it will only add/remove whitespace +at the beginning of lines. It will not insert newlines or other +characters. The goal is to correctly indent already well-structured templates, +not to fix broken ones.") + (license license:gpl3))) + (define-public python-openid-cla (package (name "python-openid-cla") -- 2.37.1