git: 2485cc0a5ce5 - main - math/py-ndindex: Update to 1.9

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Sep 2024 13:42:14 UTC
The branch main has been updated by sunpoet:

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

commit 2485cc0a5ce5bab8661aa6c77a84dcbd9810cd32
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-30 13:02:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-30 13:36:35 +0000

    math/py-ndindex: Update to 1.9
    
    - Strip shared library
    
    Changes:        https://github.com/Quansight-Labs/ndindex/blob/main/docs/changelog.md
                    https://quansight-labs.github.io/ndindex/changelog.html
---
 math/py-ndindex/Makefile | 12 ++++++------
 math/py-ndindex/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/math/py-ndindex/Makefile b/math/py-ndindex/Makefile
index a7fa7b21bc4c..9e2dc5cf817a 100644
--- a/math/py-ndindex/Makefile
+++ b/math/py-ndindex/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	ndindex
-PORTVERSION=	1.8
-PORTREVISION=	1
+PORTVERSION=	1.9
 CATEGORIES=	math python
 MASTER_SITES=	PYPI \
 		https://github.com/Quansight-Labs/ndindex/releases/download/${PORTVERSION}/
@@ -17,14 +16,15 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
-USES=		python
-USE_PYTHON=	autoplist concurrent pep517
-
-NO_ARCH=	yes
+USES=		python:3.9+
+USE_PYTHON=	autoplist concurrent cython pep517
 
 OPTIONS_DEFINE=	ARRAYS
 ARRAYS_DESC=	Array support
 
 ARRAYS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
 
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
 .include <bsd.port.mk>
diff --git a/math/py-ndindex/distinfo b/math/py-ndindex/distinfo
index 415892b16311..1c7965e07873 100644
--- a/math/py-ndindex/distinfo
+++ b/math/py-ndindex/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449398
-SHA256 (ndindex-1.8.tar.gz) = 5fc87ebc784605f01dd5367374cb40e8da8f2c30988968990066c5098a7eebe8
-SIZE (ndindex-1.8.tar.gz) = 89921
+TIMESTAMP = 1727314582
+SHA256 (ndindex-1.9.tar.gz) = 08a9208ddadba711f546647858b7ff16ce2fdd8d2e06c22ad336e28235c17e50
+SIZE (ndindex-1.9.tar.gz) = 240464