From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bleach/
Date: Thu, 7 Apr 2022 16:59:27 +0000 (UTC) [thread overview]
Message-ID: <1649350504.f51728bf4e726bfc8d793df1e2ec3a83c4bd9031.arthurzam@gentoo> (raw)
commit: f51728bf4e726bfc8d793df1e2ec3a83c4bd9031
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 7 16:55:04 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 7 16:55:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f51728bf
dev-python/bleach: add 5.0.0
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/bleach/Manifest | 1 +
dev-python/bleach/bleach-5.0.0.ebuild | 43 +++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-python/bleach/Manifest b/dev-python/bleach/Manifest
index a597f703e6a0..0076f2a300c8 100644
--- a/dev-python/bleach/Manifest
+++ b/dev-python/bleach/Manifest
@@ -1 +1,2 @@
DIST bleach-4.1.0.tar.gz 195798 BLAKE2B 68afd58aa099acb5c21f1ff76301c46834f326ea2aa4fe7a6f820c2cf31913e81dc72deecab4272b2a7ceab1ae01bec028a5cf5e6214cddef4cdec5ec05ea4c6 SHA512 34c522dde5126995789e23fd28f7938d025f56e97e30814dc326d33a772d40fc2ad2f25aed0b367fd4352b1e1e8f54b80282b931819203bf60448ffe2f120622
+DIST bleach-5.0.0.tar.gz 198789 BLAKE2B 0b2847e9342be1854a08679230b3ea0fcb1a514eaa6c11f344057e59310b6d769e2bee91272295a0f60fa0ed1c2e4503340276d99794d260b6a63e2c4ea76703 SHA512 5b8e0c94a7bd8270581719928ec869c5c3c91900be0a293adfb342acfc55df7e63211e95786e6a39b3661b3852e91a8b37ff805387fb3e6a286e8a5dce8e3655
diff --git a/dev-python/bleach/bleach-5.0.0.ebuild b/dev-python/bleach/bleach-5.0.0.ebuild
new file mode 100644
index 000000000000..7244e10162b9
--- /dev/null
+++ b/dev-python/bleach/bleach-5.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} 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 ~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}"/${PN}-4.1.0-py39.patch
+)
+
+src_prepare() {
+ # unbundle unpatched broken html5lib
+ rm -r bleach/_vendor || 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 '/six/d' -e '/webencodings/d' setup.py || die
+
+ sed -i -e '/import/s/parse/urllib.&/' bleach/sanitizer.py || die
+
+ distutils-r1_src_prepare
+}
next reply other threads:[~2022-04-07 16:59 UTC|newest]
Thread overview: 127+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 16:59 Arthur Zamarin [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-10-30 3:41 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ć
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=1649350504.f51728bf4e726bfc8d793df1e2ec3a83c4bd9031.arthurzam@gentoo \
--to=arthurzam@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