10
0
2022-07-21 09:35:06 +00:00
committed by Git OBS Bridge
3 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
Index: Mathics-4.0.0/setup.py
===================================================================
--- Mathics-4.0.0.orig/setup.py
+++ Mathics-4.0.0/setup.py
@@ -105,7 +105,7 @@ else:
# General Requirements
INSTALL_REQUIRES += [
"Mathics_Scanner>=1.2.1,<1.3.0",
- "sympy>=1.8, <= 1.9dev",
+ "sympy>=1.8",
"mpmath>=1.2.0",
"numpy",
"palettable",

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jul 17 00:51:00 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- Add python-Mathics-relax-sympy-versions.patch -- Relax required
sympy versions, to enable tests to run on openSUSE >= 1550 where
python-sympy is at version 1.10.x already.
-------------------------------------------------------------------
Tue Mar 22 19:41:00 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,5 +1,5 @@
#
# spec file
# spec file for package python-Mathics
#
# Copyright (c) 2022 SUSE LLC
#
@@ -40,6 +40,8 @@ URL: https://mathics.github.io/
Source: https://github.com/mathics/Mathics/archive/%{version}/%{pyname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM Revert version jump to dev branch
Patch0: https://github.com/Mathics3/mathics-core/commit/41dee8c9dd7b979a4d77d38a1e8fe8dc75b7638c.patch
# PATCH-FIX-UPSTREAM python-Mathics-relax-sympy-versions.patch badshah400@gmail.com -- Relax required sympy versions, to enable tests to run on openSUSE >= 1550 where sympy is at version 1.10.x already
Patch1: python-Mathics-relax-sympy-versions.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Django >= 1.8}
BuildRequires: %{python_module colorama}
@@ -86,6 +88,7 @@ Mathics is a general-purpose computer algebra system (CAS). It is meant to be a
%prep
%setup -q -n Mathics-%{version}
%patch0 -p1 -R
%patch1 -p1
# FIX SPURIOUS EXEC PERMISSIONS
chmod -x ./mathics/data/ExampleData/{numberdata.csv,InventionNo1.xml}