Accepting request 1168938 from home:badshah400:branches:science
Update to version 2.4.5.6. OBS-URL: https://build.opensuse.org/request/show/1168938 OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=58
This commit is contained in:
parent
92ee359f06
commit
a7aa4293dc
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ed60935e67e77de2c7e4ed2655aaa764cdeb194db4693dbb77c01fb3945b273e
|
||||
size 26825874
|
3
cadabra2-2.4.5.6.tar.gz
Normal file
3
cadabra2-2.4.5.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a3ebe3debd6efdd5f20a3c78acc2ef8933135d5f43da39b6ea107be94a9413c
|
||||
size 26827151
|
@ -1,7 +1,7 @@
|
||||
Index: cadabra2-2.4.5.4/core/CMakeLists.txt
|
||||
Index: cadabra2-2.4.5.6/core/CMakeLists.txt
|
||||
===================================================================
|
||||
--- cadabra2-2.4.5.4.orig/core/CMakeLists.txt
|
||||
+++ cadabra2-2.4.5.4/core/CMakeLists.txt
|
||||
--- cadabra2-2.4.5.6.orig/core/CMakeLists.txt
|
||||
+++ cadabra2-2.4.5.6/core/CMakeLists.txt
|
||||
@@ -294,7 +294,7 @@ target_link_libraries(cadabra2 PRIVATE
|
||||
${GMPXX_LIBRARIES}
|
||||
${GMP_LIBRARIES}
|
||||
@ -11,10 +11,10 @@ Index: cadabra2-2.4.5.4/core/CMakeLists.txt
|
||||
# ${GLIBMM3_LIBRARIES}
|
||||
)
|
||||
|
||||
Index: cadabra2-2.4.5.4/core/packages/CMakeLists.txt
|
||||
Index: cadabra2-2.4.5.6/core/packages/CMakeLists.txt
|
||||
===================================================================
|
||||
--- cadabra2-2.4.5.4.orig/core/packages/CMakeLists.txt
|
||||
+++ cadabra2-2.4.5.4/core/packages/CMakeLists.txt
|
||||
--- cadabra2-2.4.5.6.orig/core/packages/CMakeLists.txt
|
||||
+++ cadabra2-2.4.5.6/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}")
|
||||
@ -23,5 +23,5 @@ Index: cadabra2-2.4.5.4/core/packages/CMakeLists.txt
|
||||
- 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})
|
||||
install(TARGETS ${PNAME} DESTINATION ${PYTHON_CDB_PACKAGE_PATH}/${PINSTALL})
|
||||
endforeach()
|
||||
|
||||
if(IPO_SUPPORTED)
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 18 19:37:14 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 2.4.5.6:
|
||||
* Allow setting PYTHON_SITE_PATH manually.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 25 18:20:58 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%bcond_without tests
|
||||
Name: cadabra2
|
||||
Version: 2.4.5.4
|
||||
Version: 2.4.5.6
|
||||
Release: 0
|
||||
Summary: A computer algebra system for solving problems in field theory
|
||||
License: GPL-3.0-or-later
|
||||
@ -46,7 +46,7 @@ BuildRequires: libboost_system-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-devel >= 3.8
|
||||
BuildRequires: python3-devel >= 3.9
|
||||
BuildRequires: python3-gobject-devel
|
||||
BuildRequires: python3-ipykernel
|
||||
BuildRequires: python3-matplotlib
|
||||
@ -171,7 +171,7 @@ cd ..
|
||||
install -D -m0644 %{S:1} %{buildroot}%{_datadir}/metainfo/%{name}-gtk.appdata.xml
|
||||
|
||||
# Replace "/usr/bin/env python3" hashbang by "/usr/bin/python3"
|
||||
sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir}/cadabra2
|
||||
%python3_fix_shebang
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/texmf/tex/latex/cadabra2/
|
||||
ln %{buildroot}%{_datadir}/cadabra2/latex/* %{buildroot}%{_datadir}/texmf/tex/latex/cadabra2/
|
||||
|
Loading…
Reference in New Issue
Block a user