diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-14 16:54:00 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-14 17:16:50 +0000 |
commit | 93343a157453fa6f16b29578e127e040d8a57282 (patch) | |
tree | bbfbe26bf382d2353ec954b36c2c3c820f72412d /science/cantera | |
parent | 697f9f36d7f3a558f3566cb89b0770ff1984fc60 (diff) | |
download | ports-93343a157453fa6f16b29578e127e040d8a57282.tar.gz ports-93343a157453fa6f16b29578e127e040d8a57282.zip |
science/cantera: Fix build with scons 4.5.2+
from SConstruct:
try:
from packaging.version import parse as parse_version
except ImportError:
from pkg_resources import parse_version
Reference: https://pkg-status.freebsd.org/pb2/data/124i386-default-foo/2023-11-02_15h08m17s/logs/errors/cantera-3.0.0.log
PR: 274524
Diffstat (limited to 'science/cantera')
-rw-r--r-- | science/cantera/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/science/cantera/Makefile b/science/cantera/Makefile index c25ad53ef304..7fea4f5d81c0 100644 --- a/science/cantera/Makefile +++ b/science/cantera/Makefile @@ -12,7 +12,8 @@ LICENSE_FILE= ${WRKSRC}/License.txt BUILD_DEPENDS= googletest>0:devel/googletest \ ${LOCALBASE}/include/boost/algorithm/string.hpp:devel/boost-libs \ - highfive>0:science/highfive + highfive>0:science/highfive \ + ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} LIB_DEPENDS= libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libopenblas.so:math/openblas \ @@ -54,6 +55,7 @@ OCTAVE_USES= octave:env OCTAVE_BROKEN= Octave support needs to be updated PYTHON_USES= python +PYTHON_USES_OFF= python:env PYTHON_USE= PYTHON=cython PYTHON_MAKE_ARGS= python_cmd=${PYTHON_CMD} python_package=full PYTHON_MAKE_ARGS_OFF= python_package="none" |