Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2018 19:53:53 +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: r477108 - in head/devel: . xeus xeus/files
Message-ID:  <201808131953.w7DJrrdG047190@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Aug 13 19:53:53 2018
New Revision: 477108
URL: https://svnweb.freebsd.org/changeset/ports/477108

Log:
  New port: devel/xeus: C++ implementation of the Jupyter kernel protocol

Added:
  head/devel/xeus/
  head/devel/xeus/Makefile   (contents, props changed)
  head/devel/xeus/distinfo   (contents, props changed)
  head/devel/xeus/files/
  head/devel/xeus/files/patch-CMakeLists.txt   (contents, props changed)
  head/devel/xeus/pkg-descr   (contents, props changed)
  head/devel/xeus/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Aug 13 19:52:12 2018	(r477107)
+++ head/devel/Makefile	Mon Aug 13 19:53:53 2018	(r477108)
@@ -6297,6 +6297,7 @@
     SUBDIR += xdg-user-dirs
     SUBDIR += xdg-utils
     SUBDIR += xdgpaths
+    SUBDIR += xeus
     SUBDIR += xfce4-dev-tools
     SUBDIR += xfce4-vala
     SUBDIR += xmake

Added: head/devel/xeus/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus/Makefile	Mon Aug 13 19:53:53 2018	(r477108)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	xeus
+DISTVERSION=	0.13.0
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	C++ implementation of the Jupyter kernel protocol
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	cppzmq>0:net/cppzmq \
+		nlohmann-json>0:devel/nlohmann-json \
+		xtl-quant-stack>0:devel/xtl-quant-stack
+LIB_DEPENDS=	libcryptopp.so:security/cryptopp \
+		libuuid.so:misc/e2fsprogs-libuuid
+RUN_DEPENDS=	cppzmq>0:net/cppzmq \
+		nlohmann-json>0:devel/nlohmann-json \
+		xtl-quant-stack>0:devel/xtl-quant-stack
+
+USES=		cmake:outsource localbase:ldflags pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	QuantStack
+USE_LDCONFIG=	yes
+
+.include <bsd.port.mk>

Added: head/devel/xeus/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus/distinfo	Mon Aug 13 19:53:53 2018	(r477108)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1534094965
+SHA256 (QuantStack-xeus-0.13.0_GH0.tar.gz) = d60233b8363b8e977173ca408081c9c046b7114a4fbe27d22f549d8353778621
+SIZE (QuantStack-xeus-0.13.0_GH0.tar.gz) = 945076

Added: head/devel/xeus/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus/files/patch-CMakeLists.txt	Mon Aug 13 19:53:53 2018	(r477108)
@@ -0,0 +1,45 @@
+--- CMakeLists.txt.orig	2018-07-01 17:59:23 UTC
++++ CMakeLists.txt
+@@ -46,11 +46,12 @@ message(STATUS "xeus binary version: v${
+ # Dependencies
+ # ============
+ 
++FIND_PACKAGE(PkgConfig)
+ find_package(nlohmann_json 3.1.1 REQUIRED)
+ find_package(xtl 0.4 REQUIRED)
+-find_package(ZeroMQ 4.2.3 REQUIRED)
+-find_package(cppzmq 4.2.3 REQUIRED)
+-find_package(cryptopp REQUIRED)
++pkg_check_modules(ZeroMQ libzmq>=4.2.3 REQUIRED)
++#find_package(cppzmq 4.2.3 REQUIRED)
++#find_package(cryptopp REQUIRED)
+ 
+ # Source files
+ # ============
+@@ -108,10 +109,9 @@ add_library(xeus SHARED ${XEUS_SOURCES} 
+ target_include_directories(xeus PUBLIC $<BUILD_INTERFACE:${XEUS_INCLUDE_DIR}>
+                                        $<INSTALL_INTERFACE:include>)
+ target_link_libraries(xeus
+-                      PUBLIC cppzmq
+                       PUBLIC nlohmann_json
+                       PUBLIC xtl
+-                      PRIVATE cryptopp-static)
++                      -lcryptopp)
+ 
+ if(NOT MSVC)
+     if(APPLE)
+@@ -139,10 +139,10 @@ include(CMakePushCheckState)
+ cmake_push_check_state()
+ 
+ # HAVE_CRYPTOPP_BYTE_T
+-get_target_property(cryptopp_INCLUDE_DIR cryptopp-static INTERFACE_INCLUDE_DIRECTORIES)
+-get_target_property(cryptopp_LIBRARY cryptopp-static LOCATION)
+-set(CMAKE_REQUIRED_LIBRARIES ${cryptopp_LIBRARY})
+-set(CMAKE_REQUIRED_INCLUDES ${cryptopp_INCLUDE_DIR})
++#get_target_property(cryptopp_INCLUDE_DIR cryptopp INTERFACE_INCLUDE_DIRECTORIES)
++#get_target_property(cryptopp_LIBRARY cryptopp LOCATION)
++set(CMAKE_REQUIRED_LIBRARIES -lcryptopp)
++set(CMAKE_REQUIRED_INCLUDES -I/usr/local/include)
+ check_cxx_source_compiles("
+ #include \"cryptopp/config.h\"
+ int main(){

Added: head/devel/xeus/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus/pkg-descr	Mon Aug 13 19:53:53 2018	(r477108)
@@ -0,0 +1,8 @@
+xeus is a library meant to facilitate the implementation of kernels for Jupyter.
+It takes the burden of implementing the Jupyter Kernel protocol so developers
+can focus on implementing the interpreter part of the kernel.
+
+An example of kernel built with xeus is xeus-cling, a kernel for the C++
+programming language based on the cling C++ interpreter.
+
+WWW: https://github.com/QuantStack/xeus

Added: head/devel/xeus/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus/pkg-plist	Mon Aug 13 19:53:53 2018	(r477108)
@@ -0,0 +1,19 @@
+include/xeus/xauthentication.hpp
+include/xeus/xcomm.hpp
+include/xeus/xeus.hpp
+include/xeus/xguid.hpp
+include/xeus/xinterpreter.hpp
+include/xeus/xjson.hpp
+include/xeus/xkernel.hpp
+include/xeus/xkernel_configuration.hpp
+include/xeus/xmessage.hpp
+include/xeus/xserver.hpp
+include/xeus/xserver_zmq.hpp
+lib/cmake/xeus/FindLibUUID.cmake
+lib/cmake/xeus/xeusConfig.cmake
+lib/cmake/xeus/xeusConfigVersion.cmake
+lib/cmake/xeus/xeusTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/xeus/xeusTargets.cmake
+lib/libxeus.so
+lib/libxeus.so.1
+lib/libxeus.so.1.0.1



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