git: 268d7666c875 - main - math/py-scikit-umfpack: Update 0.3.2 -> 0.3.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 25 Sep 2022 07:58:56 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=268d7666c875ee54ec3539c46cc6025c1a551c76

commit 268d7666c875ee54ec3539c46cc6025c1a551c76
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-25 06:31:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-25 07:58:53 +0000

    math/py-scikit-umfpack: Update 0.3.2 -> 0.3.3
    
    Reported by:    portscout
---
 math/py-scikit-umfpack/Makefile | 15 +++++++++------
 math/py-scikit-umfpack/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/math/py-scikit-umfpack/Makefile b/math/py-scikit-umfpack/Makefile
index 4f04095c3fdb..e7488dfbd658 100644
--- a/math/py-scikit-umfpack/Makefile
+++ b/math/py-scikit-umfpack/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	scikit-umfpack
-DISTVERSION=	0.3.2
-PORTREVISION=	3
+DISTVERSION=	0.3.3
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +14,18 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
 		swig:devel/swig
-LIB_DEPENDS=	libumfpack.so:math/suitesparse-umfpack
+LIB_DEPENDS=	libamd.so:math/suitesparse-amd \
+		libopenblas.so:math/openblas \
+		libumfpack.so:math/suitesparse-umfpack
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	distutils cython autoplist
+USE_PYTHON=	distutils cython autoplist pytest # tests fail, see https://github.com/scikit-umfpack/scikit-umfpack/issues/77
 
-post-extract: # workaround for https://github.com/scikit-umfpack/scikit-umfpack/issues/53
-	@truncate -s 0 ${WRKSRC}/README.rst
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/scikits/umfpack/__umfpack${PYTHON_EXT_SUFFIX}.so
 
 .include <bsd.port.mk>
diff --git a/math/py-scikit-umfpack/distinfo b/math/py-scikit-umfpack/distinfo
index a12f82c26c23..c0de857bc408 100644
--- a/math/py-scikit-umfpack/distinfo
+++ b/math/py-scikit-umfpack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1539488372
-SHA256 (scikit-umfpack-0.3.2.tar.gz) = 9ca57adf461a60ef96871c6228f218ef233acc5b0ca147788979a683d3440117
-SIZE (scikit-umfpack-0.3.2.tar.gz) = 25157
+TIMESTAMP = 1664086556
+SHA256 (scikit-umfpack-0.3.3.tar.gz) = 464534529de182f2444809807f14133b7fee86605c167060917f115a31633ec4
+SIZE (scikit-umfpack-0.3.3.tar.gz) = 26241