git: d5c3c3711f40 - main - devel/py-numba: update to 0.60.0

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Fri, 21 Jun 2024 12:50:53 UTC
The branch main has been updated by makc:

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

commit d5c3c3711f4041f78e710debfd3e41c4e03d8f22
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2024-06-21 12:47:12 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2024-06-21 12:47:12 +0000

    devel/py-numba: update to 0.60.0
---
 devel/py-numba/Makefile             |  7 +++----
 devel/py-numba/distinfo             |  6 +++---
 devel/py-numba/files/patch-setup.py | 14 ++++++++++++++
 3 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/devel/py-numba/Makefile b/devel/py-numba/Makefile
index 3cc24400a823..1c3281770cf5 100644
--- a/devel/py-numba/Makefile
+++ b/devel/py-numba/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	numba
-DISTVERSION=	0.59.1
-PORTREVISION=	1
+DISTVERSION=	0.60.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,12 +17,12 @@ BROKEN=		requires OpenMP support that is missing on this architecture
 
 # numpy version is checked at runtime
 # https://github.com/numba/numba/blob/main/numba/__init__.py#L13
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.21,1<=1.27,1:math/py-numpy@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1<=2.0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR}
 LIB_DEPENDS=	libtbb.so:devel/onetbb
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}llvmlite>=0.31.0:devel/py-llvmlite@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.21,1<=1.27,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1<=2.0,1:math/py-numpy@${PY_FLAVOR} \
 
 USES=		compiler:c++11-lang python fortran localbase
 USE_PYTHON=	distutils concurrent autoplist unittest
diff --git a/devel/py-numba/distinfo b/devel/py-numba/distinfo
index b98a2b53bceb..653e50166089 100644
--- a/devel/py-numba/distinfo
+++ b/devel/py-numba/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712834107
-SHA256 (numba-0.59.1.tar.gz) = 76f69132b96028d2774ed20415e8c528a34e3299a40581bae178f0994a2f370b
-SIZE (numba-0.59.1.tar.gz) = 2652730
+TIMESTAMP = 1718715111
+SHA256 (numba-0.60.0.tar.gz) = 5df6158e5584eece5fc83294b949fd30b9f1125df7708862205217e068aabf16
+SIZE (numba-0.60.0.tar.gz) = 2702171
diff --git a/devel/py-numba/files/patch-setup.py b/devel/py-numba/files/patch-setup.py
new file mode 100644
index 000000000000..33cc2a2a1a7b
--- /dev/null
+++ b/devel/py-numba/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- setup.py.orig	2024-06-13 08:56:33 UTC
++++ setup.py
+@@ -21,9 +21,9 @@ max_python_version = "3.13"  # exclusive
+ 
+ min_python_version = "3.9"
+ max_python_version = "3.13"  # exclusive
+-min_numpy_build_version = "2.0.0rc1"
++min_numpy_build_version = "1.22"
+ min_numpy_run_version = "1.22"
+-max_numpy_run_version = "2.1"
++max_numpy_run_version = "2.0"
+ min_llvmlite_version = "0.43.0dev0"
+ max_llvmlite_version = "0.44"
+