git: 6e09c88a0e45 - main - math/scs: Update 2.1.2 -> 2.1.3
Yuri Victorovich
yuri at FreeBSD.org
Wed Apr 14 08:37:25 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6e09c88a0e456519a083ae3ecb83278aeddd4f0b
commit 6e09c88a0e456519a083ae3ecb83278aeddd4f0b
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-04-14 07:52:36 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-04-14 08:37:17 +0000
math/scs: Update 2.1.2 -> 2.1.3
Reported by: portscout
---
math/scs/Makefile | 14 +++++++++++---
math/scs/distinfo | 6 +++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/math/scs/Makefile b/math/scs/Makefile
index 8cf2c255c7a5..97565148ce2d 100644
--- a/math/scs/Makefile
+++ b/math/scs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= scs
-DISTVERSION= 2.1.2
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.1.3
CATEGORIES= math
MAINTAINER= yuri at FreeBSD.org
@@ -9,15 +10,22 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= gmake blaslapack:openblas fortran # fortran is for openblas
+USE_LDCONFIG= yes
+
USE_GITHUB= yes
GH_ACCOUNT= cvxgrp
-USE_LDCONFIG= yes
MAKE_ARGS= BLASLDFLAGS="-lopenblas"
-ALL_TARGET= out/libscsdir.so out/libscsindir.so
+ALL_TARGET= default
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
+do-test:
+ cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} out/demo_socp_indirect && \
+ out/demo_socp_indirect 50 0.3 0.3 50 && \
+ ${ECHO} "Test succeeded"
+
.include <bsd.port.mk>
diff --git a/math/scs/distinfo b/math/scs/distinfo
index 276dcc2e098d..26b98488cd7c 100644
--- a/math/scs/distinfo
+++ b/math/scs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1596124807
-SHA256 (cvxgrp-scs-2.1.2_GH0.tar.gz) = fa2a959180224e4a470d5e618012b56cf9d04aba9ff23c75117c01a8e3e70234
-SIZE (cvxgrp-scs-2.1.2_GH0.tar.gz) = 105773
+TIMESTAMP = 1618385374
+SHA256 (cvxgrp-scs-v2.1.3_GH0.tar.gz) = cb139aa8a53b8f6a7f2bacec4315b449ce366ec80b328e823efbaab56c847d20
+SIZE (cvxgrp-scs-v2.1.3_GH0.tar.gz) = 106374
More information about the dev-commits-ports-all
mailing list