From 2c0bd8903e3d47203648b3943b3081fca6730470 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Fri, 15 Nov 2024 11:07:52 +0100 Subject: [PATCH] python/lxml_html_clean: update to 0.4.1 --- components/python/lxml_html_clean/.gitignore | 2 +- components/python/lxml_html_clean/Makefile | 4 ++-- .../python/lxml_html_clean/patches/01-test-no-memory-profiler.patch | 4 ++-- components/python/lxml_html_clean/test/results-all.master | 4 +++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/components/python/lxml_html_clean/.gitignore b/components/python/lxml_html_clean/.gitignore index 188827f6f7..05ffb67d53 100644 --- a/components/python/lxml_html_clean/.gitignore +++ b/components/python/lxml_html_clean/.gitignore @@ -1 +1 @@ -/lxml_html_clean-0.3.1/ +/lxml_html_clean-0.4.1/ diff --git a/components/python/lxml_html_clean/Makefile b/components/python/lxml_html_clean/Makefile index b9cc450c0a..5d952e0ed4 100644 --- a/components/python/lxml_html_clean/Makefile +++ b/components/python/lxml_html_clean/Makefile @@ -19,11 +19,11 @@ BUILD_STYLE = pyproject include ../../../make-rules/shared-macros.mk COMPONENT_NAME = lxml_html_clean -HUMAN_VERSION = 0.3.1 +HUMAN_VERSION = 0.4.1 COMPONENT_SUMMARY = HTML cleaner from lxml project COMPONENT_PROJECT_URL = https://github.com/fedora-python/lxml_html_clean/ COMPONENT_ARCHIVE_HASH = \ - sha256:d9f7d8ae36092f4ed5079cfbf95ff06d3c6fd04f4a861422ce251ece72d3c4b5 + sha256:40c838bbcf1fc72ba4ce811fbb3135913017b27820d7c16e8bc412ae1d8bc00b COMPONENT_LICENSE = BSD-3-Clause COMPONENT_LICENSE_FILE = LICENSE.txt diff --git a/components/python/lxml_html_clean/patches/01-test-no-memory-profiler.patch b/components/python/lxml_html_clean/patches/01-test-no-memory-profiler.patch index 7aed4db254..8f8250eee2 100644 --- a/components/python/lxml_html_clean/patches/01-test-no-memory-profiler.patch +++ b/components/python/lxml_html_clean/patches/01-test-no-memory-profiler.patch @@ -1,7 +1,7 @@ We have no memory_profiler packaged yet. ---- lxml_html_clean-0.3.1/tox.ini.orig -+++ lxml_html_clean-0.3.1/tox.ini +--- lxml_html_clean-0.4.1/tox.ini.orig ++++ lxml_html_clean-0.4.1/tox.ini @@ -8,7 +8,6 @@ python -m doctest tests/test_clean_embed.txt tests/test_clean.txt tests/test_autolink.txt deps = diff --git a/components/python/lxml_html_clean/test/results-all.master b/components/python/lxml_html_clean/test/results-all.master index 1b9633f3d3..1d52c48ec1 100644 --- a/components/python/lxml_html_clean/test/results-all.master +++ b/components/python/lxml_html_clean/test/results-all.master @@ -21,13 +21,15 @@ test_safe_attrs_excluded (tests.test_clean.CleanerTest) ... ok test_safe_attrs_included (tests.test_clean.CleanerTest) ... ok test_sneaky_import_in_style (tests.test_clean.CleanerTest) ... ok test_sneaky_js_in_math_style (tests.test_clean.CleanerTest) ... ok +test_sneaky_js_in_style_comment_math_svg (tests.test_clean.CleanerTest) ... ok +test_sneaky_js_in_style_comment_noscript (tests.test_clean.CleanerTest) ... ok test_sneaky_noscript_in_style (tests.test_clean.CleanerTest) ... ok test_sneaky_schemes_in_style (tests.test_clean.CleanerTest) ... ok test_sneaky_urls_in_style (tests.test_clean.CleanerTest) ... ok test_svg_data_links (tests.test_clean.CleanerTest) ... ok ---------------------------------------------------------------------- -Ran 25 tests +Ran 27 tests OK (skipped=1) py$(PYV): commands[1]> python -m doctest tests/test_clean_embed.txt tests/test_clean.txt tests/test_autolink.txt -- 2.11.4.GIT