Hello community,

here is the log from the commit of package python-beautifulsoup4 for 
openSUSE:Factory checked in at 2018-07-21 10:08:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-beautifulsoup4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-beautifulsoup4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-beautifulsoup4"

Sat Jul 21 10:08:06 2018 rev:25 rq:623247 version:4.6.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-beautifulsoup4/python-beautifulsoup4.changes  
    2018-03-07 10:40:00.222951525 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-beautifulsoup4.new/python-beautifulsoup4.changes
 2018-07-21 10:08:10.975198769 +0200
@@ -1,0 +2,7 @@
+Mon Jul 16 18:08:01 UTC 2018 - mc...@suse.com
+
+- Clean SPEC file
+  Use py.test for running the tests instead of nosetests, which
+  breaks with python 3.7.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-beautifulsoup4.spec ++++++
--- /var/tmp/diff_new_pack.tCEyAG/_old  2018-07-21 10:08:11.507198647 +0200
+++ /var/tmp/diff_new_pack.tCEyAG/_new  2018-07-21 10:08:11.507198647 +0200
@@ -23,24 +23,23 @@
 Summary:        HTML/XML Parser for Quick-Turnaround Applications Like 
Screen-Scraping
 License:        MIT
 Group:          Development/Libraries/Python
-Url:            https://www.crummy.com/software/BeautifulSoup/
+URL:            https://www.crummy.com/software/BeautifulSoup/
 Source:         
https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM speili...@suse.com -- Backport of 
https://code.launchpad.net/~saschpe/beautifulsoup/beautifulsoup/+merge/200849
 Patch0:         beautifulsoup4-lxml-fixes.patch
 # Documentation requirements:
 BuildRequires:  %{python_module devel >= 2.6}
-BuildRequires:  %{python_module setuptools}
 # Test requirements
-BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-Sphinx
+BuildArch:      noarch
 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
 Suggests:       python-html5lib >= 0.999999
 Suggests:       python-lxml >= 3.4.4
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -94,20 +93,18 @@
 
 %check
 export LANG=en_US.UTF-8
-%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}"
- pushd $PYTHONPATH
- $python %{_bindir}/nosetests-%{$python_version}
- popd
+%{python_expand export TESTROOT=%{buildroot}%{$python_sitelib}/bs4/tests
+py.test-%{$python_bin_suffix} $TESTROOT
+rm -rf $TESTROOT/__pycache__
 }
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc AUTHORS.txt COPYING.txt
+%license COPYING.txt
+%doc AUTHORS.txt
 %{python_sitelib}/bs4/
 %{python_sitelib}/beautifulsoup4-%{version}-py*.egg-info
 
 %files %{python_files doc}
-%defattr(-,root,root)
 %doc NEWS.txt README.txt TODO.txt doc/build/html
 
 %changelog


Reply via email to