15
0

Accepting request 497316 from home:alois:branches:devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/497316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beautifulsoup4?expand=0&rev=46
This commit is contained in:
2017-06-06 15:51:36 +00:00
committed by Git OBS Bridge
parent 14636cb16c
commit 2fea84429d
2 changed files with 8 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 22 13:25:06 UTC 2017 - aloisio@gmx.com
- Fixed failing tests in python3
-------------------------------------------------------------------
Sat Apr 8 17:35:17 UTC 2017 - aloisio@gmx.com

View File

@@ -23,8 +23,8 @@ Release: 0
Summary: HTML/XML Parser for Quick-Turnaround Applications Like Screen-Scraping
License: MIT
Group: Development/Libraries/Python
Url: http://www.crummy.com/software/BeautifulSoup/
Source: https://pypi.io/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
Url: https://www.crummy.com/software/BeautifulSoup/
Source: https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
# PATCH-FIX-UPSTREAM speilicke@suse.com -- Backport of https://code.launchpad.net/~saschpe/beautifulsoup/beautifulsoup/+merge/200849
Patch0: beautifulsoup4-lxml-fixes.patch
# Documentation requirements:
@@ -85,16 +85,13 @@ Documentation and help files for %{name}
%build
%python_build
pushd doc && make html && rm build/html/.buildinfo build/html/objects.inv && popd
%{_python_use_flavor python3}
%__python3 %{_bindir}/2to3 -w -n build/lib/bs4
%install
%python_install
# until it can be fixed
find %{buildroot}%{python3_sitelib} -name test_soup.* -delete
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}"
pushd $PYTHONPATH
$python %{_bindir}/nosetests-%{$python_version}