10
0

Accepting request 1100891 from home:badshah400:branches:science

- Update to version 6.0.2.
- Drop python-Mathics-relax-module-versions.patch: No longer required as upstream has removed numpy and scipy upper limits from requirements.
- Re-enable test_calculus.

OBS-URL: https://build.opensuse.org/request/show/1100891
OBS-URL: https://build.opensuse.org/package/show/science/python-Mathics?expand=0&rev=32
This commit is contained in:
2023-07-29 19:34:06 +00:00
committed by Git OBS Bridge
parent 785a13124d
commit 46085ebde4
5 changed files with 16 additions and 38 deletions

View File

@@ -32,15 +32,13 @@
%define skip_python311 1
%define pyname Mathics3
Name: python-Mathics%{psuffix}
Version: 6.0.1
Version: 6.0.2
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: Apache-2.0 AND BSD-3-Clause AND GPL-3.0-only AND MIT
URL: https://mathics.github.io/
Source0: https://github.com/Mathics3/mathics-core/releases/download/%{version}/%{pyname}-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE python-Mathics-relax-module-versions.patch gh#mathics-core/issues#881 badshah400@gmail.com -- Relax upper limits on sympy and numpy to get packages building for Tumbleweed
Patch0: python-Mathics-relax-module-versions.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Django >= 1.8}
BuildRequires: %{python_module colorama}
@@ -117,8 +115,7 @@ export USE_CYTHON=1
%check
# Home page tests require django server up and running, test_gudermannian needs network access
# test_image: https://github.com/Mathics3/mathics-core/issues/837
# test_calculus: https://github.com/Mathics3/mathics-core/issues/881
%pytest_arch -k 'not (test_home_page or test_gudermannian or test_image or test_calculus)'
%pytest_arch -k 'not (test_home_page or test_gudermannian or test_image)'
%endif
%if %{without test}