Hello community,

here is the log from the commit of package cadabra2 for openSUSE:Factory 
checked in at 2020-11-23 15:48:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cadabra2 (Old)
 and      /work/SRC/openSUSE:Factory/.cadabra2.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cadabra2"

Mon Nov 23 15:48:07 2020 rev:16 rq:850054 version:2.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/cadabra2/cadabra2.changes        2020-11-05 
21:56:30.155970676 +0100
+++ /work/SRC/openSUSE:Factory/.cadabra2.new.5913/cadabra2.changes      
2020-11-23 18:38:39.920633176 +0100
@@ -1,0 +2,12 @@
+Tue Nov 17 13:09:12 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 2.3.5:
+  * Relocate cadabra module to python_sitelib instead of
+    python_sitearch.
+- Add cadabra2-disable-components-test.patch: Disable a test that
+  crashes in the buildroot env -- but not in a user session -- for
+  unknown reasons (gh#kpeeters/cadabra2#212).
+- Enable tests since gh#kpeeters/cadabra2#211 is now resolved.
+- Add python3 to Requires for cadabra2.
+
+-------------------------------------------------------------------

Old:
----
  cadabra2-2.3.2.tar.gz

New:
----
  cadabra2-2.3.5.tar.gz
  cadabra2-disable-components-test.patch

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

Other differences:
------------------
++++++ cadabra2.spec ++++++
--- /var/tmp/diff_new_pack.7oPlJY/_old  2020-11-23 18:38:40.940634229 +0100
+++ /var/tmp/diff_new_pack.7oPlJY/_new  2020-11-23 18:38:40.940634229 +0100
@@ -17,9 +17,9 @@
 
 
 # Tests fails due to the way PYTHONPATH is set up for the test-suite 
[gh#kpeeters/cadabra2#211, gh#kpeeters/cadabra2#212]
-%bcond_with tests
+%bcond_without tests
 Name:           cadabra2
-Version:        2.3.2
+Version:        2.3.5
 Release:        0
 Summary:        A computer algebra system for solving problems in field theory
 License:        GPL-3.0-or-later
@@ -27,6 +27,8 @@
 URL:            https://cadabra.science/
 Source0:        
https://github.com/kpeeters/cadabra2/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        %{name}-gtk.appdata.xml
+# PATCH-FIX-UPSTREAM cadabra2-disable-components-test.patch 
gh#kpeeters/cadabra2#212 badshah...@gmail.com -- Disable a test that crashes 
for unknown reasons
+Patch0:         cadabra2-disable-components-test.patch
 BuildRequires:  appstream-glib
 BuildRequires:  cmake
 BuildRequires:  doxygen
@@ -52,6 +54,7 @@
 BuildRequires:  pkgconfig(gtkmm-3.0)
 BuildRequires:  pkgconfig(jsoncpp)
 BuildRequires:  pkgconfig(sqlite3)
+Requires:       python3
 Recommends:     %{name}-doc
 # SECTION For test
 %if %{with tests}
@@ -146,7 +149,7 @@
   -DENABLE_FRONTEND:BOOL=ON \
   -DENABLE_SYSTEM_JSONCPP:BOOL=ON \
   -DENABLE_MATHEMATICA:BOOL=OFF \
-  -DBUILD_TESTS:BOOL=%{?_with_tests:ON}%{!?_with_tests:OFF}
+  -DBUILD_TESTS:BOOL=%{?with_tests:ON}%{!?with_tests:OFF}
 
 %cmake_build
 cd ..
@@ -168,7 +171,6 @@
 
 %if %{with tests}
 %check
-export PYTHONPATH=%{buildroot}%{python3_sitearch}
 export PATH=${PATH}:%{buildroot}%{_bindir}
 export PYTHONDONTWRITEBYTECODE=1
 %ctest
@@ -182,14 +184,15 @@
 %{_bindir}/cadabra-server
 %{_bindir}/%{name}
 %{_bindir}/%{name}-cli
+%{_bindir}/%{name}ipynb
 %{_bindir}/%{name}python
 %{_bindir}/%{name}html
 %{_datadir}/%{name}/
 %{_datadir}/texmf
-%{python3_sitearch}/cadabra2.so
-%{python3_sitearch}/cadabra2_defaults.py
-%{python3_sitearch}/cdb_appdirs.py
-%{python3_sitearch}/cdb/
+%{python3_sitelib}/cadabra2*.so
+%{python3_sitelib}/cadabra2_defaults.py
+%{python3_sitelib}/cdb_appdirs.py
+%{python3_sitelib}/cdb/
 %{_mandir}/man1/cadabra*.1%{?ext_man}
 
 %files gui
@@ -202,8 +205,8 @@
 
 %files -n jupyter-cadabra2-kernel
 %license doc/license.txt
-%{python3_sitearch}/cadabra2_jupyter/
-%{python3_sitearch}/notebook/
+%{python3_sitelib}/cadabra2_jupyter/
+%{python3_sitelib}/notebook/
 %{_jupyter_kernel_dir}/cadabra2/
 
 %files examples

++++++ cadabra2-2.3.2.tar.gz -> cadabra2-2.3.5.tar.gz ++++++
/work/SRC/openSUSE:Factory/cadabra2/cadabra2-2.3.2.tar.gz 
/work/SRC/openSUSE:Factory/.cadabra2.new.5913/cadabra2-2.3.5.tar.gz differ: 
char 12, line 1

++++++ cadabra2-disable-components-test.patch ++++++
Index: cadabra2-2.3.5/tests/CMakeLists.txt
===================================================================
--- cadabra2-2.3.5.orig/tests/CMakeLists.txt
+++ cadabra2-2.3.5/tests/CMakeLists.txt
@@ -68,7 +68,6 @@ set(RTESTS
   trigonometric
   noncovariant
   algebra
-  components
   factor
   field_theory
   gamma_paper
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to