Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2024 02:50:44 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: 32b9f22d1a26 - main - science/py-scikit-sparse: update 0.4.8 =?utf-8?Q?=E2=86=92?= 0.4.15
Message-ID:  <202411090250.4A92oir9093970@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=32b9f22d1a2624399c427fdcce5fc3fae3b2fe97

commit 32b9f22d1a2624399c427fdcce5fc3fae3b2fe97
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-09 02:49:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-09 02:50:31 +0000

    science/py-scikit-sparse: update 0.4.8 → 0.4.15
---
 science/py-scikit-sparse/Makefile | 16 +++++++++++-----
 science/py-scikit-sparse/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/science/py-scikit-sparse/Makefile b/science/py-scikit-sparse/Makefile
index f04fc9abc1e7..4c4a9700b7e1 100644
--- a/science/py-scikit-sparse/Makefile
+++ b/science/py-scikit-sparse/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	scikit-sparse
-DISTVERSION=	0.4.8
-PORTREVISION=	9
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.4.15
 CATEGORIES=	science python
-MASTER_SITES=	PYPI
+#MASTER_SITES=	PYPI # missing files under tests/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -16,15 +16,21 @@ BUILD_DEPENDS=	${RUN_DEPENDS}
 LIB_DEPENDS=	libumfpack.so:math/suitesparse-umfpack	\
 		libcholmod.so:math/suitesparse-cholmod
 RUN_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR}
 
 USES=		fortran python
-USE_PYTHON=	distutils cython autoplist
+USE_PYTHON=	distutils cython autoplist pytest
+USE_GITHUB=	yes
 
 CFLAGS+=	-I${LOCALBASE}/include/suitesparse
 LDFLAGS+=	-shared
 
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}/tests
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sksparse/cholmod*.so
 
+# tests: 10 passed, 400 warnings in 25.73s
+
 .include <bsd.port.mk>
diff --git a/science/py-scikit-sparse/distinfo b/science/py-scikit-sparse/distinfo
index 8d20e372951b..a2ce6d87030c 100644
--- a/science/py-scikit-sparse/distinfo
+++ b/science/py-scikit-sparse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687152089
-SHA256 (scikit-sparse-0.4.8.tar.gz) = 2a224c60da3ef951975242ea777478583d3265efc72db5cfb7861686521a4009
-SIZE (scikit-sparse-0.4.8.tar.gz) = 209731
+TIMESTAMP = 1731110097
+SHA256 (scikit-sparse-scikit-sparse-v0.4.15_GH0.tar.gz) = a3b83c00d4174d6ba761348eda8a66e6ccfdf09f5e35bee4780160050a0ee94f
+SIZE (scikit-sparse-scikit-sparse-v0.4.15_GH0.tar.gz) = 414741



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