git: 7e027e494442 - main - math/py-qdldl: Update 0.1.5.post0 -> 0.1.5.post2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 10 May 2022 21:21:46 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e027e494442f378cec111eb3033365a538b2d6d

commit 7e027e494442f378cec111eb3033365a538b2d6d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-10 21:11:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-10 21:21:40 +0000

    math/py-qdldl: Update 0.1.5.post0 -> 0.1.5.post2
---
 math/py-qdldl/Makefile | 9 ++++++++-
 math/py-qdldl/distinfo | 6 +++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/math/py-qdldl/Makefile b/math/py-qdldl/Makefile
index 43086ca323a6..2561a59078b0 100644
--- a/math/py-qdldl/Makefile
+++ b/math/py-qdldl/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	qdldl
-PORTVERSION=	0.1.5.post0
+PORTVERSION=	0.1.5.post2
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,8 +16,15 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
 		cmake:devel/cmake
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=0.13.2:science/py-scipy@${PY_FLAVOR}
+TEST_DEPENDS=	pytest:devel/py-pytest@${PY_FLAVOR}
 
 USES=		compiler:c++11-lang python:3.6+
 USE_PYTHON=	distutils autoplist
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/qdldl.cpython-*.so
+
+do-test: install
+	@cd ${WRKSRC} && pytest
+
 .include <bsd.port.mk>
diff --git a/math/py-qdldl/distinfo b/math/py-qdldl/distinfo
index 4c00f834170f..4e577403a812 100644
--- a/math/py-qdldl/distinfo
+++ b/math/py-qdldl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1609978323
-SHA256 (qdldl-0.1.5.post0.tar.gz) = c392c7427651d8b226423c7aba4a0f2338a1f38a4bbdabac6bc4afd8bc934f06
-SIZE (qdldl-0.1.5.post0.tar.gz) = 69127
+TIMESTAMP = 1652216841
+SHA256 (qdldl-0.1.5.post2.tar.gz) = 7daf7ad1bfff1da71da06e82d5147bdb1ac866581617d8f06cc4eeda48e2a149
+SIZE (qdldl-0.1.5.post2.tar.gz) = 69124