Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2023 02:40:04 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 09ff1e738916 - main - =?utf-8?Q?science/py-dipy:=20Update=201.6.0=20=E2=86=92=201.7.0?=
Message-ID:  <202306080240.3582e4Gu081826@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 09ff1e738916531d81507197c1b0fb546a628fad
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-08 02:34:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-08 02:40:00 +0000

    science/py-dipy: Update 1.6.0 → 1.7.0
    
    Also add the test target.
    
    Reported by:    portscout
---
 science/py-dipy/Makefile | 21 ++++++++++++++++-----
 science/py-dipy/distinfo |  6 +++---
 2 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/science/py-dipy/Makefile b/science/py-dipy/Makefile
index b92edeb48802..81012019f4e4 100644
--- a/science/py-dipy/Makefile
+++ b/science/py-dipy/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	dipy
-DISTVERSION=	1.6.0
-PORTREVISION=	1
+DISTVERSION=	1.7.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,20 +11,32 @@ WWW=		https://dipy.org/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-PY_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}nibabel>0:science/py-nibabel@${PY_FLAVOR} \
+		${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
 BUILD_DEPENDS=	${PY_DEPENDS}
 RUN_DEPENDS=	${PY_DEPENDS}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}statsmodels>0:math/py-statsmodels@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tables>0:devel/py-tables@${PY_FLAVOR} # "ml" extra dependencies, see dipy/info.py
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}fury>0:graphics/py-fury@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} # "viz" extra dependencies, see dipy/info.py
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}cvxpy>0:math/py-cvxpy@${PY_FLAVOR} # "doc" extra dependencies, see dipy/info.py
 
-USES=		python:3.7+
+USES=		python:3.7+ shebangfix
 USE_PYTHON=	distutils cython concurrent autoplist pytest # pkg-plist also exists and contains files missing from the python-generated plist
 
+SHEBANG_GLOB=	*.sh
+
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/*/*.so
 
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} tools/ci/run_tests.sh
+
 .include <bsd.port.mk>
diff --git a/science/py-dipy/distinfo b/science/py-dipy/distinfo
index fdcc81039ef7..d31d0a143861 100644
--- a/science/py-dipy/distinfo
+++ b/science/py-dipy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674023932
-SHA256 (dipy-1.6.0.tar.gz) = 41a8487689ddff32f6c45bd046548f9c89a66306779c57c64d7f31400cc4fd6d
-SIZE (dipy-1.6.0.tar.gz) = 12070889
+TIMESTAMP = 1686151055
+SHA256 (dipy-1.7.0.tar.gz) = 59bb647128aae7793215c813bb8ea35dae260ac9f0d938c724064f0af5a05cc3
+SIZE (dipy-1.7.0.tar.gz) = 12389209



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306080240.3582e4Gu081826>