Date: Sun, 10 Jul 2022 18:51:22 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 488781bde8f0 - main - cad/xyce: Chenge MASTER_SITES to GitHub URL; Add test target Message-ID: <202207101851.26AIpMFL068253@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=488781bde8f00a043ff9a71f2d55966951019d3d commit 488781bde8f00a043ff9a71f2d55966951019d3d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-10 18:50:02 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-10 18:51:20 +0000 cad/xyce: Chenge MASTER_SITES to GitHub URL; Add test target --- cad/xyce/Makefile | 33 ++++++++++++++++++++++++++++++--- cad/xyce/distinfo | 6 +++--- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/cad/xyce/Makefile b/cad/xyce/Makefile index b3214a50f508..558dca5707a6 100644 --- a/cad/xyce/Makefile +++ b/cad/xyce/Makefile @@ -1,8 +1,9 @@ PORTNAME= xyce -DISTVERSION= 7.5 +DISTVERSION= 7.5.0 CATEGORIES= cad -MASTER_SITES= https://xyce.sandia.gov/files/xyce/ -DISTNAME= Xyce-${DISTVERSION} +MASTER_SITES= https://github.com/Xyce/Xyce/archive/refs/tags/ +DISTNAME= Release-${DISTVERSION} +DIST_SUBDIR= xyce-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Xyce electronic simulator @@ -16,17 +17,43 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd \ liblapack.so:math/lapack \ libtpetra.so:science/trilinos \ libumfpack.so:math/suitesparse-umfpack +TEST_DEPENDS= git:devel/git USES= bison cmake localbase CMAKE_ON= BUILD_SHARED_LIBS +WRKSRC= ${WRKDIR}/Xyce-Release-${DISTVERSION} + post-install: @cd ${STAGEDIR}${PREFIX} && \ ${RM} ${STAGEDIR}${PREFIX}/doc/README.TXT && \ ${RMDIR} ${STAGEDIR}${PREFIX}/doc +do-test: + # checkout tests + @cd ${WRKDIR} && \ + ${ECHO} "cloning git repository ..." && \ + ${RM} -rf Xyce_Regression && \ + git clone -q https://github.com/Xyce/Xyce_Regression.git && \ + cd Xyce_Regression && \ + git checkout -q Release-${DISTVERSION} + + # run tests + @cd ${TEST_WRKSRC} && ( \ + ${ECHO} "running tests ..."; \ + eval `${WRKDIR}/Xyce_Regression/TestScripts/suggestXyceTagList.sh ${STAGEDIR}${PREFIX}/bin/Xyce` ; \ + ${WRKDIR}/Xyce_Regression/TestScripts/run_xyce_regression \ + --output=${WRKDIR}/Xyce_Test \ + --xyce_test="${WRKDIR}/Xyce_Regression" \ + --resultfile=${WRKDIR}/serial_results \ + --taglist="$$TAGLIST" \ + ${STAGEDIR}${PREFIX}/bin/Xyce \ + ) + # Testssuite doesn't stop when Ctrl-C is pressed: https://github.com/Xyce/Xyce_Regression/issues/1 + # Trilinos build instructions for Xyce: https://xyce.sandia.gov/documentation-tutorials/building-guide/#instTrilinos +# Xyce build instructions: https://xyce.sandia.gov/documentation-tutorials/building-guide/ # docs are in https://xyce.sandia.gov/files/xyce/Xyce_Docs-7.5.tar.gz .include <bsd.port.mk> diff --git a/cad/xyce/distinfo b/cad/xyce/distinfo index ffee29842322..b733d21cad6e 100644 --- a/cad/xyce/distinfo +++ b/cad/xyce/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1657259069 -SHA256 (Xyce-7.5.tar.gz) = 855e865316e8ca3a668fb4e92cb39e63023702f79012a1461c06066e1567f5ce -SIZE (Xyce-7.5.tar.gz) = 24310294 +TIMESTAMP = 1657478670 +SHA256 (xyce-7.5.0/Release-7.5.0.tar.gz) = 854d7d5e19e0ee2138d1f20f10f8f27f2bebb94ec81c157040955cff7250dacd +SIZE (xyce-7.5.0/Release-7.5.0.tar.gz) = 23184780
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207101851.26AIpMFL068253>