Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2021 23:00:29 +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: r560742 - head/science/agrum
Message-ID:  <202101072300.107N0Tsq099967@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Jan  7 23:00:29 2021
New Revision: 560742
URL: https://svnweb.freebsd.org/changeset/ports/560742

Log:
  science/agrum: Add Python dependencies

Modified:
  head/science/agrum/Makefile

Modified: head/science/agrum/Makefile
==============================================================================
--- head/science/agrum/Makefile	Thu Jan  7 21:55:09 2021	(r560741)
+++ head/science/agrum/Makefile	Thu Jan  7 23:00:29 2021	(r560742)
@@ -2,6 +2,7 @@
 
 PORTNAME=	agrum
 DISTVERSION=	0.19.0
+PORTREVISION=	1
 CATEGORIES=	science math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -10,11 +11,11 @@ COMMENT=	Graphical modeler for Bayesian networks, infl
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++14-lang
-USE_GITLAB=	yes
+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=	86e9640e6603bddcab91e4a35a896c2c8a24e7ea
@@ -36,5 +37,18 @@ OPENMP_CMAKE_BOOL=	USE_OPENMP
 PYTHON_CMAKE_BOOL=	BUILD_PYTHON
 PYTHON_USES=		python
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101072300.107N0Tsq099967>