From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id 4BaGFEEEhWb+MgEAe85BDQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 03 Jul 2024 07:56:49 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id 4BaGFEEEhWb+MgEAe85BDQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 03 Jul 2024 09:56:49 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=GrRiuMq5;
	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=1719993409;
	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-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=rJn6xN7iebNwCW+PCNPS4CHNSDA2Z88qXCQbbd81pfU=;
	b=hv8KXHvrkokGJDketto/nUHsIgR8v+LUKWfzW2Qr1fBsMshgtqA8Wz++vACLHmExvmIYwS
	CQOsPYCooK3yMWuR1zpa7AV0Ta6MogBmVtY9eH7wfUJ1ucQOZe7+vdER1ocRFi2LSNQI57
	KzpdyGkz0UR2sA3qSoPR1DJJI7TW3kurSBvmhslPqWTcI0HUoJJpA1/z5H6+n58yBYJZDL
	mydCNSL3QqnMW11NoXVj7/UcKjxhd1xTaAw7fjjbiGSh3eNZZ5BzV7h/Taw4BSDrRDQ8As
	BlfQYWYsfQcC7NyvTJtsHQnPUb1DCylQooZzPR85veVuNiRI5og+7cxfafDeRQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719993409; a=rsa-sha256; cv=none;
	b=Oa6sCTiRia75+U7HH/C7ilUhbFijuwp8TGTgesWXvYpC7A3NJd4u9r2fpGS7mSw6Z035D3
	LkdgTY/jb4rC/Vy8tZ/YxvTtMqGDO3/7f+2sS8eXgtguLouD5S3iIoev2kIh3q6DSGkbCD
	1M60GNa0pGkgOKzRB/hYjCr9i5iUd5YzLPA3AC2Qof1r6ppi6gHMMX+6849kZ2EsVQoAe/
	cvlTv83iaoWyVk4rD3VkjrYG9pehwUIdyTjg9fAZo2XfWFhLuHjrd90sDS/pc/Mm7Z4ydh
	nV9gjviVSjUYKjHx+sWFYrQRfEFwTm7MoK7Wj11tSm2uI0XTkZpvTlQBNHFAVQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=GrRiuMq5;
	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"
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 DEB4016874
	for <larch@yhetil.org>; Wed,  3 Jul 2024 09:56:48 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1sOuqq-0000BQ-5B; Wed, 03 Jul 2024 03:56:28 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1sOuqg-0000AI-IB
 for guix-patches@gnu.org; Wed, 03 Jul 2024 03:56:19 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1sOuqZ-0007CY-EY; Wed, 03 Jul 2024 03:56:11 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1sOuqQ-0002pQ-I4; Wed, 03 Jul 2024 03:56:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#71914] [PATCH 00/10] gnu: Add python-nh3.
Resent-From: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong <mcsinyx@disroot.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com,
 sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de,
 guix-patches@gnu.org
Resent-Date: Wed, 03 Jul 2024 07:56:02 +0000
Resent-Message-ID: <handler.71914.B.171999332010775@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 71914
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 71914@debbugs.gnu.org
Cc: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong <mcsinyx@disroot.org>,
 Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
 Munyoki Kilyungi <me@bonfacemunyoki.com>,
 Sharlatan Hellseher <sharlatanus@gmail.com>,
 Tanguy Le Carrour <tanguy@bioneland.org>, jgart <jgart@dismail.de>
X-Debbugs-Original-To: guix-patches@gnu.org
X-Debbugs-Original-Xcc: Lars-Dominik Braun <lars@6xq.net>,
 Marius Bakke <marius@gnu.org>, Munyoki Kilyungi <me@bonfacemunyoki.com>,
 Sharlatan Hellseher <sharlatanus@gmail.com>,
 Tanguy Le Carrour <tanguy@bioneland.org>, jgart <jgart@dismail.de>
Received: via spool by submit@debbugs.gnu.org id=B.171999332010775
 (code B ref -1); Wed, 03 Jul 2024 07:56:02 +0000
