aboutsummaryrefslogtreecommitdiff
path: root/academic/cadabra2
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2024-06-19 20:51:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-20 00:50:08 +0700
commit33a165e004cc81a189c1ad177c29ae827d3cc781 (patch)
tree5e30cc0b5117642ddb9b55d51d36c98329d00615 /academic/cadabra2
parent73a7808f1ca3c73c9f8ad9a12bad07032b551dbb (diff)
academic/cadabra2: Updated for version 2.5.2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/cadabra2')
-rw-r--r--academic/cadabra2/cadabra2.SlackBuild7
-rw-r--r--academic/cadabra2/cadabra2.info6
2 files changed, 8 insertions, 5 deletions
diff --git a/academic/cadabra2/cadabra2.SlackBuild b/academic/cadabra2/cadabra2.SlackBuild
index 0172ff55506a6..30a2a72fea810 100644
--- a/academic/cadabra2/cadabra2.SlackBuild
+++ b/academic/cadabra2/cadabra2.SlackBuild
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# The sourse file was downloaded by the command
+# git clone --recursive --depth 1 https://github.com/kpeeters/cadabra2/
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cadabra2
-VERSION=${VERSION:-2.4.5.7}
+VERSION=${VERSION:-2.5.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -96,7 +99,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DSQLITE3_INCLUDE_DIR=/usr/include \
-DENABLE_MATHEMATICA=${MMA^^} \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_BUILD_TYPE=Debug ..
make
make install DESTDIR=$PKG
cd ..
diff --git a/academic/cadabra2/cadabra2.info b/academic/cadabra2/cadabra2.info
index 19fe764208d36..0d76e0226594c 100644
--- a/academic/cadabra2/cadabra2.info
+++ b/academic/cadabra2/cadabra2.info
@@ -1,8 +1,8 @@
PRGNAM="cadabra2"
-VERSION="2.4.5.7"
+VERSION="2.5.2.3"
HOMEPAGE="https://cadabra.science"
-DOWNLOAD="https://github.com/kpeeters/cadabra2/archive/2.4.5.7/cadabra2-2.4.5.7.tar.gz"
-MD5SUM="0114198388cc3d11e7318a1319b46aae"
+DOWNLOAD="https://downloads.sourceforge.net/slackbuildsdirectlinks/cadabra2/cadabra2-2.5.2.3.tar.gz"
+MD5SUM="ec0bb1e43620d9e6c3492ffa8096be27"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="importlib-resources python3-matplotlib python3-gmpy2 python3-sympy"