|
|
|
@ -27,24 +27,24 @@ BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-soupsieve
|
|
|
|
|
BuildRequires: python3-lxml
|
|
|
|
|
|
|
|
|
|
%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 wont 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.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
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.}
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
@ -54,6 +54,7 @@ Summary: %summary
|
|
|
|
|
Requires: python2-lxml
|
|
|
|
|
Requires: python2-soupsieve
|
|
|
|
|
%{?python_provide:%python_provide python2-beautifulsoup4}
|
|
|
|
|
|
|
|
|
|
%description -n python2-beautifulsoup4 %_description
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -62,6 +63,8 @@ Summary: %summary
|
|
|
|
|
Requires: python3-lxml
|
|
|
|
|
Requires: python3-soupsieve
|
|
|
|
|
Obsoletes: python3-BeautifulSoup < 1:3.2.1-2
|
|
|
|
|
%{?python_provide:%python_provide python3-beautifulsoup4}
|
|
|
|
|
|
|
|
|
|
%description -n python3-beautifulsoup4 %_description
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|