forked from pool/python-html5-parser
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4aa50aa136 | |||
| d3c6755042 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 28 06:46:30 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 20 06:16:01 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Mon Nov 20 06:16:01 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-html5-parser
|
# spec file for package python-html5-parser
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -29,7 +29,9 @@ BuildRequires: %{python_module beautifulsoup4}
|
|||||||
BuildRequires: %{python_module chardet}
|
BuildRequires: %{python_module chardet}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module lxml >= 3.8.0}
|
BuildRequires: %{python_module lxml >= 3.8.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -45,10 +47,10 @@ about thirty times faster than the "html5lib" pure Python based parser.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
find . -name '*.py' -exec sed -i '/#.*usr.bin.env.*python/d' {} \;
|
find . -name '*.py' -exec sed -i '/#.*usr.bin.env.*python/d' {} \;
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
@@ -61,6 +63,6 @@ find . -name '*.py' -exec sed -i '/#.*usr.bin.env.*python/d' {} \;
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitearch}/html5_parser/
|
%{python_sitearch}/html5_parser/
|
||||||
%{python_sitearch}/html5_parser-%{version}-py%{python_version}.egg-info
|
%{python_sitearch}/html5_parser-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user