Update package beautifulsoup4 of version 4.10.0
This commit is contained in:
parent
c597bf2521
commit
a27340fa07
File diff suppressed because it is too large
Load Diff
BIN
beautifulsoup4-4.10.0.tar.gz
Normal file
BIN
beautifulsoup4-4.10.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,50 +1,98 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-beautifulsoup4
|
Name: python-beautifulsoup4
|
||||||
Version: 4.9.3
|
Version: 4.10.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: HTML/XML parser for quick-turnaround projects
|
Summary: Screen-scraping library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.crummy.com/software/BeautifulSoup/
|
URL: http://www.crummy.com/software/BeautifulSoup/bs4/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/a1/69/daeee6d8f22c997e522cdbeb59641c4d31ab120aba0f2c799500f7456b7e/beautifulsoup4-4.10.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel python3-html5lib python3-setuptools python3-lxml
|
%description
|
||||||
BuildRequires: python3-soupsieve
|
This package provides a python library which is designed for quick
|
||||||
|
turnaround projects.It provides methods for navigating and modifying
|
||||||
Patch6000: backport-converts-the-code-base-to-Python-3-and-removes-the-u.patch
|
a parse tree.It can help convert incoming documents to Unicode
|
||||||
|
|
||||||
%global _description\
|
|
||||||
This package provides a python library which is designed for quick\
|
|
||||||
turnaround projects.It provides methods for navigating and modifying\
|
|
||||||
a parse tree.It can help convert incoming documents to Unicode\
|
|
||||||
and outgoing documents to utf-8.
|
and outgoing documents to utf-8.
|
||||||
|
|
||||||
%description %_description
|
%package -n python3-beautifulsoup4
|
||||||
|
Summary: Screen-scraping library
|
||||||
%package -n python3-beautifulsoup4
|
Provides: python-beautifulsoup4
|
||||||
Summary: %summary
|
# Base build requires
|
||||||
%description -n python3-beautifulsoup4 %_description
|
BuildRequires: python3-devel
|
||||||
Obsoletes: python3-BeautifulSoup < 1:3.2.1-2
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
# General requires
|
||||||
|
BuildRequires: python3-soupsieve
|
||||||
|
BuildRequires: python3-html5lib
|
||||||
|
BuildRequires: python3-lxml
|
||||||
|
# General requires
|
||||||
|
Requires: python3-soupsieve
|
||||||
|
Requires: python3-html5lib
|
||||||
Requires: python3-lxml
|
Requires: python3-lxml
|
||||||
|
%description -n python3-beautifulsoup4
|
||||||
|
This package provides a python library which is designed for quick
|
||||||
|
turnaround projects.It provides methods for navigating and modifying
|
||||||
|
a parse tree.It can help convert incoming documents to Unicode
|
||||||
|
and outgoing documents to utf-8.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Screen-scraping library
|
||||||
|
Provides: python3-beautifulsoup4-doc
|
||||||
|
%description help
|
||||||
|
This package provides a python library which is designed for quick
|
||||||
|
turnaround projects.It provides methods for navigating and modifying
|
||||||
|
a parse tree.It can help convert incoming documents to Unicode
|
||||||
|
and outgoing documents to utf-8.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n beautifulsoup4-%{version}
|
%autosetup -n beautifulsoup4-%{version}
|
||||||
%patch6000 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{py3_build}
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{py3_install}
|
%py3_install
|
||||||
|
|
||||||
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
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
|
%check
|
||||||
%{__python3} -m unittest discover -s bs4 || :
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python3-beautifulsoup4
|
%files -n python3-beautifulsoup4 -f filelist.lst
|
||||||
%license COPYING.txt
|
%dir %{python3_sitelib}/*
|
||||||
%doc NEWS.txt TODO.txt
|
|
||||||
%{python3_sitelib}/beautifulsoup4-%{version}*.egg-info
|
%files help -f doclist.lst
|
||||||
%{python3_sitelib}/bs4
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 24 2022 renliang <renliang@uniontech.com> - 4.10.0-1
|
||||||
|
- Upgrade package python3-beautifulsoup4 to version 4.10.0
|
||||||
|
|
||||||
* Mon Jan 10 2022 shixuantong <shixuantong@huawei.com> - 4.9.3-2
|
* Mon Jan 10 2022 shixuantong <shixuantong@huawei.com> - 4.9.3-2
|
||||||
- converts the code base to Python 3, and removes the use_2to3 reference in setup.py.
|
- converts the code base to Python 3, and removes the use_2to3 reference in setup.py.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user