1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

science/py-scikit-sparse: update 0.4.8 → 0.4.15

This commit is contained in:
Yuri Victorovich 2024-11-08 18:49:45 -08:00
parent 6832e0254f
commit 32b9f22d1a
2 changed files with 14 additions and 8 deletions

View File

@ -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>

View File

@ -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