Compare commits
No commits in common. "f327da7aeda52846ad55f4bdba377e3b7cd44efa" and "82c09bc5c9315539a3e2942bca581ce82136c21f" have entirely different histories.
f327da7aed
...
82c09bc5c9
File diff suppressed because it is too large
Load Diff
BIN
beautifulsoup4-4.6.3.tar.gz
Normal file
BIN
beautifulsoup4-4.6.3.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,15 +1,13 @@
|
|||||||
Name: python-beautifulsoup4
|
Name: python-beautifulsoup4
|
||||||
Version: 4.9.3
|
Version: 4.6.3
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: HTML/XML parser for quick-turnaround projects
|
Summary: HTML/XML parser for quick-turnaround projects
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.crummy.com/software/BeautifulSoup/
|
URL: http://www.crummy.com/software/BeautifulSoup/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: python2-devel >= 2.7 python2-html5lib python2-setuptools python2-lxml python2-tools
|
||||||
BuildRequires: python3-devel python3-html5lib python3-setuptools python3-lxml
|
BuildRequires: python3-devel python3-html5lib python3-setuptools python3-lxml
|
||||||
BuildRequires: python3-soupsieve
|
|
||||||
|
|
||||||
Patch6000: backport-converts-the-code-base-to-Python-3-and-removes-the-u.patch
|
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
This package provides a python library which is designed for quick\
|
This package provides a python library which is designed for quick\
|
||||||
@ -19,6 +17,12 @@ and outgoing documents to utf-8.
|
|||||||
|
|
||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
|
%package -n python2-beautifulsoup4
|
||||||
|
Summary: %summary
|
||||||
|
%description -n python2-beautifulsoup4 %_description
|
||||||
|
Requires: python2-lxml
|
||||||
|
%{?python_provide:%python_provide python2-beautifulsoup4}
|
||||||
|
|
||||||
%package -n python3-beautifulsoup4
|
%package -n python3-beautifulsoup4
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
%description -n python3-beautifulsoup4 %_description
|
%description -n python3-beautifulsoup4 %_description
|
||||||
@ -27,40 +31,40 @@ Requires: python3-lxml
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n beautifulsoup4-%{version}
|
%setup -q -n beautifulsoup4-%{version}
|
||||||
%patch6000 -p1
|
mv AUTHORS.txt AUTHORS.txt.iso
|
||||||
|
iconv -f ISO-8859-1 -t UTF-8 -o AUTHORS.txt AUTHORS.txt.iso
|
||||||
|
touch -r AUTHORS.txt.iso AUTHORS.txt
|
||||||
|
rm -rf %{py3dir}
|
||||||
|
cp -a . %{py3dir}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%{py2_build}
|
||||||
|
pushd %{py3dir}
|
||||||
|
2to3 --write --nobackups .
|
||||||
%{py3_build}
|
%{py3_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%{py2_install}
|
||||||
|
pushd %{py3dir}
|
||||||
%{py3_install}
|
%{py3_install}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m unittest discover -s bs4 || :
|
%{__python2} -m unittest discover -s bs4
|
||||||
|
pushd %{py3dir}
|
||||||
|
%{__python3} -m unittest discover -s bs4
|
||||||
|
|
||||||
|
%files -n python2-beautifulsoup4
|
||||||
|
%{python2_sitelib}/bs4
|
||||||
|
%{python2_sitelib}/beautifulsoup4-%{version}*.egg-info
|
||||||
|
%doc TODO.txt AUTHORS.txt NEWS.txt
|
||||||
|
%license COPYING.txt
|
||||||
|
|
||||||
%files -n python3-beautifulsoup4
|
%files -n python3-beautifulsoup4
|
||||||
%license COPYING.txt
|
|
||||||
%doc NEWS.txt TODO.txt
|
|
||||||
%{python3_sitelib}/beautifulsoup4-%{version}*.egg-info
|
|
||||||
%{python3_sitelib}/bs4
|
%{python3_sitelib}/bs4
|
||||||
|
%{python3_sitelib}/beautifulsoup4-%{version}*.egg-info
|
||||||
|
%doc TODO.txt AUTHORS.txt NEWS.txt
|
||||||
|
%license COPYING.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* 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.
|
|
||||||
|
|
||||||
* Mon Jul 26 2021 liusheng<liusheng2048@huawei.com> - 4.9.3-1
|
|
||||||
- Upgrade to version 4.9.3
|
|
||||||
|
|
||||||
* Fri Oct 30 2020 wangjie<wangjie294@huawei.com> -4.6.3-4
|
|
||||||
- Type:NA
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:remove python2
|
|
||||||
* Tue Aug 4 2020 wenzhanli<wenzhanli2@huawei.com> - 4.6.3-3
|
|
||||||
- Type:bugfix
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:Fix make test error
|
|
||||||
|
|
||||||
* Sat Sep 21 2019 yangfeiyu <yangfeiyu2@huawei.com> - 4.6.3-2
|
* Sat Sep 21 2019 yangfeiyu <yangfeiyu2@huawei.com> - 4.6.3-2
|
||||||
- spec init
|
- spec init
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: pypi
|
version_control: pypi
|
||||||
src_repo: beautifulsoup4
|
src_repo: beautifulsoup4
|
||||||
tag_prefix: ^v
|
tag_prefix: ^v
|
||||||
seperator: "."
|
seperator: ".
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user