Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bleach/
Date: Sun, 05 Sep 2021 06:35:46
Message-Id: 1630823559.f717bf087565045f777737bd46975f02e60af622.mgorny@gentoo
1 commit: f717bf087565045f777737bd46975f02e60af622
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 5 06:32:39 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 5 06:32:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f717bf08
7
8 dev-python/bleach: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/bleach/Manifest | 1 -
13 dev-python/bleach/bleach-3.3.1.ebuild | 41 -----------------------------------
14 2 files changed, 42 deletions(-)
15
16 diff --git a/dev-python/bleach/Manifest b/dev-python/bleach/Manifest
17 index 4d12637d1f9..20884777f2b 100644
18 --- a/dev-python/bleach/Manifest
19 +++ b/dev-python/bleach/Manifest
20 @@ -1,2 +1 @@
21 -DIST bleach-3.3.1.tar.gz 183687 BLAKE2B 9ca70ff84919b6b893afdbf7914098efe7dc3c9f0c86a729a92754ba6dacc95752abc44cea96db282483cf53413d6a98421c95f102941d23adf89af00b2a5afd SHA512 bb68275f91a4c724c14594d008f58d31ab0a97b08fd45b6cbe8237a31a1bbfd24a19cea1a835efffb979739ce17a3c065099e677019e498e78d9a4222ff2d66c
22 DIST bleach-4.0.0.tar.gz 183459 BLAKE2B 380e94163b353e9436748fc6c1f368fb4d261087c2d6bc6fab1262295d597dbe81a67c34b889a29fd6a5180b8b522b517dc234e78b26556a16845f26f83151c8 SHA512 21f2a2dc5fa5e09cc2e38325191d7dc0bff2606cbe68ade54d866e326e712cb00a80b3a7a44f844ad4967ee6fdf453cca07d02c337bf147e4a12237231bcd99f
23
24 diff --git a/dev-python/bleach/bleach-3.3.1.ebuild b/dev-python/bleach/bleach-3.3.1.ebuild
25 deleted file mode 100644
26 index 234418e23c4..00000000000
27 --- a/dev-python/bleach/bleach-3.3.1.ebuild
28 +++ /dev/null
29 @@ -1,41 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
36 -inherit distutils-r1
37 -
38 -DESCRIPTION="An easy whitelist-based HTML-sanitizing tool"
39 -HOMEPAGE="
40 - https://github.com/mozilla/bleach/
41 - https://pypi.org/project/bleach/"
42 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="Apache-2.0"
45 -SLOT="0"
46 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
47 -
48 -RDEPEND="
49 - dev-python/packaging[${PYTHON_USEDEP}]
50 - >=dev-python/html5lib-1.0.1-r1[${PYTHON_USEDEP}]
51 - dev-python/six[${PYTHON_USEDEP}]
52 - dev-python/webencodings[${PYTHON_USEDEP}]
53 -"
54 -
55 -distutils_enable_tests pytest
56 -
57 -PATCHES=(
58 - "${FILESDIR}"/bleach-3.2.1-py39.patch
59 -)
60 -
61 -src_prepare() {
62 - # unbundle unpatched broken html5lib
63 - rm -r bleach/_vendor || die
64 - sed -i -e 's:bleach\._vendor\.::' \
65 - bleach/html5lib_shim.py \
66 - bleach/sanitizer.py \
67 - tests/test_clean.py || die
68 -
69 - distutils-r1_src_prepare
70 -}