public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bleach/
Date: Wed, 30 Oct 2024 03:41:29 +0000 (UTC)	[thread overview]
Message-ID: <1730259234.394c85eca2a1161512393a152ffc123000b7ec89.mgorny@gentoo> (raw)

commit:     394c85eca2a1161512393a152ffc123000b7ec89
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 30 03:30:43 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 30 03:33:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=394c85ec

dev-python/bleach: Bump to 6.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/bleach/Manifest            |  1 +
 dev-python/bleach/bleach-6.2.0.ebuild | 52 +++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/bleach/Manifest b/dev-python/bleach/Manifest
index d01aa6e4e3a5..bd6bd379266a 100644
--- a/dev-python/bleach/Manifest
+++ b/dev-python/bleach/Manifest
@@ -1 +1,2 @@
 DIST bleach-6.1.0.tar.gz 202119 BLAKE2B d2da448feabe61431b176092f713f6f85790c22d3869a8d94f5c9659e481fd4a0b8e230eb72687e4da8914956a8858a2a5f942169ae2324d7762c5e1f20cc0ef SHA512 d7c9e77decd5eb0aceb4b33ad7e213683354aa702508f332dd6be15a14010d3795c2115acbae964cbaeff3e74c15d35eb18268d8fd8286e2cd6ad1c0dc79a838
+DIST bleach-6.2.0.tar.gz 203083 BLAKE2B bd570cc330d02ce1340f326b480827d6a4f522975562b7e78edd1505ec78bdeba6e9233819fc1703a0ad009b23975032fabbaa8c4c5242fa91a94a4f2de93ff3 SHA512 2a5059076756bfe528221bd719a00b1221ae9e07644b53232b268e078ab0d37fb25f6fdd292d39bcc711dcbe771a21dad6549ec1b27dc7d7de6852f85228c48c

