git: b105e5e0c925 - main - science/siconos: Add the PYTHON option; Add the help2man dependency.
Yuri Victorovich
yuri at FreeBSD.org
Thu Aug 12 08:57:42 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b105e5e0c92547a52eba024b0b7823639ca296cd
commit b105e5e0c92547a52eba024b0b7823639ca296cd
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-12 08:27:01 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-08-12 08:57:36 +0000
science/siconos: Add the PYTHON option; Add the help2man dependency.
---
science/siconos/Makefile | 20 ++++++++++--
science/siconos/pkg-plist | 78 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 95 insertions(+), 3 deletions(-)
diff --git a/science/siconos/Makefile b/science/siconos/Makefile
index 0ad0fd78e583..69175fd069b9 100644
--- a/science/siconos/Makefile
+++ b/science/siconos/Makefile
@@ -1,5 +1,6 @@
PORTNAME= siconos
DISTVERSION= 4.4.0.rc3
+PORTREVISION= 1
CATEGORIES= science
MAINTAINER= yuri at FreeBSD.org
@@ -9,19 +10,32 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
- ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+ help2man:misc/help2man
LIB_DEPENDS= libcxsparse.so:math/suitesparse-cxsparse \
libgmp.so:math/gmp \
libldl.so:math/suitesparse-ldl \
libopenblas.so:math/openblas
-USES= cmake compiler:c++17-lang fortran pkgconfig python:build
+USES= cmake compiler:c++17-lang fortran pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER}
-CMAKE_OFF= WITH_PYTHON_WRAPPER
BINARY_ALIAS= python3=${PYTHON_CMD}
+OPTIONS_DEFINE= PYTHON
+OPTIONS_DEFAULT= PYTHON
+OPTIONS_SUB= yes
+
+PYTHON_CMAKE_BOOL= WITH_PYTHON_WRAPPER
+PYTHON_USES= python
+PYTHON_USES_OFF= python:build
+PYTHON_PY_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
+PYTHON_BUILD_DEPENDS= ${PYTHON_PY_DEPENDS} \
+ swig:devel/swig
+PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS}
+
.include <bsd.port.mk>
diff --git a/science/siconos/pkg-plist b/science/siconos/pkg-plist
index 84410d2a5766..1012d6f533b8 100644
--- a/science/siconos/pkg-plist
+++ b/science/siconos/pkg-plist
@@ -1,4 +1,11 @@
bin/siconos
+%%PYTHON%%bin/siconos_compare
+%%PYTHON%%bin/siconos_export_raw_data
+%%PYTHON%%bin/siconos_filter
+%%PYTHON%%bin/siconos_info
+%%PYTHON%%bin/siconos_run
+%%PYTHON%%bin/siconos_vexport
+%%PYTHON%%bin/siconos_vview
include/siconos/SiconosConfig.h
include/siconos/control/Actuator.hpp
include/siconos/control/ActuatorEvent.hpp
@@ -378,4 +385,75 @@ lib/libsiconos_mechanics.so.6.0.0
lib/libsiconos_numerics.so
lib/libsiconos_numerics.so.6
lib/libsiconos_numerics.so.6.0.0
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos-4.4.0-py%%PYTHON_VER%%.egg-info
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/__init__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/__pycache__/drepr%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/__pycache__/fromXml%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/__pycache__/functions%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/__pycache__/kernel%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/__pycache__/numerics%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/__pycache__/xml_parser%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/_kernel.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/_numerics.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/__init__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/__pycache__/controller%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/__pycache__/observer%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/__pycache__/sensor%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/__pycache__/simulation%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/_controller.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/_observer.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/_sensor.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/_simulation.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/controller.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/observer.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/sensor.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/control/simulation.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/drepr.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/fromXml.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/functions.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/FrictionContactTrace.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/__init__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/__pycache__/FrictionContactTrace%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/__pycache__/io_base%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/__pycache__/mechanics_hdf5%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/__pycache__/mechanics_run%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/__pycache__/vview%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/_io_base.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/io_base.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/mechanics_hdf5.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/mechanics_run.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/io/vview.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/kernel.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/__init__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/__pycache__/joints%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/_joints.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/__init__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/__pycache__/base%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/__pycache__/bodies%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/__pycache__/convexhull%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/__pycache__/native%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/__pycache__/tools%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/_base.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/_bodies.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/_native.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/base.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/bodies.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/convexhull.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/native.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/collision/tools.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/mechanics/joints.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/numerics.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/siconos/xml_parser.py
share/man/man1/siconos.1.gz
+%%PYTHON%%share/man/man1/siconos_compare.1.gz
+%%PYTHON%%share/man/man1/siconos_export_raw_data.1.gz
+%%PYTHON%%share/man/man1/siconos_filter.1.gz
+%%PYTHON%%share/man/man1/siconos_info.1.gz
+%%PYTHON%%share/man/man1/siconos_run.1.gz
+%%PYTHON%%share/man/man1/siconos_vexport.1.gz
+%%PYTHON%%share/man/man1/siconos_vview.1.gz
More information about the dev-commits-ports-all
mailing list