10
0
2022-10-27 11:54:20 +00:00
committed by Git OBS Bridge
3 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
Index: Mathics3-5.0.2/setup.py
===================================================================
--- Mathics3-5.0.2.orig/setup.py
+++ Mathics3-5.0.2/setup.py
@@ -57,7 +57,7 @@ elif sys.version_info[:2] == (3, 6):
elif sys.version_info[:2] == (3, 7):
INSTALL_REQUIRES += ["numpy<1.22", "llvmlite", "sympy>=1.8, < 1.11"]
else:
- INSTALL_REQUIRES += ["numpy", "llvmlite", "sympy>=1.8, < 1.11"]
+ INSTALL_REQUIRES += ["numpy", "llvmlite", "sympy>=1.8, < 1.12"]
if not is_PyPy:
INSTALL_REQUIRES += ["recordclass"]

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Oct 23 04:51:56 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- Add python-Mathics-relax-sympy-version.patch: Relax sympy
requirement to allow sympy >= 1.11.
-------------------------------------------------------------------
Mon Sep 19 12:47:11 UTC 2022 - pgajdos@suse.com

View File

@@ -1,5 +1,5 @@
#
# spec file
# spec file for package python-Mathics
#
# Copyright (c) 2022 SUSE LLC
#
@@ -38,6 +38,8 @@ Summary: A general-purpose computer algebra system
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-sympy-version.patch badshah400@gmail.com -- Allow working with sympy version >= 1.11
Patch0: python-Mathics-relax-sympy-version.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Django >= 1.8}
BuildRequires: %{python_module colorama}
@@ -82,7 +84,7 @@ Provides: python-Mathics3 = %{version}
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}
%autosetup -p1 -n %{pyname}-%{version}
# FIX SPURIOUS EXEC PERMISSIONS
chmod -x ./mathics/data/ExampleData/{numberdata.csv,InventionNo1.xml}