Add in Troy Dawson <tdawson@redhat.com> patch for bootstrapping

epel8
Stephen Smoogen 6 years ago
parent 8c540d3cbf
commit 243ab66a06

@ -1,24 +1,30 @@
# Bootstracp
%global with_tests 0
Name: python-beautifulsoup4 Name: python-beautifulsoup4
Version: 4.6.3 Version: 4.6.3
Release: 2%{?dist} Release: 2%{?dist}.1
Summary: HTML/XML parser for quick-turnaround applications like screen-scraping Summary: HTML/XML parser for quick-turnaround applications like screen-scraping
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 BuildRequires: python2-devel >= 2.7
# html5lib BR just for test coverage
BuildRequires: python2-html5lib
BuildRequires: python2-setuptools BuildRequires: python2-setuptools
BuildRequires: python2-lxml BuildRequires: python2-lxml
BuildRequires: /usr/bin/2to3 BuildRequires: /usr/bin/2to3
BuildRequires: python2-tools BuildRequires: python2-tools
# html5lib BR just for test coverage
BuildRequires: python3-html5lib
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-lxml BuildRequires: python3-lxml
%if 0%{?with_tests}
# html5lib BR just for test coverage
BuildRequires: python2-html5lib
BuildRequires: python3-html5lib
%endif # with_tests
%global _description\ %global _description\
Beautiful Soup is a Python HTML/XML parser designed for quick\ Beautiful Soup is a Python HTML/XML parser designed for quick\
turnaround projects like screen-scraping. Three features make it\ turnaround projects like screen-scraping. Three features make it\
@ -70,10 +76,12 @@ pushd %{py3dir}
pushd %{py3dir} pushd %{py3dir}
%{py3_install} %{py3_install}
%if 0%{?with_tests}
%check %check
%{__python2} -m unittest discover -s bs4 %{__python2} -m unittest discover -s bs4
pushd %{py3dir} pushd %{py3dir}
%{__python3} -m unittest discover -s bs4 %{__python3} -m unittest discover -s bs4
%endif # with_tests
%files -n python2-beautifulsoup4 %files -n python2-beautifulsoup4
%license COPYING.txt %license COPYING.txt
@ -88,6 +96,9 @@ pushd %{py3dir}
%{python3_sitelib}/bs4 %{python3_sitelib}/bs4
%changelog %changelog
* Mon Jul 22 2019 Stephen Smoogen <smooge@fedora00.int.smoogespace.com> - 4.6.3-2.1
- Add in Troy Dawson <tdawson@redhat.com> patch for bootstrapping
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.3-2 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save