Package the lxml[cssselect], lxml[html5] and lxml[htmlsoup] extras

This commit is contained in:
Miro Hrončok 2022-08-31 11:43:50 +02:00
parent e79be2c17a
commit e45c54553a
1 changed files with 6 additions and 3 deletions

View File

@ -28,14 +28,16 @@ Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-Cython
Suggests: python%{python3_version}dist(cssselect) >= 0.7
Suggests: python%{python3_version}dist(html5lib)
Suggests: python%{python3_version}dist(beautifulsoup4)
Suggests: python3-lxml+cssselect
Suggests: python3-lxml+html5
Suggests: python3-lxml+htmlsoup
%description -n python3-lxml %{_description}
Python 3 version.
%python_extras_subpkg -n python3-lxml -i %{python3_sitearch}/lxml-*.egg-info cssselect html5 htmlsoup
%prep
%autosetup -n lxml-%{version} -p1
# Remove pregenerated Cython C sources
@ -64,6 +66,7 @@ cp -a build/lib.%{python3_platform}-*/* src/
* Wed Aug 31 2022 Miro Hrončok <mhroncok@redhat.com> - 4.7.1-6
- Use SPDX license identifiers
- The schematron files are not Zlib licensed, but MIT
- Package the lxml[cssselect], lxml[html5] and lxml[htmlsoup] extras
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild