git: 60944f3cb03e - main - math/py-blis: Update 1.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 18 Apr 2025 05:46:10 UTC
The branch main has been updated by sunpoet:

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

commit 60944f3cb03e0b1b33aebb5c078e232e6bd28bfa
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-18 05:16:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-18 05:37:45 +0000

    math/py-blis: Update 1.1.0
    
    Changes:        https://github.com/explosion/cython-blis/releases
---
 math/py-blis/Makefile                   |  4 ++--
 math/py-blis/distinfo                   |  6 +++---
 math/py-blis/files/patch-pyproject.toml | 11 +++++++++++
 math/py-blis/files/patch-setup.py       |  8 +++++---
 4 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/math/py-blis/Makefile b/math/py-blis/Makefile
index e1a9844456bd..a8040e41539c 100644
--- a/math/py-blis/Makefile
+++ b/math/py-blis/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	blis
-PORTVERSION=	1.2.0
+PORTVERSION=	1.3.0
 CATEGORIES=	math python
 MASTER_SITES=	PYPI \
 		https://github.com/explosion/cython-blis/releases/download/release-v${PORTVERSION}/
@@ -12,7 +12,7 @@ WWW=		https://github.com/explosion/cython-blis
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.19.3,1<3.0.0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR}
diff --git a/math/py-blis/distinfo b/math/py-blis/distinfo
index 6472e0c733f5..cf8b341a2188 100644
--- a/math/py-blis/distinfo
+++ b/math/py-blis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738089114
-SHA256 (blis-1.2.0.tar.gz) = f25f99d7f3cad72c86a7499212ee833fb5062d80ad1763a935e0e498bc147c69
-SIZE (blis-1.2.0.tar.gz) = 2375955
+TIMESTAMP = 1744289022
+SHA256 (blis-1.3.0.tar.gz) = 1695a87e3fc4c20d9b9140f5238cac0514c411b750e8cdcec5d8320c71f62e99
+SIZE (blis-1.3.0.tar.gz) = 2510328
diff --git a/math/py-blis/files/patch-pyproject.toml b/math/py-blis/files/patch-pyproject.toml
new file mode 100644
index 000000000000..6e108948eb19
--- /dev/null
+++ b/math/py-blis/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2025-04-03 12:23:45 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ requires = [
+     "setuptools",
+-    "cython>=3.0,<4.0",
++    "cython>=0,<4.0",
+     "numpy>=1.19.3,<3.0.0"
+ ]
+ build-backend = "setuptools.build_meta"
diff --git a/math/py-blis/files/patch-setup.py b/math/py-blis/files/patch-setup.py
index 9de4a27aaf73..7f66284b12b2 100644
--- a/math/py-blis/files/patch-setup.py
+++ b/math/py-blis/files/patch-setup.py
@@ -1,10 +1,12 @@
---- setup.py.orig	2025-01-12 18:52:51 UTC
+--- setup.py.orig	2025-04-03 12:23:45 UTC
 +++ setup.py
-@@ -303,7 +303,7 @@ setup(
+@@ -302,8 +302,8 @@ setup(
+ 
  setup(
      setup_requires=[
-         "cython>=0.25,<4.0",
+-        "cython>=3.0,<4.0",
 -        "numpy>=2.0.0,<3.0.0",
++        "cython>=0,<4.0",
 +        "numpy>=1.19.0,<3.0.0",
      ],
      install_requires=[