forked from pool/python-Mathics
Accepting request 990384 from science
OBS-URL: https://build.opensuse.org/request/show/990384 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mathics?expand=0&rev=9
This commit is contained in:
13
python-Mathics-relax-sympy-versions.patch
Normal file
13
python-Mathics-relax-sympy-versions.patch
Normal 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",
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user