Received: (at submit) by debbugs.gnu.org; 3 Jul 2024 07:55:20 +0000
Received: from localhost ([127.0.0.1]:38549 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1sOupj-0002nj-Pq
 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:55:20 -0400
Received: from lists.gnu.org ([209.51.188.17]:37420)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mcsinyx@disroot.org>) id 1sOuph-0002nW-Tn
 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:55:18 -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 <mcsinyx@disroot.org>)
 id 1sOupf-0008Cd-JG
 for guix-patches@gnu.org; Wed, 03 Jul 2024 03:55:15 -0400
Received: from layka.disroot.org ([178.21.23.139])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <mcsinyx@disroot.org>)
 id 1sOupd-0006jw-4b
 for guix-patches@gnu.org; Wed, 03 Jul 2024 03:55:15 -0400
X-Virus-Scanned: SPAM Filter at disroot.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1719993310; bh=/60YnC7ycWGBvxrV1wCjDgEv7r8GQnssEcWZJZIpeL4=;
 h=From:To:Cc:Subject:Date;
 b=GrRiuMq55WsmF6vrHr9BQ3vu40oaT7gnbdWngFrJOj7XBglP2l/ZtiIeS6mO+C2i9
 zRm7+WYea7nVvs8PGnyOnrkoQem7xW7dqSwSib9du3Tz1dVftsjoFd3alKLrFS0IO/
 8ELBBgh9/8GU2h58IP+NNepAIcyS/yLQxTaEDbQRLipiNOZQLLTKiHSVxeax3LtUZx
 8UfDa8INwp9PcrtnCGhNyjFv3uzrFknamb10ZTfUeOoJjYy36eB8Z5x98rvamCa4FK
 N/1bn4EhuMMfwheP6cyvBt1JQMbb3865wtmhxTmz1L5LsZZqf84LW9X/IZuyK6wFjz
 mxcbXznLbYyMw==
Date: Wed,  3 Jul 2024 16:54:58 +0900
Message-ID: <cover.1719992277.git.mcsinyx@disroot.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=mcsinyx@disroot.org; 
 helo=layka.disroot.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, 
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Reply-to:  =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong <mcsinyx@disroot.org>
X-ACL-Warn: ,  =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong_via_Guix-patches?=
 <guix-patches@gnu.org>
From: guix-patches--- via <guix-patches@gnu.org>
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
X-Migadu-Queue-Id: DEB4016874
X-Migadu-Scanner: mx12.migadu.com
X-Migadu-Spam-Score: -7.08
X-Spam-Score: -7.08
X-TUID: ZDoqlqvg6LAh

nh3 is a HTML sanitization library for Python,
generally a replacement for the now-deprecated bleach.

I use nh3 for a tool rendering mail threads into HTML,
but that's to be packaged later since I also want to upgrade
its other dependency, mistune.

Dependency tree among patches:
* Add Python nh3
  * Add Rust ammonia
    * Add Rust html5ever 0.27
      * Add Rust markup5ever 0.12
      * Update Rust typed-arena 2 to 2.0.2
  * Add Rust pyo3* 0.21 (also update pyo3* 0.20 to 0.20.3)

Nguyễn Gia Phong (10):
  gnu: rust-typed-arena-2: Update to 2.0.2.
  gnu: Add rust-markup5ever-0.12.
  gnu: Add rust-html5ever-0.27.
  gnu: Add rust-ammonia-4.
  gnu: Add rust-pyo3-build-config-0.21.
  gnu: Add rust-pyo3-ffi-0.21.
  gnu: Add rust-pyo3-macros-backend-0.21.
  gnu: Add rust-pyo3-macros-0.21.
  gnu: Add rust-pyo3-0.21.
  gnu: Add python-nh3.

 gnu/packages/crates-io.scm  | 240 ++++++++++++++++++++++++++++++------
 gnu/packages/crates-web.scm |  29 +++++
 gnu/packages/python-web.scm |  45 +++++++
 3 files changed, 277 insertions(+), 37 deletions(-)


base-commit: 4b3a553ca5ba5ac190739309eb5f7aa8170cf2a8
-- 
2.45.2