forked from pool/python-lxml_html_clean
Accepting request 1225616 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1225616 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml_html_clean?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a644ed01dbbe132fabddb9467f077f6dad12a1d4f3a6a553e280f3815fa46df
|
||||
size 14086
|
||||
3
lxml_html_clean-0.4.1.tar.gz
Normal file
3
lxml_html_clean-0.4.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:40c838bbcf1fc72ba4ce811fbb3135913017b27820d7c16e8bc412ae1d8bc00b
|
||||
size 21378
|
||||
@@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 05:12:50 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Update to 0.4.1
|
||||
* Bugs fixed
|
||||
- Removed superfluous debug prints.
|
||||
- Changes from 0.4.0
|
||||
* Bugs fixed
|
||||
- The Cleaner() now scans for hidden JavaScript code embedded
|
||||
within CSS comments. In certain contexts, such as within
|
||||
<svg> or <math> tags, <style> tags may lose their intended
|
||||
function, allowing comments like /* foo */ to potentially be
|
||||
executed by the browser. If a suspicious content is detected,
|
||||
only the comment is removed.
|
||||
- Changes from 0.3.1
|
||||
* Features added
|
||||
- Do not parse URL addresses when it is not necessary.
|
||||
- Changes from 0.3.0
|
||||
* Features added
|
||||
- Parsing of URL addresses has been enhanced and Cleaner
|
||||
removes ambiguous URLs.
|
||||
- Changes from 0.2.2
|
||||
* Bugs fixed
|
||||
- sdist now includes all test files and changelog.
|
||||
- Changes from 0.2.1
|
||||
* Bugs fixed
|
||||
- Memory efficiency is now much better for HTML pages where
|
||||
cleaner removes a lot of elements. (#14)
|
||||
- Changes from 0.2.0
|
||||
* Features added
|
||||
- ASCII control characters (except HT, VT, CR and LF) are now
|
||||
removed from string inputs before they're parsed by lxml/libxml2.
|
||||
- Fix boo#1233541
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 23 09:27:25 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
||||
@@ -17,18 +17,20 @@
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%define skip_python2 1
|
||||
Name: python-lxml_html_clean
|
||||
Version: 0.1.1
|
||||
Version: 0.4.1
|
||||
Release: 0
|
||||
Summary: HTML cleaner from lxml project
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/fedora-python/lxml_html_clean/
|
||||
Source: https://files.pythonhosted.org/packages/source/l/lxml-html-clean/lxml_html_clean-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 61.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module lxml}
|
||||
@@ -43,6 +45,8 @@ Separate project for HTML cleaning functionalities copied from lxml.html.clean.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n lxml_html_clean-%{version}
|
||||
# Rise up errors during check. Error in python-lxml?
|
||||
rm tests/*.txt
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
Reference in New Issue
Block a user