git: bd71efcc2954 - main - math/zarray: New port: Dynamically typed N-D expression system based on xtensor

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 26 Nov 2021 22:02:54 UTC
The branch main has been updated by yuri:

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

commit bd71efcc295444eb0acb109905b255aceb2f13e0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-11-26 19:48:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-11-26 22:02:40 +0000

    math/zarray: New port: Dynamically typed N-D expression system based on xtensor
---
 math/Makefile         |  1 +
 math/zarray/Makefile  | 31 +++++++++++++++++++++++++++++++
 math/zarray/distinfo  |  3 +++
 math/zarray/pkg-descr |  3 +++
 math/zarray/pkg-plist | 17 +++++++++++++++++
 5 files changed, 55 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 0a07c732e1d4..f86ef164dfd4 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1080,6 +1080,7 @@
     SUBDIR += yacas
     SUBDIR += yices
     SUBDIR += z3
+    SUBDIR += zarray
     SUBDIR += zegrapher
     SUBDIR += zimpl
     SUBDIR += zn_poly
diff --git a/math/zarray/Makefile b/math/zarray/Makefile
new file mode 100644
index 000000000000..6c26e9ea4796
--- /dev/null
+++ b/math/zarray/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	zarray
+DISTVERSION=	0.1.0
+CATEGORIES=	math
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Dynamically typed N-D expression system based on xtensor
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+HPP_DEPENDS=	nlohmann-json>0:devel/nlohmann-json \
+		xtensor>0:math/xtensor
+BUILD_DEPENDS=	${HPP_DEPENDS}
+RUN_DEPENDS=	${HPP_DEPENDS}
+TEST_DEPENDS=	googletest>0:devel/googletest
+
+USES=		cmake compiler:c++14-lang
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	xtensor-stack
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+do-test: install
+	@cd ${WRKSRC}/test && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} . && \
+		${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \
+		${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest
+
+.include <bsd.port.mk>
diff --git a/math/zarray/distinfo b/math/zarray/distinfo
new file mode 100644
index 000000000000..2311c7c54e8a
--- /dev/null
+++ b/math/zarray/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1637955867
+SHA256 (xtensor-stack-zarray-0.1.0_GH0.tar.gz) = 2aade20297da342d67bb6a18cf9f9c427f6eef9f4bc47adc0969a0438285f35a
+SIZE (xtensor-stack-zarray-0.1.0_GH0.tar.gz) = 26632
diff --git a/math/zarray/pkg-descr b/math/zarray/pkg-descr
new file mode 100644
index 000000000000..ba448c915694
--- /dev/null
+++ b/math/zarray/pkg-descr
@@ -0,0 +1,3 @@
+zarray is a dynamically typed N-D expression system built on top of xtensor.
+
+WWW: https://github.com/xtensor-stack/zarray
diff --git a/math/zarray/pkg-plist b/math/zarray/pkg-plist
new file mode 100644
index 000000000000..a1174f620cd0
--- /dev/null
+++ b/math/zarray/pkg-plist
@@ -0,0 +1,17 @@
+include/zarray/zarray.hpp
+include/zarray/zarray_config.hpp
+include/zarray/zarray_impl.hpp
+include/zarray/zarray_wrapper.hpp
+include/zarray/zassign.hpp
+include/zarray/zchunked_iterator.hpp
+include/zarray/zchunked_wrapper.hpp
+include/zarray/zdispatcher.hpp
+include/zarray/zdispatching_types.hpp
+include/zarray/zexpression_wrapper.hpp
+include/zarray/zfunction.hpp
+include/zarray/zmath.hpp
+include/zarray/zscalar_wrapper.hpp
+include/zarray/zwrappers.hpp
+lib/cmake/zarray/zarrayConfig.cmake
+lib/cmake/zarray/zarrayConfigVersion.cmake
+lib/cmake/zarray/zarrayTargets.cmake