Skip to content

Commit

Permalink
math/py-mathics: upgrade to 6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thierry-FreeBSD committed Mar 17, 2023
1 parent 8362ac3 commit b03d6b0
Show file tree
Hide file tree
Showing 5 changed files with 270 additions and 179 deletions.
6 changes: 4 additions & 2 deletions math/py-mathics/Makefile
@@ -1,6 +1,5 @@
PORTNAME= Mathics3
PORTVERSION= 5.0.2
PORTREVISION= 3
PORTVERSION= 6.0.1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,6 +11,7 @@ WWW= https://mathics.org/
LICENSE= GPLv3

BUILD_DEPENDS= ${PYNUMPY} \
${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pint>0:devel/py-pint@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} \
Expand All @@ -25,6 +25,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scikit-image>0:graphics/py-scikit-image@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Mathics_Scanner>0:math/py-mathics-scanner
RUN_DEPENDS= ${PYNUMPY} \
${PY_PILLOW} \
bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}py>0:devel/py-py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
Expand All @@ -37,6 +38,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}nltk>0:textproc/py-nltk@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyaml>0:textproc/py-pyaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydot>0:graphics/py-pydot@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyocr>0:graphics/py-pyocr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}langid>0:textproc/py-langid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \
Expand Down
6 changes: 3 additions & 3 deletions math/py-mathics/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1659804627
SHA256 (Mathics3-5.0.2.tar.gz) = 659293bf49c9654c6350bb2a26d1edc0bde79d0fed280e0ebc18a585cca6f2b5
SIZE (Mathics3-5.0.2.tar.gz) = 2891427
TIMESTAMP = 1679047723
SHA256 (Mathics3-6.0.1.tar.gz) = e96d6ba0e0efa79744add26b6fc081281a0b650f465ca5ac81f4885743a0eae1
SIZE (Mathics3-6.0.1.tar.gz) = 2977178
16 changes: 7 additions & 9 deletions math/py-mathics/files/patch-Mathics3.egg-info_requires.txt
@@ -1,11 +1,9 @@
--- Mathics3.egg-info/requires.txt.orig 2022-08-06 09:38:06 UTC
--- Mathics3.egg-info/requires.txt.orig 2023-03-05 10:15:02 UTC
+++ Mathics3.egg-info/requires.txt
@@ -1,7 +1,7 @@
Mathics-Scanner<1.3.0,>=1.2.1
numpy
@@ -1,5 +1,5 @@
Mathics-Scanner>=1.3.0
-numpy<=1.24
+numpy<1.25
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
sympy<1.12,>=1.8
pillow>=9.2
18 changes: 9 additions & 9 deletions math/py-mathics/files/patch-setup.py
@@ -1,11 +1,11 @@
--- setup.py.orig 2023-01-20 17:32:12 UTC
--- setup.py.orig 2023-03-17 10:22:19 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"]
@@ -64,7 +64,7 @@ elif sys.version_info[:2] == (3, 6):
sys.exit(-1)
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"]
INSTALL_REQUIRES += [
- "numpy<=1.24",
+ "numpy<=1.25",
"llvmlite",
"sympy>=1.8, < 1.12",
"pillow >= 9.2",

0 comments on commit b03d6b0

Please sign in to comment.