diff options
author | David Melik <dchmelik@gmail.com> | 2022-03-30 12:50:08 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:19:15 +0700 |
commit | 7febc64d8174169c6b0425d81ba9d78ec28ecb4c (patch) | |
tree | 6764ebc4fb1a441f7ca563122018f87ce8c4eee2 /academic/mathics | |
parent | 1f05929a196461940367ff29e171c11bf432edbf (diff) |
academic/mathics: Updated for version 4.0.0.
Wrap long line in README.
Remove extra blank line at end of slack-desc.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/mathics')
-rw-r--r-- | academic/mathics/README | 26 | ||||
-rw-r--r-- | academic/mathics/mathics.SlackBuild | 12 | ||||
-rw-r--r-- | academic/mathics/mathics.info | 8 | ||||
-rw-r--r-- | academic/mathics/slack-desc | 14 |
4 files changed, 40 insertions, 20 deletions
diff --git a/academic/mathics/README b/academic/mathics/README index 9cac17e26687..59741fe4992e 100644 --- a/academic/mathics/README +++ b/academic/mathics/README @@ -1,4 +1,22 @@ -Mathics is a free, light-weight alternative to Mathematica. Mathics is -a general-purpose online computer algebra system featuring Mathematica- -compatible syntax and functions. It is backed by highly extensible -Python code, relying on SymPy for most mathematical tasks. +Mathics is a general-purpose computer algebra system (CAS). It is an +open-source alternative to Mathematica. It is free both as in "free +beer" and as in "freedom". + +The home page of Mathics is https://mathics.org. + +Installing and Running +See read the docs guide +https://mathics-development-guide.readthedocs.io/en/latest/ +for instructions on installing +https://mathics-development-guide.readthedocs.io/en/latest/ +and running +https://mathics-development-guide.readthedocs.io/en/latest/running.html + +Contributing +Please feel encouraged to contribute to Mathics! Create your own fork, +make the desired changes, commit, and make a pull request. + +License + +Mathics is released under the GNU General Public License Version 3 +(GPL3). diff --git a/academic/mathics/mathics.SlackBuild b/academic/mathics/mathics.SlackBuild index 6979a0b9ab97..72870973eaad 100644 --- a/academic/mathics/mathics.SlackBuild +++ b/academic/mathics/mathics.SlackBuild @@ -25,11 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mathics -VERSION=${VERSION:-1.0} +VERSION=${VERSION:-4.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +SRCNAM=Mathics3 + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -69,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf Mathics-$VERSION -tar xvf $CWD/Mathics-$VERSION.tar.gz -cd Mathics-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,7 +81,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/academic/mathics/mathics.info b/academic/mathics/mathics.info index bfd80981e717..bbdedfb2fdb8 100644 --- a/academic/mathics/mathics.info +++ b/academic/mathics/mathics.info @@ -1,10 +1,10 @@ PRGNAM="mathics" -VERSION="1.0" +VERSION="4.0.0" HOMEPAGE="http://www.mathics.org/" -DOWNLOAD="https://github.com/mathics/Mathics/archive/v1.0/Mathics-1.0.tar.gz" -MD5SUM="a0a161a1787093b90b21e73b0d44c0fc" +DOWNLOAD="https://files.pythonhosted.org/packages/35/68/72d4ec12fe91c3cf569fe95ba20ae324414e59f624ad3fb3eaf767cf2620/Mathics3-4.0.0.tar.gz" +MD5SUM="f221aaf0ef9a27e2953429a32fe94652" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="colorama mpmath python2-dateutil python2-django-legacy sympy" +REQUIRES="numpy sympy" MAINTAINER="David Melik" EMAIL="dchmelik@gmail.com" diff --git a/academic/mathics/slack-desc b/academic/mathics/slack-desc index 1578bda0e980..a351c6096250 100644 --- a/academic/mathics/slack-desc +++ b/academic/mathics/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| mathics: mathics (A free, light-weight alternative to Mathematica) mathics: -mathics: Mathics is a free, general-purpose online computer algebra system -mathics: featuring Mathematica-compatible syntax and functions. It is backed -mathics: by highly extensible Python code, relying on SymPy for most -mathics: mathematical tasks. -mathics: -mathics: http://www.mathics.org/ -mathics: +mathics: Mathics is a general-purpose computer algebra system (CAS). It is an +mathics: open-source alternative to Mathematica. It is free both as in "free +mathics: beer" and as in "freedom". mathics: +mathics: The home page of Mathics is https://mathics.org. mathics: +mathics: Installing and Running +mathics: See https://mathics-development-guide.readthedocs.io/en/latest/ for +mathics: instructions on installing and running. |