git: 0abdce54fedf - main - math/py-mathics: chase the upgrade of numpy

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 23 Jun 2024 17:27:09 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0abdce54fedfa246ae456be2f5c317ca678835c1

commit 0abdce54fedfa246ae456be2f5c317ca678835c1
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2024-06-23 14:04:52 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-06-23 17:27:04 +0000

    math/py-mathics: chase the upgrade of numpy
---
 math/py-mathics/Makefile                                   | 2 +-
 math/py-mathics/files/patch-Mathics3.egg-info_requires.txt | 7 ++++---
 math/py-mathics/files/patch-setup.py                       | 6 +++---
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/math/py-mathics/Makefile b/math/py-mathics/Makefile
index 10e05bf9c12e..e98ba98c11a9 100644
--- a/math/py-mathics/Makefile
+++ b/math/py-mathics/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Mathics3
 PORTVERSION=	6.0.4
-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
index 1a74a990ac32..4e50e5434dc0 100644
--- a/math/py-mathics/files/patch-Mathics3.egg-info_requires.txt
+++ b/math/py-mathics/files/patch-Mathics3.egg-info_requires.txt
@@ -1,9 +1,10 @@
---- Mathics3.egg-info/requires.txt.orig	2023-07-23 21:37:36 UTC
+--- Mathics3.egg-info/requires.txt.orig	2023-11-25 02:22:46 UTC
 +++ Mathics3.egg-info/requires.txt
-@@ -1,5 +1,5 @@
+@@ -1,6 +1,6 @@ scikit-image>=0.17
  Mathics-Scanner>=1.3.0
+ scikit-image>=0.17
 -numpy<1.25
-+numpy<=1.25
++numpy<1.27
  llvmlite
  sympy>=1.8
  pillow>=9.2
diff --git a/math/py-mathics/files/patch-setup.py b/math/py-mathics/files/patch-setup.py
index 26fdd3a665c0..96e4774e6d11 100644
--- a/math/py-mathics/files/patch-setup.py
+++ b/math/py-mathics/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py.orig	2023-07-25 13:04:43 UTC
+--- setup.py.orig	2024-06-23 13:56:36 UTC
 +++ setup.py
-@@ -64,7 +64,7 @@ elif sys.version_info[:2] == (3, 6):
+@@ -65,7 +65,7 @@ else:
          sys.exit(-1)
  else:
      INSTALL_REQUIRES += [
 -        "numpy<1.25",
-+        "numpy<=1.25",
++        "numpy<1.27",
          "llvmlite",
          "sympy>=1.8",
          "pillow >= 9.2",