blob: 34ab6a469bb43c9fae31f6922d982d30920f8b5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
PORTNAME= agrum
DISTVERSION= 0.19.3
CATEGORIES= science math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Graphical modeler for Bayesian networks, influence diagrams, etc
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c++14-lang # the 'act' executable uses 'python' and is broken, when act is broken CMakeLists.txt builds with default configuration which is fine
USE_LDCONFIG= yes
LLD_UNSAFE= yes
USE_GITLAB= yes
GL_ACCOUNT= agrumery
GL_PROJECT= aGrUM
GL_COMMIT= 293776124e1fcc9da7c59a45f8ef038f2e9e75c7
CMAKE_OFF= USE_SWIG
PLIST_SUB+= VERSION=${PORTVERSION}
OPTIONS_DEFINE= ODBC OPENMP PYTHON
OPTIONS_DEFAULT= OPENMP PYTHON
OPTIONS_SUB= yes
ODBC_CMAKE_BOOL= USE_NANODBC
ODBC_USES= localbase:ldflags
ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
OPENMP_CMAKE_BOOL= USE_OPENMP
PYTHON_CMAKE_BOOL= BUILD_PYTHON
PYTHON_USES= python:3.7+
PYTHON_PLIST_SUB= PYTHON_VER_MAJ=${PYTHON_VER:R}
PYTHON_RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydotplus>0:graphics/py-pydotplus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
# see wrappers/pyAgrum/requirements.txt and wrappers/pyAgrum/testunits/optional_requirements.txt
.include <bsd.port.mk>
|