Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2018 16:42:13 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476997 - in head/devel: . xtl-quant-stack xtl-quant-stack/files
Message-ID:  <201808121642.w7CGgDMC074188@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Aug 12 16:42:13 2018
New Revision: 476997
URL: https://svnweb.freebsd.org/changeset/ports/476997

Log:
  New port: devel/xtl-quant-stack: Template library that supports other quantstack projects

Added:
  head/devel/xtl-quant-stack/
  head/devel/xtl-quant-stack/Makefile   (contents, props changed)
  head/devel/xtl-quant-stack/distinfo   (contents, props changed)
  head/devel/xtl-quant-stack/files/
  head/devel/xtl-quant-stack/files/patch-test_CMakeLists.txt   (contents, props changed)
  head/devel/xtl-quant-stack/pkg-descr   (contents, props changed)
  head/devel/xtl-quant-stack/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Aug 12 16:29:22 2018	(r476996)
+++ head/devel/Makefile	Sun Aug 12 16:42:13 2018	(r476997)
@@ -6304,6 +6304,7 @@
     SUBDIR += xsd
     SUBDIR += xtensa-esp32-elf
     SUBDIR += xtl
+    SUBDIR += xtl-quant-stack
     SUBDIR += xtoolchain-llvm-devel
     SUBDIR += xtoolchain-llvm40
     SUBDIR += xtoolchain-llvm50

Added: head/devel/xtl-quant-stack/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xtl-quant-stack/Makefile	Sun Aug 12 16:42:13 2018	(r476997)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	xtl
+DISTVERSION=	0.4.14
+CATEGORIES=	devel
+PKGNAMESUFFIX=	-quant-stack
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Template library that supports other quantstack projects
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	nlohmann-json>0:devel/nlohmann-json
+RUN_DEPENDS=	nlohmann-json>0:devel/nlohmann-json
+TEST_DEPENDS=	nlohmann-json>0:devel/nlohmann-json \
+		googletest>0:devel/googletest
+
+USES=		cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	QuantStack
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC}/test && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dxtl_DIR:STRING=${STAGEDIR}${PREFIX}/lib/cmake/xtl && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest
+
+.include <bsd.port.mk>

Added: head/devel/xtl-quant-stack/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xtl-quant-stack/distinfo	Sun Aug 12 16:42:13 2018	(r476997)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1533935117
+SHA256 (QuantStack-xtl-0.4.14_GH0.tar.gz) = f32390060315a7a941d9601ea1f0200c723e21313bd034f36dd5aae52b7a58c8
+SIZE (QuantStack-xtl-0.4.14_GH0.tar.gz) = 88878

Added: head/devel/xtl-quant-stack/files/patch-test_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xtl-quant-stack/files/patch-test_CMakeLists.txt	Sun Aug 12 16:42:13 2018	(r476997)
@@ -0,0 +1,11 @@
+Temporary workaround suggested by the upstream.
+--- test/CMakeLists.txt.orig	2018-08-12 16:02:18 UTC
++++ test/CMakeLists.txt
+@@ -12,6 +12,7 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CM
+     project(xtl-test)
+ 
+     find_package(xtl REQUIRED CONFIG)
++    find_package(nlohmann_json QUIET)
+     set(XTL_INCLUDE_DIR ${xtl_INCLUDE_DIRS})
+ endif ()
+ 

Added: head/devel/xtl-quant-stack/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xtl-quant-stack/pkg-descr	Sun Aug 12 16:42:13 2018	(r476997)
@@ -0,0 +1,5 @@
+Basic tools (containers, algorithms) used by other quantstack packages.
+
+xtl is a header-only library.
+
+WWW: https://github.com/QuantStack/xtl

Added: head/devel/xtl-quant-stack/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xtl-quant-stack/pkg-plist	Sun Aug 12 16:42:13 2018	(r476997)
@@ -0,0 +1,25 @@
+include/xtl/xany.hpp
+include/xtl/xbase64.hpp
+include/xtl/xbasic_fixed_string.hpp
+include/xtl/xclosure.hpp
+include/xtl/xcomplex.hpp
+include/xtl/xcomplex_sequence.hpp
+include/xtl/xdynamic_bitset.hpp
+include/xtl/xfunctional.hpp
+include/xtl/xhash.hpp
+include/xtl/xhierarchy_generator.hpp
+include/xtl/xiterator_base.hpp
+include/xtl/xjson.hpp
+include/xtl/xmeta_utils.hpp
+include/xtl/xoptional.hpp
+include/xtl/xoptional_sequence.hpp
+include/xtl/xproxy_wrapper.hpp
+include/xtl/xsequence.hpp
+include/xtl/xtl_config.hpp
+include/xtl/xtype_traits.hpp
+include/xtl/xvariant.hpp
+include/xtl/xvariant_impl.hpp
+lib/cmake/xtl/xtlConfig.cmake
+lib/cmake/xtl/xtlConfigVersion.cmake
+lib/cmake/xtl/xtlTargets.cmake
+libdata/pkgconfig/xtl.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808121642.w7CGgDMC074188>