Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-calmjs for openSUSE:Factory 
checked in at 2021-11-17 01:14:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-calmjs (Old)
 and      /work/SRC/openSUSE:Factory/.python-calmjs.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-calmjs"

Wed Nov 17 01:14:18 2021 rev:5 rq:931788 version:3.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-calmjs/python-calmjs.changes      
2021-11-12 16:00:06.850588517 +0100
+++ /work/SRC/openSUSE:Factory/.python-calmjs.new.1890/python-calmjs.changes    
2021-11-17 01:15:29.074191336 +0100
@@ -1,0 +2,6 @@
+Tue Nov 16 14:18:02 UTC 2021 - Matej Cepl <mc...@suse.com>
+
+- Remove creation of the unnecessary __init__py, which breaks the test
+  suite (gh#calmjs/calmjs#61). 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-calmjs.spec ++++++
--- /var/tmp/diff_new_pack.sXRMpm/_old  2021-11-17 01:15:29.666191363 +0100
+++ /var/tmp/diff_new_pack.sXRMpm/_new  2021-11-17 01:15:29.670191364 +0100
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:           python-calmjs
 Version:        3.4.2
 Release:        0
@@ -60,15 +61,13 @@
 %python_clone -a %{buildroot}%{_bindir}/calmjs
 # %%python_expand rm -r %%{buildroot}%%{$python_sitelib}/calmjs/testing
 # %%python_expand rm -r %%{buildroot}%%{$python_sitelib}/calmjs/tests
-%{python_expand touch %{buildroot}%{$python_sitelib}/calmjs/__init__.py
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.UTF-8
 # gh#calmjs/calmjs#61
-%python_expand rm -v 
%{buildroot}%{$python_sitelib}/calmjs/tests/test_argparse.py
-%pyunittest discover -v -s %{buildroot}%{$python_sitelib}/calmjs/
+# %%python_expand rm -v 
%%{buildroot}%%{$python_sitelib}/calmjs/tests/test_argparse.py
+%pyunittest -v calmjs.tests.make_suite
 
 %post
 %python_install_alternative calmjs

Reply via email to