diff --git a/cadabra2-2.4.0.2.tar.gz b/cadabra2-2.4.0.2.tar.gz deleted file mode 100644 index 4320b77..0000000 --- a/cadabra2-2.4.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a24c8636264f2278c16d4f2010ab92b497b292a3a5bc495557c70e457516e7fe -size 24688084 diff --git a/cadabra2-2.4.3.2.tar.gz b/cadabra2-2.4.3.2.tar.gz new file mode 100644 index 0000000..7771ca5 --- /dev/null +++ b/cadabra2-2.4.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae913bb1f7d562ca479ff57adf0b61c4b2e9cf83a8b5ec282ef3d27050cfcca2 +size 25157173 diff --git a/cadabra2-link-python.patch b/cadabra2-link-python.patch index 391fd5f..58b9aad 100644 --- a/cadabra2-link-python.patch +++ b/cadabra2-link-python.patch @@ -1,7 +1,7 @@ -Index: cadabra2-2.3.9.3/core/CMakeLists.txt +Index: cadabra2-2.4.3.2/core/CMakeLists.txt =================================================================== ---- cadabra2-2.3.9.3.orig/core/CMakeLists.txt -+++ cadabra2-2.3.9.3/core/CMakeLists.txt +--- cadabra2-2.4.3.2.orig/core/CMakeLists.txt ++++ cadabra2-2.4.3.2/core/CMakeLists.txt @@ -284,7 +284,7 @@ target_link_libraries(cadabra2 PRIVATE ${GMPXX_LIBRARIES} ${GMP_LIBRARIES} @@ -11,14 +11,15 @@ Index: cadabra2-2.3.9.3/core/CMakeLists.txt # ${GLIBMM3_LIBRARIES} ) -Index: cadabra2-2.3.9.3/core/packages/CMakeLists.txt +Index: cadabra2-2.4.3.2/core/packages/CMakeLists.txt =================================================================== ---- cadabra2-2.3.9.3.orig/core/packages/CMakeLists.txt -+++ cadabra2-2.3.9.3/core/packages/CMakeLists.txt -@@ -62,7 +62,7 @@ foreach(PACKAGE ${COMPILED_PACKAGES}) - pybind11_add_module(${PNAME} SHARED ${SOURCE_PACKAGEDIR}/${PACKAGE}) +--- cadabra2-2.4.3.2.orig/core/packages/CMakeLists.txt ++++ cadabra2-2.4.3.2/core/packages/CMakeLists.txt +@@ -66,8 +66,7 @@ foreach(PACKAGE ${COMPILED_PACKAGES}) set_target_properties(${PNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cdb/${PINSTALL}") set_target_properties(${PNAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cdb/${PINSTALL}") + set_target_properties(${PNAME} PROPERTIES SUFFIX ".${PYTHON_MOD_SUFFIX}") +- - target_link_libraries(${PNAME} PUBLIC cadabra2 ${GMPXX_LIBRARIES}) + target_link_libraries(${PNAME} PUBLIC cadabra2 ${PYTHON_LIBRARIES} ${GMPXX_LIBRARIES} ${GMP_LIBRARIES}) target_include_directories(${PNAME} PUBLIC ${CADABRA_CORE_DIR}) diff --git a/cadabra2.changes b/cadabra2.changes index af330b0..9f87d08 100644 --- a/cadabra2.changes +++ b/cadabra2.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed Dec 7 08:00:00 UTC 2022 - Atri Bhattacharya + +- Update to version 2.4.3.2: + * Add missing canonicalisation of rationals when simplifying + powers. + +------------------------------------------------------------------- +Tue Dec 6 12:54:33 UTC 2022 - Atri Bhattacharya + +- Update to version 2.4.2.4: + * Minor update to fix issues with Python 3.11. +- Changes from version 2.4.2.0: + * Added package cdb.graphics.plot for easy plotting. + * Added package cdb.sympy.calculus for use of SymPy calculus + functions on Cadabra expressions. + * Expanded nevaluate to numerically evaluate more expressions. + * Various small bug fixes and enhancements. +- For %check, set working dir as HOME to allow tests that try to + write config files to home dir to work without perm issues. + ------------------------------------------------------------------- Sun Oct 9 16:35:12 UTC 2022 - Atri Bhattacharya diff --git a/cadabra2.spec b/cadabra2.spec index 80f2a29..9faec94 100644 --- a/cadabra2.spec +++ b/cadabra2.spec @@ -18,7 +18,7 @@ %bcond_without tests Name: cadabra2 -Version: 2.4.0.2 +Version: 2.4.3.2 Release: 0 Summary: A computer algebra system for solving problems in field theory License: GPL-3.0-or-later @@ -178,10 +178,10 @@ ln %{buildroot}%{_datadir}/cadabra2/latex/* %{buildroot}%{_datadir}/texmf/tex/la %check export PATH=${PATH}:%{buildroot}%{_bindir} export PYTHONDONTWRITEBYTECODE=1 -# Exclude tests that try to write config files to home dir; %%ctest does not accept additional options, go the manual way -pushd %__builddir -ctest %{?_smp_mflags} -E "packages|manip|modules|meld" -popd +# Set HOME to current dir to allow tests that try to +# write config files to home dir to run without perm issues +export HOME=`pwd` +%ctest %endif %files