Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2018 01:02:04 +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: r477469 - in head/devel: . xeus-cling xeus-cling/files
Message-ID:  <201808180102.w7I124rJ088630@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Aug 18 01:02:04 2018
New Revision: 477469
URL: https://svnweb.freebsd.org/changeset/ports/477469

Log:
  New port: devel/xeus-cling: C++ Jupyter Kernel

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Aug 18 00:59:09 2018	(r477468)
+++ head/devel/Makefile	Sat Aug 18 01:02:04 2018	(r477469)
@@ -6298,6 +6298,7 @@
     SUBDIR += xdg-utils
     SUBDIR += xdgpaths
     SUBDIR += xeus
+    SUBDIR += xeus-cling
     SUBDIR += xfce4-dev-tools
     SUBDIR += xfce4-vala
     SUBDIR += xmake

Added: head/devel/xeus-cling/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus-cling/Makefile	Sat Aug 18 01:02:04 2018	(r477469)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	xeus-cling
+DISTVERSION=	0.4.6
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	C++ Jupyter Kernel
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	cppzmq>0:net/cppzmq \
+		cxxopts>0:devel/cxxopts \
+		czmq>0:net/czmq \
+		llvm-config:lang/cling
+LIB_DEPENDS=	libclingInterpreter.so:lang/cling \
+		libcryptopp.so:security/cryptopp \
+		libpugixml.so:textproc/pugixml \
+		libuuid.so:misc/e2fsprogs-libuuid \
+		libxeus.so:devel/xeus \
+		libzmq.so:net/libzmq4
+
+USES=		cmake:outsource pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	QuantStack
+
+.include <bsd.port.mk>

Added: head/devel/xeus-cling/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus-cling/distinfo	Sat Aug 18 01:02:04 2018	(r477469)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1534355170
+SHA256 (QuantStack-xeus-cling-0.4.6_GH0.tar.gz) = 038968367e3ea9d1e6635acb158340d3773b1ff84d4084cad6c287d93449b761
+SIZE (QuantStack-xeus-cling-0.4.6_GH0.tar.gz) = 2205152

Added: head/devel/xeus-cling/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus-cling/files/patch-CMakeLists.txt	Sat Aug 18 01:02:04 2018	(r477469)
@@ -0,0 +1,33 @@
+--- CMakeLists.txt.orig	2018-08-15 11:38:48 UTC
++++ CMakeLists.txt
+@@ -11,6 +11,8 @@ project(xeus-cling)
+ 
+ set(XCPP_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
+ 
++link_directories(${CMAKE_INSTALL_PREFIX}/lib)
++
+ # Versionning
+ # ===========
+ 
+@@ -102,10 +104,10 @@ add_definitions(-DLLVM_DIR="${LLVM_BINAR
+ ################
+ 
+ find_package(xeus 0.13 REQUIRED)
+-find_package(cppzmq 4.2.3 REQUIRED)
++#find_package(cppzmq 4.2.3 REQUIRED)
+ find_package(pugixml REQUIRED)
+ 
+-find_package(Clang REQUIRED)
++#find_package(Clang REQUIRED)
+ find_package(Cling REQUIRED)
+ find_package(cxxopts REQUIRED)
+ 
+@@ -305,6 +307,8 @@ set(XCPP_TAGCONFS_DIR ${CMAKE_CURRENT_SO
+ install(DIRECTORY ${XCPP_TAGCONFS_DIR}
+         DESTINATION ${XCPP_CONF_DIR})
+ 
++target_link_libraries(xeus-cling -lclangAST -lLLVMSupport -lzmq)
++
+ # Add definitions for the kernel to find tagfiles.
+ add_definitions(-DXCPP_TAGFILES_DIR="${CMAKE_INSTALL_PREFIX}/${XCPP_DATA_DIR}/tagfiles")
+ add_definitions(-DXCPP_TAGCONFS_DIR="${CMAKE_INSTALL_PREFIX}/${XCPP_CONF_DIR}/tags.d")

Added: head/devel/xeus-cling/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus-cling/pkg-descr	Sat Aug 18 01:02:04 2018	(r477469)
@@ -0,0 +1,8 @@
+xeus-cling is a Jupyter kernel for C++ based on the C++ interpreter cling and
+the native implementation of the Jupyter protocol xeus.
+
+In order to use xeus-cling, please launch the jupyter notebook with jupyter
+notebook and launch a new C++ notebook by selecting the C++14 kernel in the new
+dropdown.
+
+WWW: https://github.com/QuantStack/xeus-cling

Added: head/devel/xeus-cling/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xeus-cling/pkg-plist	Sat Aug 18 01:02:04 2018	(r477469)
@@ -0,0 +1,16 @@
+bin/xeus-cling
+etc/xcpp/tags.d/stl.json
+etc/xcpp/tags.d/xtensor.json
+include/xcpp/xdisplay.hpp
+include/xcpp/xmime.hpp
+share/jupyter/kernels/xeus-cling-cpp11/kernel.json
+share/jupyter/kernels/xeus-cling-cpp11/logo-32x32.png
+share/jupyter/kernels/xeus-cling-cpp11/logo-64x64.png
+share/jupyter/kernels/xeus-cling-cpp14/kernel.json
+share/jupyter/kernels/xeus-cling-cpp14/logo-32x32.png
+share/jupyter/kernels/xeus-cling-cpp14/logo-64x64.png
+share/jupyter/kernels/xeus-cling-cpp17/kernel.json
+share/jupyter/kernels/xeus-cling-cpp17/logo-32x32.png
+share/jupyter/kernels/xeus-cling-cpp17/logo-64x64.png
+share/xcpp/tagfiles/cppreference-doxygen-web.tag
+share/xcpp/tagfiles/xtensor.tag



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