2021-01-27 17:57:29 +00:00
committed by Git OBS Bridge
4 changed files with 54 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9613dc571fec28bdcaa3d009dbeda68304da4372a397d02537c8a67ac7a04f91
size 4924853

3
Mathics3-1.1.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a64a080710e70d8828190507c2c548c7085294a433d00081783f32357dcea637
size 5035583

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
Mon Dec 28 01:52:38 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.1.1:
* Mathics Packages added:
- DiscreteMath`CombinatoricaV0.9 (preferred)
- DiscreteMath`CombinatoricaV0.6.
* New builtins:
- StirlingS1, StirlingS2 (not all WL variations handled)
- MapAt (not all WL variations handled)
- PythonForm, SympyForm: these is not in WL. It simply will
show a crude translation to sympy or python.
- Throw and Catch
- With
- FileNameTake
* Enhancements and Bug fixes:
- Workaround for Compile so it accepts functions
(gh#mathics/Mathics#1026)
- Add Trace option to Get. Get["fn", Trace->True] will show
lines as they are read.
- Convert to/from Boolean types properly in from_python,
to_python. Previously they were 0, and 1.
- Extend DeleteCases to accept a levelspec parameter.
- Set Evaluation#exc_result to capture Aborted, Timeout,
Overflow1`, etc.
- ImageData changed to get bits {0,1}, not booleans as
previously.
- Add tokenizer symbols for <-> and -> and the unicode
versions of those.
- Small corrections to Needs, e.g check if already loaded,
correct a typo, etc.
- System`$InputFileName is now set inside Needs and Get
- Install shell scripts dmathicserver, dmathicsscript, and
dmathics to simplify running docker
- Adjust $InputFileName inside Get and Needs.
- Adapt file list to the renaming of mathicsscript to
dmathicsscript and the addition of dmathicserver.
-------------------------------------------------------------------
Sat Nov 14 22:17:20 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -21,7 +21,7 @@
%define skip_python2 1
%define pyname Mathics3
Name: python-Mathics
Version: 1.1.0
Version: 1.1.1
Release: 0
Summary: A general-purpose computer algebra system
# Mathics itself is licensed as GPL-3.0 but it includes third-party software with MIT, BSD-3-Clause, and Apache-2.0 Licensing; also includes data from wikipedia licensed under CC-BY-SA-3.0 and GFDL-1.3
@@ -44,7 +44,7 @@ Requires: python-Django >= 1.8
Requires: python-mpmath >= 0.19
Requires: python-python-dateutil
Requires: python-six >= 1.10
Requires: python-sympy >= 1.6
Requires: python-sympy >= 1.7.1
# SECTION For tests
BuildRequires: %{python_module Pint}
BuildRequires: %{python_module chardet}
@@ -84,9 +84,10 @@ popd
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/dmathicsserver
%python_clone -a %{buildroot}%{_bindir}/dmathicsscript
%python_clone -a %{buildroot}%{_bindir}/mathics
%python_clone -a %{buildroot}%{_bindir}/mathicsserver
%python_clone -a %{buildroot}%{_bindir}/mathicsscript
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -94,22 +95,25 @@ popd
%pytest -k 'not test_home_page'
%post
%python_install_alternative dmathicsserver
%python_install_alternative dmathicsscript
%python_install_alternative mathics
%python_install_alternative mathicsserver
%python_install_alternative mathicsscript
%postun
%python_uninstall_alternative mathics
%python_uninstall_alternative mathicsserver
%python_uninstall_alternative mathicsscript
%python_install_alternative dmathicsserver
%python_install_alternative dmathicsscript
%python_install_alternative mathics
%python_install_alternative mathicsserver
%files %{python_files}
%license COPYING.txt
%doc README.rst AUTHORS.txt
%{python_sitelib}/mathics/
%{python_sitelib}/%{pyname}-%{version}-py%{python_version}.egg-info/
%python_alternative %{_bindir}/mathicsscript
%python_alternative %{_bindir}/mathicsserver
%python_alternative %{_bindir}/dmathicsscript
%python_alternative %{_bindir}/dmathicsserver
%python_alternative %{_bindir}/mathics
%python_alternative %{_bindir}/mathicsserver
%changelog