Projects
Mega:23.09
python-lxml
_service:tar_scm:python-lxml.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:python-lxml.spec of Package python-lxml
%global _empty_manifest_terminate_build 0 %global _description \ The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. \ It is unique in that it combines the speed and XML feature completeness of these libraries with \ the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API. \ The latest release works with all CPython versions from 2.7 to 3.7. Name: python-lxml Version: 4.9.3 Release: 2 Summary: XML processing library combining libxml2/libxslt with the ElementTree API License: BSD URL: https://github.com/lxml/lxml Source0: https://files.pythonhosted.org/packages/30/39/7305428d1c4f28282a4f5bdbef24e0f905d351f34cf351ceb131f5cddf78/lxml-4.9.3.tar.gz Patch0: Make-the-validation-of-ISO-Schematron-files-optional.patch Patch1: 380.patch Patch2: Skip-failing-test_iterparse_utf16_bom.patch Patch6000: backport-Change-HTML-prefix-handling-in-ElementPath-to-let-el.patch %description %{_description} %package -n python3-lxml Summary: XML processing library combining libxml2/libxslt with the ElementTree API Provides: python-lxml = %{version}-%{release} BuildRequires: gcc BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-Cython %description -n python3-lxml %{_description} %package help Summary: Development documents and examples for lxml Provides: python3-lxml-doc %description help %{_description} %prep %autosetup -n lxml-%{version} -p1 find -type f -name '*.c' -print -delete %build %py3_build %install %py3_install pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check make test3 %files -n python3-lxml -f filelist.lst %license doc/licenses/*.txt LICENSES.txt %dir %{python3_sitearch}/* %files help -f doclist.lst %doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt %changelog * Wed Aug 09 2023 zhuofeng <zhuofeng2@huawei.com> - 4.9.3-2 - sync fedara patch * Wed Jul 12 2023 sunhui <sunhui@kylinos.cn> - 4.9.3-1 - Update package to version 4.9.3 * Wed Dec 14 2022 wangjunqi <wangjunqi@kylinos.cn> - 4.9.2-1 - Update package to version 4.9.2 * Fri Jul 29 2022 renhongxun <renhongxun@h-partners.com> - 4.9.1-3 - add amended patch for cve-2022-2309 * Mon Jul 25 2022 shixuantong <shixuantong@h-partners.com> - 4.9.1-2 - Remove pregenerated Cython C sources * Mon Jul 25 2022 liksh <liks11@chinaunicom.cn> - 4.9.1-1 - Upgrade to 4.9.1 for openstack yoga * Wed Jan 19 2022 shixuantong <shixuantong@huawei.com> - 4.7.1-2 - enable check * Sat Dec 25 2021 liudabo<liudabo1@huawei.com> - 4.7.1-1 - DESC: upgrade python-lxml to 4.7.1 * Mon Dec 13 2021 hanxinke<hanxinke@huawei.com> - 4.6.5-1 - DESC: upgrade python-lxml to 4.6.5 * Wed Apr 14 2021 shixuantong<shixuantong@huawei.com> - 4.6.2-2 - fix CVE-2021-28957 * Mon Feb 1 2021 wangjie<wangjie294@huawei.com> - 4.6.2-1 - upgrade 4.6.2-1 * Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 4.5.2-2 - Type:bufix - CVE:NA - SUG:NA - DESC:remove python2 * Thu Jul 23 2020 tianwei <tianwei12@huawei.com> - 4.5.2-1 - Package update to release 4.5.2 * Mon Sep 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.2.3-3 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2