diff --git a/math/py-mathics/Makefile b/math/py-mathics/Makefile index 5f4c3a92c00a..5ab3bc487f85 100644 --- a/math/py-mathics/Makefile +++ b/math/py-mathics/Makefile @@ -1,6 +1,6 @@ PORTNAME= Mathics3 PORTVERSION= 5.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/math/py-mathics/files/patch-Mathics3.egg-info_requires.txt b/math/py-mathics/files/patch-Mathics3.egg-info_requires.txt new file mode 100644 index 000000000000..76492469ca4e --- /dev/null +++ b/math/py-mathics/files/patch-Mathics3.egg-info_requires.txt @@ -0,0 +1,11 @@ +--- Mathics3.egg-info/requires.txt.orig 2022-08-06 09:38:06 UTC ++++ Mathics3.egg-info/requires.txt +@@ -1,7 +1,7 @@ + Mathics-Scanner<1.3.0,>=1.2.1 + numpy + llvmlite +-sympy<1.11,>=1.8 ++sympy<1.11.2,>=1.8 + recordclass + Mathics_Scanner<1.3.0,>=1.2.1 + mpmath>=1.2.0 diff --git a/math/py-mathics/files/patch-setup.py b/math/py-mathics/files/patch-setup.py new file mode 100644 index 000000000000..0b3460f039fa --- /dev/null +++ b/math/py-mathics/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-01-20 17:32:12 UTC ++++ 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.11.2"] + + if not is_PyPy: + INSTALL_REQUIRES += ["recordclass"]