Hello community,

here is the log from the commit of package python-param for openSUSE:Factory 
checked in at 2020-08-04 20:21:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-param (Old)
 and      /work/SRC/openSUSE:Factory/.python-param.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-param"

Tue Aug  4 20:21:16 2020 rev:13 rq:824171 version:1.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-param/python-param.changes        
2020-03-11 18:56:48.751714215 +0100
+++ /work/SRC/openSUSE:Factory/.python-param.new.3592/python-param.changes      
2020-08-04 20:21:27.496991582 +0200
@@ -1,0 +2,5 @@
+Mon Aug  3 10:32:52 UTC 2020 - Matej Cepl <[email protected]>
+
+- Add denose.patch to remove dependency on nose (gh#holoviz/param#423).
+
+-------------------------------------------------------------------

New:
----
  denose.patch

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

Other differences:
------------------
++++++ python-param.spec ++++++
--- /var/tmp/diff_new_pack.OP8uzX/_old  2020-08-04 20:21:28.744991906 +0200
+++ /var/tmp/diff_new_pack.OP8uzX/_new  2020-08-04 20:21:28.744991906 +0200
@@ -26,8 +26,11 @@
 URL:            http://param.pyviz.org/
 Source0:        https://github.com/ioam/param/archive/v%{version}.tar.gz
 Source100:      python-param-rpmlintrc
-BuildRequires:  %{python_module nose}
+# PATCH-FEATURE-UPSTREAM denose.patch gh#holoviz/param#423 [email protected]
+# Remove nose dependency
+Patch0:         denose.patch
 BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -47,7 +50,8 @@
 as part of other projects.
 
 %prep
-%setup -q -n param-%{version}
+%autosetup -p1 -n param-%{version}
+
 sed -i -e 's:version=get_setup_version("param"):version="%{version}":g' 
setup.py
 echo '{"git_describe": "v%{version}", "version_string": "%{version}"}' > 
param/.version
 
@@ -59,7 +63,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand nosetests-%{$python_bin_suffix}
+# Exclusion documented in gh#holoviz/param#423
+%pytest -k 'not test_abstract_class' tests/*/*.py
 
 %files %{python_files}
 %license LICENSE.txt

++++++ denose.patch ++++++
++++ 1394 lines (skipped)


Reply via email to