forked from pool/python-Mathics
Accepting request 848635 from home:badshah400:branches:science
* Update to version 1.1.0. * Updated source URL. * Disable python2 as it is not supported any more by upstream. * Run tests. * Sympy >= 1.6 is now required. OBS-URL: https://build.opensuse.org/request/show/848635 OBS-URL: https://build.opensuse.org/package/show/science/python-Mathics?expand=0&rev=8
This commit is contained in:
3
Mathics3-1.1.0.tar.gz
Normal file
3
Mathics3-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9613dc571fec28bdcaa3d009dbeda68304da4372a397d02537c8a67ac7a04f91
|
||||
size 4924853
|
||||
@@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 14 22:17:20 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 1.1.0:
|
||||
* Add Symbolic Comparisons [gh#mathics/Mathics#1000].
|
||||
* Support for externally PyPI-packagable builtin modules -
|
||||
PyMathics.
|
||||
* SetDirectory fixes [gh#mathics/Mathics#994].
|
||||
* Catch `PatternError Exceptions.
|
||||
* Fix formatting of .. and ... (RepeatAll)
|
||||
* tokenization of \. without a following space (ReplaceAll)
|
||||
[gh#mathics/Mathics#992].
|
||||
* Support for assignments to named `Pattern`
|
||||
* Improving support for `Names [gh#mathics/Mathics#1003].
|
||||
* Adding a MathicsSession class to simplify running Mathics from
|
||||
Python [gh#mathics/Mathics#1001].
|
||||
* Improving support for `Protect` and `Unprotect` list
|
||||
of symbols and regular expressions [gh#mathics/Mathics#1003].
|
||||
- Updated source URL.
|
||||
- Disable python2 as it is not supported any more by upstream.
|
||||
- Run tests:
|
||||
* Omit home_page tests as they require a running django server
|
||||
set up first.
|
||||
* Add additional BuildRequires needed for tests: python-Pint,
|
||||
python-chardet, python-palettable, python-pytest,
|
||||
python-requests.
|
||||
- Sympy >= 1.6 is now required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 06:50:45 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
||||
@@ -17,15 +17,17 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define pyname Mathics
|
||||
# Upstream no longer supports python2
|
||||
%define skip_python2 1
|
||||
%define pyname Mathics3
|
||||
Name: python-Mathics
|
||||
Version: 1.0
|
||||
Version: 1.1.0
|
||||
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
|
||||
License: GPL-3.0-only AND BSD-3-Clause AND MIT AND Apache-2.0
|
||||
URL: https://mathics.github.io/
|
||||
Source: https://github.com/mathics/Mathics/archive/v%{version}.tar.gz
|
||||
Source: https://github.com/mathics/Mathics/archive/%{version}/%{pyname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Django >= 1.8}
|
||||
BuildRequires: %{python_module colorama}
|
||||
BuildRequires: %{python_module devel}
|
||||
@@ -35,14 +37,21 @@ BuildRequires: %{python_module pexpect}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.10}
|
||||
BuildRequires: %{python_module sympy}
|
||||
BuildRequires: %{python_module sympy >= 1.6}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Django >= 1.8
|
||||
Requires: python-mpmath >= 0.19
|
||||
Requires: python-python-dateutil
|
||||
Requires: python-six >= 1.10
|
||||
Requires: python-sympy
|
||||
Requires: python-sympy >= 1.6
|
||||
# SECTION For tests
|
||||
BuildRequires: %{python_module Pint}
|
||||
BuildRequires: %{python_module chardet}
|
||||
BuildRequires: %{python_module palettable}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
# /SECTION
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
@@ -51,7 +60,7 @@ Requires(postun): update-alternatives
|
||||
Mathics is a general-purpose computer algebra system (CAS). It is meant to be a free, lightweight alternative to Mathematica.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pyname}-%{version}
|
||||
%setup -q -n Mathics-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
# FIX SPURIOUS EXEC PERMISSIONS
|
||||
@@ -81,8 +90,8 @@ popd
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Tests fail with new sympy, probably worth fixing upstream
|
||||
#%%python_exec setup.py test
|
||||
# Home page tests require django server up and running
|
||||
%pytest -k 'not test_home_page'
|
||||
|
||||
%post
|
||||
%python_install_alternative mathics
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:12ef8c5daa37d949f68ce347633f4eb07b5cca689f60c8756a7526676b6bd6da
|
||||
size 4887310
|
||||
Reference in New Issue
Block a user