From ff67d8d73613fe0812480dc19d0357f4efe99697 Mon Sep 17 00:00:00 2001 From: blue-devil Date: Wed, 27 May 2020 01:52:55 +0300 Subject: [PATCH] sundials:first pisi release --- science/mathematics/sundials/actions.py | 36 +++++++++++ science/mathematics/sundials/pspec.xml | 63 +++++++++++++++++++ science/mathematics/sundials/translations.xml | 8 +++ 3 files changed, 107 insertions(+) create mode 100644 science/mathematics/sundials/actions.py create mode 100644 science/mathematics/sundials/pspec.xml create mode 100644 science/mathematics/sundials/translations.xml diff --git a/science/mathematics/sundials/actions.py b/science/mathematics/sundials/actions.py new file mode 100644 index 0000000000..d9632cd0b2 --- /dev/null +++ b/science/mathematics/sundials/actions.py @@ -0,0 +1,36 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import cmaketools + +def setup(): + shelltools.makedirs("build") + shelltools.cd("build") + cmaketools.configure("-DKLU_ENABLE=ON \ + -DMPI_ENABLE=ON \ + -DOPENMP_ENABLE=ON \ + -DPTHREAD_ENABLE=ON \ + -DF77_INTERFACE_ENABLE=ON \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DKLU_LIBRARY_DIR=/usr/lib \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS='-fPIC -fcommon' \ + -DEXAMPLES_INSTALL_PATH=/usr/share/sundials/examples", sourceDir="..") + +def build(): + shelltools.cd("build") + cmaketools.make() + +def install(): + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.cd("..") + + pisitools.dodoc("LICENSE", "NOTICE", "README*") \ No newline at end of file diff --git a/science/mathematics/sundials/pspec.xml b/science/mathematics/sundials/pspec.xml new file mode 100644 index 0000000000..02e187c992 --- /dev/null +++ b/science/mathematics/sundials/pspec.xml @@ -0,0 +1,63 @@ + + + + + sundials + https://computing.llnl.gov/projects/sundials + + Blue Devil + bluedevil@sctzine.com + + science.mathematics + BSD + library + Suite of nonlinear differential/algebraic equation solvers. + sundials provides a suite of nonlinear differential/algebraic equation solvers. + https://computation.llnl.gov/projects/sundials/download/sundials-5.3.0.tar.gz + + cmake + libquadmath + python-devel + openmpi-devel + suitesparse-devel + + + + + sundials + A program that automatically solves layouts of Freecell and similar variants of Card Solitaire + + openmpi + libgomp + suitesparse + + + /usr/share + /usr/lib + /usr/share/doc + /usr/bin + + + + + sundials-devel + Development files for sundials + + sundials + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2020-05-26 + 5.3.0 + First release. + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/science/mathematics/sundials/translations.xml b/science/mathematics/sundials/translations.xml new file mode 100644 index 0000000000..341ce8cc48 --- /dev/null +++ b/science/mathematics/sundials/translations.xml @@ -0,0 +1,8 @@ + + + + sundials + Doğrusal olmayan diferansiyel ve cebirsel eşitlik çözücüsü + sundials, doğrusal olmayan diferansiyel ve cebirsel eşitlik çözücüleri içeren bir kitaplıktır. + + \ No newline at end of file