|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
|
Name: python-beautifulsoup4
|
|
|
|
|
Version: 4.6.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: HTML/XML parser for quick-turnaround applications like screen-scraping
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
@ -17,26 +17,34 @@ BuildRequires: python-devel >= 2.7
|
|
|
|
|
BuildRequires: python-html5lib
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
BuildRequires: python-lxml
|
|
|
|
|
Requires: python-lxml
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Beautiful Soup is a Python HTML/XML parser designed for quick
|
|
|
|
|
turnaround projects like screen-scraping. Three features make it
|
|
|
|
|
powerful:
|
|
|
|
|
|
|
|
|
|
Beautiful Soup won't choke if you give it bad markup.
|
|
|
|
|
|
|
|
|
|
Beautiful Soup provides a few simple methods and Pythonic idioms for
|
|
|
|
|
navigating, searching, and modifying a parse tree.
|
|
|
|
|
%global _description\
|
|
|
|
|
Beautiful Soup is a Python HTML/XML parser designed for quick\
|
|
|
|
|
turnaround projects like screen-scraping. Three features make it\
|
|
|
|
|
powerful:\
|
|
|
|
|
\
|
|
|
|
|
Beautiful Soup won't choke if you give it bad markup.\
|
|
|
|
|
\
|
|
|
|
|
Beautiful Soup provides a few simple methods and Pythonic idioms for\
|
|
|
|
|
navigating, searching, and modifying a parse tree.\
|
|
|
|
|
\
|
|
|
|
|
Beautiful Soup automatically converts incoming documents to Unicode\
|
|
|
|
|
and outgoing documents to UTF-8.\
|
|
|
|
|
\
|
|
|
|
|
Beautiful Soup parses anything you give it.\
|
|
|
|
|
\
|
|
|
|
|
Valuable data that was once locked up in poorly-designed websites is\
|
|
|
|
|
now within your reach. Projects that would have taken hours take only\
|
|
|
|
|
minutes with Beautiful Soup.
|
|
|
|
|
|
|
|
|
|
Beautiful Soup automatically converts incoming documents to Unicode
|
|
|
|
|
and outgoing documents to UTF-8.
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
Beautiful Soup parses anything you give it.
|
|
|
|
|
%package -n python2-beautifulsoup4
|
|
|
|
|
Summary: %summary
|
|
|
|
|
Requires: python-lxml
|
|
|
|
|
%{?python_provide:%python_provide python2-beautifulsoup4}
|
|
|
|
|
|
|
|
|
|
Valuable data that was once locked up in poorly-designed websites is
|
|
|
|
|
now within your reach. Projects that would have taken hours take only
|
|
|
|
|
minutes with Beautiful Soup.
|
|
|
|
|
%description -n python2-beautifulsoup4 %_description
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%package -n python3-beautifulsoup4
|
|
|
|
@ -109,7 +117,7 @@ pushd %{py3dir}
|
|
|
|
|
%{__python3} -m unittest discover -s bs4
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%files -n python2-beautifulsoup4
|
|
|
|
|
%license COPYING.txt
|
|
|
|
|
%doc AUTHORS.txt NEWS.txt README.txt TODO.txt
|
|
|
|
|
%{python_sitelib}/beautifulsoup4-%{version}*.egg-info
|
|
|
|
@ -124,6 +132,10 @@ pushd %{py3dir}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.6.0-3
|
|
|
|
|
- Python 2 binary package renamed to python2-beautifulsoup4
|
|
|
|
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|