diff --git a/dev-python/bleach/bleach-6.2.0.ebuild b/dev-python/bleach/bleach-6.2.0.ebuild
new file mode 100644
index 000000000000..6b6f999af7e9
--- /dev/null
+++ b/dev-python/bleach/bleach-6.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="An easy whitelist-based HTML-sanitizing tool"
+HOMEPAGE="
+	https://github.com/mozilla/bleach/
+	https://pypi.org/project/bleach/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+	dev-python/packaging[${PYTHON_USEDEP}]
+	>=dev-python/html5lib-1.0.1-r1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+	"${FILESDIR}"/bleach-6.0.0-py39.patch
+)
+
+EPYTEST_DESELECT=(
+	# this package is not really maintained anymore
+	'tests/test_parse_shim.py::test_urlparse[\t   :foo.com   \n-expected8]'
+	'tests/test_parse_shim.py::test_urlparse[ foo.com  -expected9]'
+)
+
+src_prepare() {
+	# unbundle unpatched broken html5lib
+	rm -r bleach/_vendor || die
+	sed -i -e 's:bleach\._vendor\.parse:urllib.parse:' \
+		bleach/parse_shim.py || die
+	sed -i -e 's:bleach\._vendor\.::' \
+		bleach/html5lib_shim.py \
+		bleach/sanitizer.py \
+		tests/test_clean.py || die
+	# indirect html5lib deps
+	sed -i -e '/webencodings/d' setup.py || die
+	rm bleach/six_shim.py || die
+
+	distutils-r1_src_prepare
+}


             reply	other threads:[~2024-10-30  3:41 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30  3:41 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-16  8:19 [gentoo-commits] repo/gentoo:master commit in: dev-python/bleach/ Michał Górny
2024-11-16  8:09 Michał Górny
2024-05-17 14:26 Michał Górny
2023-11-11 20:36 Michał Górny
2023-11-11 19:21 Sam James
2023-10-07  4:43 Michał Górny
2023-09-14  9:58 Andrew Ammerlaan
2023-02-23 20:53 Michał Górny
2023-02-23 20:53 Michał Górny
2023-02-23 19:43 Arthur Zamarin
2022-07-29 12:49 Michał Górny
2022-07-29 11:43 Arthur Zamarin
2022-06-28  4:03 Michał Górny
2022-06-16  9:18 Michał Górny
2022-06-16  8:59 Jakov Smolić
2022-05-15 10:41 Michał Górny
2022-05-15 10:41 Michał Górny
2022-05-15  8:14 Jakov Smolić
2022-04-07 16:59 Arthur Zamarin
2021-10-09 19:18 Sam James
2021-09-05  6:35 Michał Górny
2021-09-05  6:02 Sam James
2021-08-16  6:38 Michał Górny
2021-08-16  5:20 Agostino Sarubbo
2021-08-04  6:13 Michał Górny
2021-07-28 23:38 Marek Szuba
2021-07-14 22:16 Michał Górny
2021-06-02 16:26 Michał Górny
2021-02-02 21:22 Michał Górny
2021-02-02 21:00 Sam James
2021-02-02  8:39 Michał Górny
2021-01-26 21:20 Michał Górny
2021-01-21 10:52 Michał Górny
2020-11-28 14:21 Sam James
2020-10-08 18:38 Sam James
2020-09-17  8:34 Michał Górny
2020-07-25  8:31 Michał Górny
2020-07-08 13:08 Michał Górny
2020-07-08 13:08 Michał Górny
2020-07-08  7:18 Sergei Trofimovich
2020-07-08  7:11 Sergei Trofimovich
2020-05-27  6:10 Michał Górny
2020-04-04 17:04 Michał Górny
2020-03-30 17:41 Mikle Kolyada
2020-03-30 17:30 Mart Raudsepp
2020-03-30 17:30 Mart Raudsepp
2020-03-28 22:50 Mart Raudsepp
2020-03-28 22:46 Mart Raudsepp
2020-03-27 13:29 Agostino Sarubbo
2020-03-27 13:07 Sebastian Pipping
2020-03-26 14:15 Agostino Sarubbo
2020-03-26 14:14 Agostino Sarubbo
2020-03-26 14:13 Agostino Sarubbo
2020-03-26 14:13 Agostino Sarubbo
2020-03-26 14:12 Agostino Sarubbo
2020-03-26 13:49 Michał Górny
2020-03-23 18:19 Sebastian Pipping
2019-12-04 22:28 Patrick McLean
2019-02-08  8:32 Mikle Kolyada
2019-02-08  8:32 Mikle Kolyada
2019-02-08  8:32 Mikle Kolyada
2019-01-31 14:23 Tobias Klausmann
2019-01-21 23:31 Sergei Trofimovich
2019-01-21 23:28 Sergei Trofimovich
2019-01-21 23:26 Sergei Trofimovich
2019-01-18  7:27 Sergei Trofimovich
2019-01-17 22:41 Sergei Trofimovich
2019-01-17 20:45 Mikle Kolyada
2019-01-17 19:56 Mart Raudsepp
2019-01-17 16:24 Virgil Dupras
2019-01-17 16:24 Virgil Dupras
2018-12-08 17:41 Mikle Kolyada
2018-11-18 22:22 Virgil Dupras
2018-11-08 23:35 Sergei Trofimovich
2018-10-30  0:12 Sergei Trofimovich
2018-10-09 18:27 Virgil Dupras
2018-10-05 15:56 Virgil Dupras
2018-10-05 15:56 Virgil Dupras
2018-09-16 20:25 Matt Turner
2018-09-16 20:25 Matt Turner
2018-09-13 19:23 Tobias Klausmann
2018-08-30  4:44 Markus Meier
2018-08-18  4:01 Mikle Kolyada
2018-08-13 20:43 Sergei Trofimovich
2018-08-12 18:48 Mart Raudsepp
2018-03-19  6:04 Tim Harder
2018-02-22 15:52 Michał Górny
2018-01-02 22:14 Michał Górny
2017-12-20 21:53 Sergei Trofimovich
2017-11-23 22:31 Matt Turner
2017-10-19  8:20 Tim Harder
2017-09-22 19:40 Sergei Trofimovich
2017-08-20  2:21 Tim Harder
2017-08-20  2:17 Tim Harder
2017-07-01 11:19 Sergei Trofimovich
2017-05-26 20:56 Mart Raudsepp
2017-05-26 18:36 Markus Meier
2017-05-26 14:00 Mike Gilbert
2017-05-26 10:16 Tobias Klausmann
2017-05-23 20:00 Michael Weber
2017-05-18 20:00 Michael Weber
2017-05-17 19:22 Markus Meier
2017-05-10 20:10 Jeroen Roovers
2017-05-09  2:08 Zac Medico
2017-05-03  9:26 Michał Górny
2017-03-22 19:48 Markus Meier
2017-03-11 17:07 Agostino Sarubbo
2017-02-25 10:03 Agostino Sarubbo
2017-02-23 16:35 Michael Weber
2017-02-23 16:35 Michael Weber
2017-02-23 14:12 Michael Weber
2017-02-21 11:54 Tobias Klausmann
2017-02-19  8:40 Markus Meier
2017-02-12 22:20 Zac Medico
2017-02-12 17:10 Agostino Sarubbo
2017-02-12 16:25 Agostino Sarubbo
2017-02-07 23:58 Mart Raudsepp
2017-02-06 14:55 Agostino Sarubbo
2017-02-04 12:08 Jeroen Roovers
2017-01-25  6:39 Jeroen Roovers
2016-11-30 18:05 Michał Górny
2016-11-12  5:22 Tim Harder
2016-11-12  5:22 Tim Harder
2016-11-12  5:22 Tim Harder
2016-07-17 15:44 Patrick Lauer
2015-12-14  0:13 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1730259234.394c85eca2a1161512393a152ffc123000b7ec89.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox