From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 791A0138359 for ; Thu, 17 Sep 2020 08:34:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9B81E0833; Thu, 17 Sep 2020 08:34:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9624FE0833 for ; Thu, 17 Sep 2020 08:34:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ACDB4340E24 for ; Thu, 17 Sep 2020 08:34:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5436432C for ; Thu, 17 Sep 2020 08:34:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1600331658.3a6db1a7e376cdf193ad93c8768cdb3e9cbfa182.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bleach/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/bleach/Manifest dev-python/bleach/bleach-3.2.0.ebuild X-VCS-Directories: dev-python/bleach/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3a6db1a7e376cdf193ad93c8768cdb3e9cbfa182 X-VCS-Branch: master Date: Thu, 17 Sep 2020 08:34:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90ead50a-6581-4121-beeb-c87c7591145c X-Archives-Hash: 927c3da767b2ce266c156292d68a2aee commit: 3a6db1a7e376cdf193ad93c8768cdb3e9cbfa182 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 17 08:14:00 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 17 08:34:18 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6db1a7 dev-python/bleach: Bump to 3.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/bleach/Manifest | 1 + dev-python/bleach/bleach-3.2.0.ebuild | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/bleach/Manifest b/dev-python/bleach/Manifest index 495386a6fe9..95124802e07 100644 --- a/dev-python/bleach/Manifest +++ b/dev-python/bleach/Manifest @@ -1 +1,2 @@ DIST bleach-3.1.5.tar.gz 177972 BLAKE2B 6033871f757247f05ee67f66b3596c7a76a9bc5105113206bc8749f9ed103fb6a7c91630540f5f17ddc17e261b24043cc2edcc2562ea7f4cf54774080854de32 SHA512 20db9ab6924a1e884107f30e1059f774b45fd169d3965a61a4ff028e3de17e30be81474d7da89d9275b2173a005c5504a9d11f0e0ca528bf36a9bf08aeed0607 +DIST bleach-3.2.0.tar.gz 178910 BLAKE2B e7e97cc367420a656086e5a0e6c1c527348a0edc23c15f5f4b5a40b3079a2fa32b71fd2d99c4db8891e1b2ed06e4ac8ab3d3f0c9a3de77d02499bf32746a9dd7 SHA512 06dd7e22204280a03e37cfc303b4de8fc8776e9ac3f7a4c2451f1ff768b68d97c6b00fa42dc275eb4404dae5e448b9385b4e6ee204fdc7e11f31207cdc3d926a diff --git a/dev-python/bleach/bleach-3.2.0.ebuild b/dev-python/bleach/bleach-3.2.0.ebuild new file mode 100644 index 00000000000..eab1404c49f --- /dev/null +++ b/dev-python/bleach/bleach-3.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="an easy whitelist-based HTML-sanitizing tool" +HOMEPAGE="https://github.com/mozilla/bleach https://pypi.org/project/bleach/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.0.1-r1[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/bleach-3.1.5-py39.patch +) + +src_prepare() { + # unbundle unpatched broken html5lib + rm -r bleach/_vendor || die + sed -i -e 's:bleach\._vendor\.::' \ + bleach/html5lib_shim.py tests/test_clean.py || die + + distutils-r1_src_prepare +}