aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-05-10 21:11:58 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-05-10 21:21:40 +0000
commit7e027e494442f378cec111eb3033365a538b2d6d (patch)
treea2f03165869b2864e314555f1a0ca69d08709281
parent0ebd00131d61000511c91c9497f4a32075d35405 (diff)
downloadports-7e027e494442f378cec111eb3033365a538b2d6d.tar.gz
ports-7e027e494442f378cec111eb3033365a538b2d6d.zip
math/py-qdldl: Update 0.1.5.post0 -> 0.1.5.post2
-rw-r--r--math/py-qdldl/Makefile9
-rw-r--r--math/py-qdldl/distinfo6
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