Hello community,

here is the log from the commit of package cadabra2 for openSUSE:Factory 
checked in at 2020-11-05 21:55:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cadabra2 (Old)
 and      /work/SRC/openSUSE:Factory/.cadabra2.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cadabra2"

Thu Nov  5 21:55:46 2020 rev:15 rq:846219 version:2.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/cadabra2/cadabra2.changes        2020-09-25 
16:29:59.619808429 +0200
+++ /work/SRC/openSUSE:Factory/.cadabra2.new.11331/cadabra2.changes     
2020-11-05 21:56:30.155970676 +0100
@@ -1,0 +2,36 @@
+Sun Nov  1 09:55:08 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 2.3.2:
+  * Fixed bug in pattern matching logic used in
+    integrate_by_parts.
+  * Fixed bug which would prevent assignment to node multiplier
+    from Python.
+  * Tab-completion on command line and in the notebook.
+  * Install the cadabra2 python module in a standard location.
+  * Fixes for the Mathematica scalar backend.
+  * Make expand_delta much faster when the Kronecker delta is
+    contracted with objects which have anti-symmetry.
+  * Make meld work correctly with non/anti-commuting objects.
+  * Make numbered indices like a1 display with a subscript
+    automatically a<sub>1</sub>.
+  * Provide pickle functionality for expressions.
+  * Fixes for compatibility with newer SymPy versions.
+  * Added a 'find' function in the notebook, to search input
+    cells.
+  * New Jupyter kernel (enabled by default) which does not require
+    Xeus.
+  * Various improvements and fixed for handling and display of
+    Young tableaux.
+  * Added ExNode::ex() to obtain an Ex object from an ExNode
+    iterator.
+- Drop patches incorporated upstream:
+  * cadabra2-python-modules-location.patch.
+  * Fix-linking-of-cadabra-module.patch.
+- Split out a separate package - jupyter-cadabra2-kernel - for the
+  new jupyter notebook kernel.
+- Fix typo in `ENABLE_SYSTEM_JSONCPP` option passed to `%cmake`.
+- Set up but disable building and running tests until issues with
+  the test-suite are sorted out [gh#kpeeters/cadabra2#211,
+  gh#kpeeters/cadabra2#212].
+
+-------------------------------------------------------------------

Old:
----
  Fix-linking-of-cadabra-module.patch
  cadabra2-2.3.0.tar.gz
  cadabra2-python-modules-location.patch

New:
----
  cadabra2-2.3.2.tar.gz

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

Other differences:
------------------
++++++ cadabra2.spec ++++++
--- /var/tmp/diff_new_pack.rMH28d/_old  2020-11-05 21:56:30.899969003 +0100
+++ /var/tmp/diff_new_pack.rMH28d/_new  2020-11-05 21:56:30.899969003 +0100
@@ -16,8 +16,10 @@
 #
 
 
+# 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
 Name:           cadabra2
-Version:        2.3.0
+Version:        2.3.2
 Release:        0
 Summary:        A computer algebra system for solving problems in field theory
 License:        GPL-3.0-or-later
@@ -25,10 +27,6 @@
 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 -- 
https://github.com/kpeeters/cadabra2/commit/4df3e7cba29a9bb25a70badbc9de8aeef3693933
 (gh#kpeeters/cadabra2#202)
-Patch2:         Fix-linking-of-cadabra-module.patch
-# PATCH-FIX-UPSTREAM cadabra2-python-modules-location.patch 
gh#kpeeters/cadabra2#203 badshah...@gmail.com -- Move python modules to 
standard python modules path
-Patch3:         cadabra2-python-modules-location.patch
 BuildRequires:  appstream-glib
 BuildRequires:  cmake
 BuildRequires:  doxygen
@@ -46,6 +44,7 @@
 BuildRequires:  pcre-devel
 BuildRequires:  pkgconfig
 BuildRequires:  python3-devel
+BuildRequires:  python3-ipykernel
 BuildRequires:  python3-matplotlib
 BuildRequires:  python3-sympy
 BuildRequires:  update-desktop-files
@@ -54,6 +53,11 @@
 BuildRequires:  pkgconfig(jsoncpp)
 BuildRequires:  pkgconfig(sqlite3)
 Recommends:     %{name}-doc
+# SECTION For test
+%if %{with tests}
+BuildRequires:  python3-gmpy2
+%endif
+# /SECTION
 Recommends:     %{name}-examples
 
 %description
@@ -115,10 +119,20 @@
 
 This package provides html documentation for %{name}.
 
+%package -n jupyter-cadabra2-kernel
+Summary:        Jupyter kernel for cadabra2
+Group:          Productivity/Scientific/Math
+Requires:       %{name} = %{version}
+Requires:       jupyter-notebook
+
+%description -n jupyter-cadabra2-kernel
+Cadabra2 is a computer algebra system (CAS) designed specifically for
+the solution of problems encountered in field theory.
+
+This package provides a jupyter kernel for %{name}.
+
 %prep
-%setup -q
-%patch2 -p1
-%patch3 -p1
+%autosetup -p1
 rm examples/.gitignore
 # Remove timestamps from Doxygen HTML files
 echo "HTML_TIMESTAMP = NO" >> config/Doxyfile
@@ -130,13 +144,13 @@
   -DCMAKE_MANDIR:PATH=%{_mandir} \
   -DINSTALL_LATEX_DIR:PATH=%{_datadir}/texmf \
   -DENABLE_FRONTEND:BOOL=ON \
-  -DENABLE_SYSTEM_JSONPP:BOOL=ON \
+  -DENABLE_SYSTEM_JSONCPP:BOOL=ON \
   -DENABLE_MATHEMATICA:BOOL=OFF \
-  -DBUILD_TESTS:BOOL=ON
+  -DBUILD_TESTS:BOOL=%{?_with_tests:ON}%{!?_with_tests:OFF}
 
 %cmake_build
 cd ..
-make %{?_smp_mflags} doc
+%make_build doc
 
 %install
 %cmake_install
@@ -152,9 +166,13 @@
 mkdir -p %{buildroot}%{_datadir}/texmf/tex/latex/cadabra2/
 ln %{buildroot}%{_datadir}/cadabra2/latex/* 
%{buildroot}%{_datadir}/texmf/tex/latex/cadabra2/
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%if %{with tests}
+%check
+export PYTHONPATH=%{buildroot}%{python3_sitearch}
+export PATH=${PATH}:%{buildroot}%{_bindir}
+export PYTHONDONTWRITEBYTECODE=1
+%ctest
+%endif
 
 %files
 %doc README.rst
@@ -168,16 +186,26 @@
 %{_bindir}/%{name}html
 %{_datadir}/%{name}/
 %{_datadir}/texmf
-%{python3_sitearch}/*
+%{python3_sitearch}/cadabra2.so
+%{python3_sitearch}/cadabra2_defaults.py
+%{python3_sitearch}/cdb_appdirs.py
+%{python3_sitearch}/cdb/
 %{_mandir}/man1/cadabra*.1%{?ext_man}
 
 %files gui
+%license doc/license.txt
 %{_bindir}/%{name}-gtk
 %{_datadir}/icons/hicolor/*/apps/cadabra2-gtk.*
 %{_datadir}/applications/cadabra2-gtk.desktop
 %dir %{_datadir}/metainfo
 %{_datadir}/metainfo/*.appdata.xml
 
+%files -n jupyter-cadabra2-kernel
+%license doc/license.txt
+%{python3_sitearch}/cadabra2_jupyter/
+%{python3_sitearch}/notebook/
+%{_jupyter_kernel_dir}/cadabra2/
+
 %files examples
 %doc examples/
 

++++++ cadabra2-2.3.0.tar.gz -> cadabra2-2.3.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/cadabra2/cadabra2-2.3.0.tar.gz 
/work/SRC/openSUSE:Factory/.cadabra2.new.11331/cadabra2-2.3.2.tar.gz differ: 
char 13, line 1


Reply via email to