git: d9acc3ed3059 - main - math/py-mathics: allow to run with sympy-1.11.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Jan 2023 18:02:27 UTC
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9acc3ed3059b08c85a6d6d1684747607b035671 commit d9acc3ed3059b08c85a6d6d1684747607b035671 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2023-01-20 18:00:29 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2023-01-20 18:02:23 +0000 math/py-mathics: allow to run with sympy-1.11.1 --- math/py-mathics/Makefile | 2 +- math/py-mathics/files/patch-Mathics3.egg-info_requires.txt | 11 +++++++++++ math/py-mathics/files/patch-setup.py | 11 +++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) 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"]