Date: Thu, 20 Dec 2018 06:31: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: r487846 - head/science/agrum Message-ID: <201812200631.wBK6V4U9000239@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812200631.wBK6V4U9000239>