git: 2cfb0033b1e3 - main - math/py-ndindex: Update to 1.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 28 Feb 2022 12:52:21 UTC
The branch main has been updated by sunpoet:

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

commit 2cfb0033b1e3953a3d515a645b7c59c22fed5624
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-02-28 09:35:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-02-28 12:46:21 +0000

    math/py-ndindex: Update to 1.6
    
    - Add ARRAYS option
    
    Changes:        https://github.com/Quansight-Labs/ndindex/blob/master/docs/changelog.md
---
 math/py-ndindex/Makefile | 10 ++++++----
 math/py-ndindex/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/math/py-ndindex/Makefile b/math/py-ndindex/Makefile
index bef1f8e1ddbe..30732dabd0d9 100644
--- a/math/py-ndindex/Makefile
+++ b/math/py-ndindex/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	ndindex
-PORTVERSION=	1.5.2
+PORTVERSION=	1.6
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +12,14 @@ COMMENT=	Python library for manipulating indices of ndarrays
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sympy>=0:math/py-sympy@${PY_FLAVOR}
-
 USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	ARRAYS
+ARRAYS_DESC=	Array support
+
+ARRAYS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/math/py-ndindex/distinfo b/math/py-ndindex/distinfo
index af7b3ab17307..791757143381 100644
--- a/math/py-ndindex/distinfo
+++ b/math/py-ndindex/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635730879
-SHA256 (ndindex-1.5.2.tar.gz) = e35fe1babe2d11c0b7af55b93b64f9c2725ea19a5d81c973fb8a2db5fbf3902e
-SIZE (ndindex-1.5.2.tar.gz) = 65104
+TIMESTAMP = 1643971112
+SHA256 (ndindex-1.6.tar.gz) = 752e5a05c39883824316fdd7f7b650f6860eb71cecb9f15d811be2d879bebf02
+SIZE (ndindex-1.6.tar.gz) = 77427