From owner-svn-ports-head@freebsd.org Sat Aug 18 01:02:06 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00D21108077E; Sat, 18 Aug 2018 01:02:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA7FA7AAAC; Sat, 18 Aug 2018 01:02:05 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8BA08106CD; Sat, 18 Aug 2018 01:02:05 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7I125QE088913; Sat, 18 Aug 2018 01:02:05 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7I124rJ088630; Sat, 18 Aug 2018 01:02:04 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201808180102.w7I124rJ088630@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 18 Aug 2018 01:02:04 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel: . xeus-cling xeus-cling/files X-SVN-Commit-Revision: 477469 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2018 01:02:06 -0000 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 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