svn commit: r517787 - head/math/ascent

Yuri Victorovich yuri at FreeBSD.org
Sun Nov 17 00:55:05 UTC 2019


Author: yuri
Date: Sun Nov 17 00:55:03 2019
New Revision: 517787
URL: https://svnweb.freebsd.org/changeset/ports/517787

Log:
  math/ascent: Update 0.3.0-11 -> 0.4.0
  
  Also add the 'test' target.
  
  Reported by:	portscout

Modified:
  head/math/ascent/Makefile
  head/math/ascent/distinfo
  head/math/ascent/pkg-plist

Modified: head/math/ascent/Makefile
==============================================================================
--- head/math/ascent/Makefile	Sun Nov 17 00:40:15 2019	(r517786)
+++ head/math/ascent/Makefile	Sun Nov 17 00:55:03 2019	(r517787)
@@ -2,8 +2,7 @@
 
 PORTNAME=	ascent
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.3.0-11
-DISTVERSIONSUFFIX=	-g0b137ac
+DISTVERSION=	0.4.0
 CATEGORIES=	math
 
 MAINTAINER=	yuri at FreeBSD.org
@@ -12,14 +11,23 @@ COMMENT=	C++ simulation engine and differential equati
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+USES=		cmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	AnyarInc
 GH_PROJECT=	Ascent
 
+CMAKE_OFF=	BUILD_UNIT_TESTS BUILD_EXAMPLES
+
 NO_BUILD=	yes
 NO_ARCH=	yes
 
 do-install:
 	@cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include
+
+do-test:
+	@cd ${BUILD_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_UNIT_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		${BUILD_WRKSRC}/bin/ascent_test
 
 .include <bsd.port.mk>

Modified: head/math/ascent/distinfo
==============================================================================
--- head/math/ascent/distinfo	Sun Nov 17 00:40:15 2019	(r517786)
+++ head/math/ascent/distinfo	Sun Nov 17 00:55:03 2019	(r517787)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1545240849
-SHA256 (AnyarInc-Ascent-v0.3.0-11-g0b137ac_GH0.tar.gz) = 7963ee3b4e842330b5975cf2d2d92deef96fa106c40fad47720c24ecbf8b5ee6
-SIZE (AnyarInc-Ascent-v0.3.0-11-g0b137ac_GH0.tar.gz) = 50402
+TIMESTAMP = 1573951078
+SHA256 (AnyarInc-Ascent-v0.4.0_GH0.tar.gz) = ec0b17ae3890235f3e413a1955b3e6f774f4bddbc893e767c3d5e5baac84629c
+SIZE (AnyarInc-Ascent-v0.4.0_GH0.tar.gz) = 56046

Modified: head/math/ascent/pkg-plist
==============================================================================
--- head/math/ascent/pkg-plist	Sun Nov 17 00:40:15 2019	(r517786)
+++ head/math/ascent/pkg-plist	Sun Nov 17 00:55:03 2019	(r517787)
@@ -8,6 +8,7 @@ include/ascent/Utility.h
 include/ascent/Vector.h
 include/ascent/algorithms/Derivative.h
 include/ascent/containers/stack.h
+include/ascent/direct/State.h
 include/ascent/integrators/DOPRI45.h
 include/ascent/integrators/Euler.h
 include/ascent/integrators/Midpoint.h
@@ -16,7 +17,18 @@ include/ascent/integrators/RK2.h
 include/ascent/integrators/RK4.h
 include/ascent/integrators/RKMM.h
 include/ascent/integrators/RTAM4.h
+include/ascent/integrators_direct/Euler.h
+include/ascent/integrators_direct/RK4.h
+include/ascent/integrators_modular/Euler.h
+include/ascent/integrators_modular/Midpoint.h
+include/ascent/integrators_modular/ModularIntegrators.h
+include/ascent/integrators_modular/PC233.h
+include/ascent/integrators_modular/RK2.h
+include/ascent/integrators_modular/RK4.h
+include/ascent/modular/Link.h
+include/ascent/modular/Module.h
 include/ascent/threading/Pool.h
 include/ascent/threading/Queue.h
 include/ascent/timing/Sampler.h
 include/ascent/timing/TimeAdvanced.h
+include/ascent/timing/Timing.h


More information about the svn-ports-all mailing list