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 AB009138350 for ; Sat, 4 Apr 2020 17:04:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87193E0A01; Sat, 4 Apr 2020 17:04:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 6DE4BE0A01 for ; Sat, 4 Apr 2020 17:04:28 +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 152C934EFF3 for ; Sat, 4 Apr 2020 17:04:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E4961C0 for ; Sat, 4 Apr 2020 17:04: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: <1586019853.2bc539ad5d1d7bb22c783b363113fcc765fee98d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bleach/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/bleach/bleach-3.1.4-r1.ebuild dev-python/bleach/bleach-3.1.4.ebuild X-VCS-Directories: dev-python/bleach/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2bc539ad5d1d7bb22c783b363113fcc765fee98d X-VCS-Branch: master Date: Sat, 4 Apr 2020 17:04: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: ea0fab30-25fa-47f7-992a-3c9509b6b6cf X-Archives-Hash: ebf66d8817dca6bc376e90d43dfe3a80 commit: 2bc539ad5d1d7bb22c783b363113fcc765fee98d Author: Michał Górny gentoo org> AuthorDate: Sat Apr 4 15:16:22 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 4 17:04:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc539ad dev-python/bleach: Unbundle html5lib Closes: https://bugs.gentoo.org/716166 Signed-off-by: Michał Górny gentoo.org> .../bleach/{bleach-3.1.4.ebuild => bleach-3.1.4-r1.ebuild} | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dev-python/bleach/bleach-3.1.4.ebuild b/dev-python/bleach/bleach-3.1.4-r1.ebuild similarity index 70% rename from dev-python/bleach/bleach-3.1.4.ebuild rename to dev-python/bleach/bleach-3.1.4-r1.ebuild index 5a78157e2d6..d80fe336be4 100644 --- a/dev-python/bleach/bleach-3.1.4.ebuild +++ b/dev-python/bleach/bleach-3.1.4-r1.ebuild @@ -16,8 +16,18 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" IUSE="test" RDEPEND=" + >=dev-python/html5lib-1.0.1-r1[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/webencodings[${PYTHON_USEDEP}] " distutils_enable_tests pytest + +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 +}