From owner-svn-ports-all@freebsd.org Thu Dec 20 06:31:06 2018 Return-Path: Delivered-To: svn-ports-all@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 DFDE81337F3A; Thu, 20 Dec 2018 06:31:05 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 827B18F55D; Thu, 20 Dec 2018 06:31: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 3F3E721B2D; Thu, 20 Dec 2018 06:31: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 wBK6V5Ns000240; Thu, 20 Dec 2018 06:31:05 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBK6V4U9000239; Thu, 20 Dec 2018 06:31:04 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201812200631.wBK6V4U9000239@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 20 Dec 2018 06:31:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487846 - head/science/agrum X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/science/agrum X-SVN-Commit-Revision: 487846 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 827B18F55D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2018 06:31:06 -0000 Author: yuri Date: Thu Dec 20 06:31:04 2018 New Revision: 487846 URL: https://svnweb.freebsd.org/changeset/ports/487846 Log: science/agrum: Add Python binding; Add ODBC option The Python binding is bundled for now because that's how the project is set up. Modified: head/science/agrum/Makefile head/science/agrum/pkg-plist Modified: head/science/agrum/Makefile ============================================================================== --- head/science/agrum/Makefile Thu Dec 20 06:26:02 2018 (r487845) +++ head/science/agrum/Makefile Thu Dec 20 06:31:04 2018 (r487846) @@ -2,6 +2,7 @@ PORTNAME= agrum DISTVERSION= 0.13.4 +PORTREVISION= 1 CATEGORIES= science math MAINTAINER= yuri@FreeBSD.org @@ -18,6 +19,19 @@ GL_PROJECT= aGrUM GL_COMMIT= 7fb897064bd26e2844164bad191c97173c71262e USE_LDCONFIG= yes -CMAKE_OFF= BUILD_PYTHON USE_SWIG +CMAKE_OFF= USE_SWIG + +OPTIONS_DEFINE= ODBC PYTHON +OPTIONS_DEFAULT= PYTHON +OPTIONS_SUB= yes + +ODBC_USES= localbase:ldflags +ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC + +PYTHON_CMAKE_BOOL= BUILD_PYTHON +PYTHON_USES= python + +post-patch-ODBC-off: # https://gitlab.com/agrumery/aGrUM/issues/22 + @${REINPLACE_CMD} 's|include(Nanodbc.agrum)|#&|' ${WRKSRC}/src/CMakeLists.txt .include Modified: head/science/agrum/pkg-plist ============================================================================== --- head/science/agrum/pkg-plist Thu Dec 20 06:26:02 2018 (r487845) +++ head/science/agrum/pkg-plist Thu Dec 20 06:31:04 2018 (r487846) @@ -838,4 +838,26 @@ lib/cmake/aGrUM/agrum-targets.cmake lib/libagrum.so lib/libagrum.so.0 lib/libagrum.so.0.13.4.9 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum-0.13.4.9-py2.egg-info +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum-0.13.4.9.dist-info/METADATA +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum-0.13.4.9.dist-info/WHEEL +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/__init__.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/_pyAgrum.so +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/deprecated.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/functions.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/__init__.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/_utils/__init__.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/_utils/oslike.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/_utils/progress_bar.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/_utils/pyAgrum_header.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/bn2csv.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/bn2graph.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/bn2roc.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/bn2scores.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/bn_vs_bn.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/dynamicBN.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/ipython.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/notebook.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/lib/pretty_print.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyAgrum/pyAgrum.py libdata/pkgconfig/agrum.pc