1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

New port: math/openturns: Uncertainty treatment library

This commit is contained in:
Yuri Victorovich 2019-05-27 03:34:31 +00:00
parent d76710d77b
commit 4e58a81412
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502762
5 changed files with 2332 additions and 0 deletions

View File

@ -475,6 +475,7 @@
SUBDIR += openlibm
SUBDIR += openmesh
SUBDIR += opensolaris-libm
SUBDIR += openturns
SUBDIR += optpp
SUBDIR += orpie
SUBDIR += osi

57
math/openturns/Makefile Normal file
View File

@ -0,0 +1,57 @@
# $FreeBSD$
PORTNAME= openturns
DISTVERSIONPREFIX= v
DISTVERSION= 1.13rc1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Uncertainty treatment library
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
flex:textproc/flex \
R>0:math/R
LIB_DEPENDS= libceres.so:math/ceres-solver \
libgflags.so:devel/gflags \
libglog.so:devel/glog \
libmuparser.so:math/muparser \
libnlopt.so:math/nlopt \
libopt.so:math/optpp \
libtbb.so:devel/tbb \
libhmat-oss.so:math/hmat-oss
RUN_DEPENDS= R>0:math/R
USES= bison blaslapack:openblas cmake compiler:c++11-lang eigen:3 gnome localbase:ldflags
USE_GITHUB= yes
USE_GNOME= libxml2
USE_LDCONFIG= yes
CMAKE_ARGS= -DBLAS_LIBRARIES=${LOCALBASE}/lib/libopenblas.so -DLAPACK_LIBRARIES=${LOCALBASE}/lib/libopenblas.so \
-DOPENTURNS_EXAMPLE_PATH:STRING=share/examples/openturns \
-DOPENTURNS_DOC_PATH:STRING=share/doc/openturns
CMAKE_OFF= USE_DOXYGEN USE_SPHINX
OPTIONS_DEFINE= PYTHON EXAMPLES
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
PYTHON_USES= python
PYTHON_CMAKE_BOOL= BUILD_PYTHON
PYTHON_CMAKE_ON= -DSWIG_EXECUTABLE=${LOCALBASE}/bin/swig3.0
PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 \
${PYTHON_RUN_DEPENDS}
PYTHON_RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}chaospy>0:math/py-chaospy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
PORTEXAMPLES= *
post-install:
@${RM} -r ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

3
math/openturns/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1556509878
SHA256 (openturns-openturns-v1.13rc1_GH0.tar.gz) = ce643c8037d3324866868cfcedff1e192e3a42d056d96648c1ef932bba065ce0
SIZE (openturns-openturns-v1.13rc1_GH0.tar.gz) = 15843182

8
math/openturns/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
OpenTURNS is a scientific C++ and Python library including an internal data
model and algorithms dedicated to the treatment of uncertainties. The main goal
of this library is giving to specific applications all the functionalities
needed to treat uncertainties in studies. Targeted users are all engineers who
want to introduce the probabilistic dimension in their so far deterministic
studies.
WWW: http://www.openturns.org/

2263
math/openturns/pkg-plist Normal file

File diff suppressed because it is too large Load Diff