From owner-svn-ports-head@freebsd.org Mon Aug 13 19:53:55 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 E0339107BADB; Mon, 13 Aug 2018 19:53:54 +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 9659589C7E; Mon, 13 Aug 2018 19:53:54 +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 787A011515; Mon, 13 Aug 2018 19:53:54 +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 w7DJrsrj047195; Mon, 13 Aug 2018 19:53:54 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7DJrrdG047190; Mon, 13 Aug 2018 19:53:53 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201808131953.w7DJrrdG047190@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 13 Aug 2018 19:53:53 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel: . xeus xeus/files X-SVN-Commit-Revision: 477108 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: Mon, 13 Aug 2018 19:53:55 -0000 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 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 $ + $) + 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