From nobody Mon May 2 16:24:26 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AF0E21AC0495; Mon, 2 May 2022 16:24:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KsT224Wc4z4ndc; Mon, 2 May 2022 16:24:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651508666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7rO/EMW9FbNKx9j6argPv3slRuZ+YBmGPFmqeVxBn1k=; b=nww7Q0C5ei5qAJj1GViHllKQXLRNTmrwQSqHapE/AIeLpRLPdESHCnni9LUsZ8BpoDo5pC 5nwVGyzB0f0wHCJRd1xKClt+Bd6lNgvCRMYKox3Nl+LkkOyVrGZb5EOWaXS9ynyDZ6cijQ QzDa1NAcFG6bW52sS+ihOnzLFkpmy36iClmESSq3ih67SmLGSFI5w4MOj3EvxDg/9X+auH hiFQMzLWJuys8ZFl20pa3p44RUKcB34q97u9rx60s3fBPUpf41DyFdMVfw0y+PZ+bh47vB XjloVggoXWZrRW2MODD12M3/VYbSxMvtwdhUosmGQD0xcoe1Ykbn5DZyMZ79Jg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B75D4CF0; Mon, 2 May 2022 16:24:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 242GOQbe024516; Mon, 2 May 2022 16:24:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 242GOQl7024515; Mon, 2 May 2022 16:24:26 GMT (envelope-from git) Date: Mon, 2 May 2022 16:24:26 GMT Message-Id: <202205021624.242GOQl7024515@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 4e73a1fd32da - main - science/cantera: Update 2.5.1-611 -> 2.6.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4e73a1fd32da46003d7070527b56b69bd3e1e6d8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651508666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7rO/EMW9FbNKx9j6argPv3slRuZ+YBmGPFmqeVxBn1k=; b=N3CJWoLAXSx7sLvD4NUeQBm9vBgXpm0JUOFbdwy1R0/BOEqk5gWGl23vmwHA4hT4XVmOmK Au8dbOVCK041cxlzdwQERhGwVxzAspmAjPS2O3b2xUc5PatZzpWJlmoqwymGuA8Xpj8o3x hWrew/WI14KffzrnyxGueKX8mQx22I0jh1U1ZxN+cGu+Dl/yn3o5Zsn39+e5UqozQ60Sh8 xVszOYSNvwTHjFDOr8sAps+5BX0gGEmeM2fqHkqwbtTuVY4Ft7c6CTOSfR5uAGMiHJCER2 t81yI7hfnO5F4G3/4ysV+1vO9ruZfWo4dKqB/T1BsyyPQM6jaDGIVnPLM0nZBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651508666; a=rsa-sha256; cv=none; b=clrdm9J4WSH6TdUsDasUT1G5ARpKLiKKUWuDCrw2meKu1LEMEMzKryezFX/N/IVH4BjOot moLuqM5EmazwO1FEKje8if4d6ZyQQUdiM9VAiBP6mok5YghkIWPFjpoubgw9bJmQ1z3312 Vuz6LDWNSvmQYqS12BOcTbXQuMO8t4zuToP7257daUbr4FEclfK9wICKyWCQAxwPphzWty S55fO52zwRBkHH6Z4oflEnrb8XLiXF2QEsC0DptVcRb2XO6nFQp12PewkTEWuhbZmUYc/N Ek56/jspKKaHPMuMIcJNQSyvEbZNhYDsocJMZhFXv/yIPvGrtbZgQnKDK/xxEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e73a1fd32da46003d7070527b56b69bd3e1e6d8 commit 4e73a1fd32da46003d7070527b56b69bd3e1e6d8 Author: Yuri Victorovich AuthorDate: 2022-05-02 16:23:50 +0000 Commit: Yuri Victorovich CommitDate: 2022-05-02 16:24:24 +0000 science/cantera: Update 2.5.1-611 -> 2.6.0 Reported by: portscout --- science/cantera/Makefile | 12 +++---- science/cantera/distinfo | 10 ++---- science/cantera/files/patch-SConstruct | 62 ++++++++++++---------------------- science/cantera/pkg-plist | 23 +++++++++++-- 4 files changed, 49 insertions(+), 58 deletions(-) diff --git a/science/cantera/Makefile b/science/cantera/Makefile index e187a1157252..8afdca022e34 100644 --- a/science/cantera/Makefile +++ b/science/cantera/Makefile @@ -1,14 +1,8 @@ PORTNAME= cantera DISTVERSIONPREFIX= v -DISTVERSION= 2.5.1-611 -PORTREVISION= 2 -DISTVERSIONSUFFIX= -gc4d6ecc15 +DISTVERSION= 2.6.0 CATEGORIES= science # chemistry physics -PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ -PATCHFILES= 5720ff659f4bd8dad33d32891fe7d4ae44c72697.patch:-p1 \ - 36e7019cab8e9d9e8388715b5680fea924ce6f52.patch:-p1 # fix "Fix stage directory from appearing in setup_cantera", https://github.com/Cantera/cantera/pull/1102 - MAINTAINER= yuri@FreeBSD.org COMMENT= Chemical kinetics, thermodynamics, and transport tool suite @@ -43,7 +37,7 @@ ALL_TARGET= build TEST_TARGET= test # some tests fail, see https://github.com/Cantera/cantera/issues/1095 OPTIONS_DEFINE= OCTAVE PYTHON -OPTIONS_DEFAULT= PYTHON # OCTAVE is off by default because Octave interface is not as frequently requested feature +OPTIONS_DEFAULT= # PYTHON is broken; OCTAVE is off by default because Octave interface is not as frequently requested feature OPTIONS_SUB= yes OCTAVE_DESC= Octave support @@ -51,6 +45,7 @@ OCTAVE_MAKE_ARGS= matlab_toolbox=y matlab_path=${LOCALBASE} OCTAVE_CXXFLAGS= -I${LOCALBASE}/include/octave-6.4.0/octave OCTAVE_LIB_DEPENDS= liboctave.so:math/octave OCTAVE_SUB_FILES= pkg-message-octave +OCTAVE_BROKEN= Path set for 'matlab_path' is not correct. (https://github.com/Cantera/cantera/issues/1270) PYTHON_USES= python:3.6+ PYTHON_USE= PYTHON=cython @@ -63,6 +58,7 @@ PYTHON_RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>0:devel/py-ruamel.yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} +PYTHON_BROKEN= https://github.com/Cantera/cantera/issues/1269 do-install: cd ${WRKSRC} && \ diff --git a/science/cantera/distinfo b/science/cantera/distinfo index cfedf982c859..cee52c83d2f5 100644 --- a/science/cantera/distinfo +++ b/science/cantera/distinfo @@ -1,9 +1,5 @@ -TIMESTAMP = 1639773651 -SHA256 (Cantera-cantera-v2.5.1-611-gc4d6ecc15_GH0.tar.gz) = 73fb300d3bc4eecf4d33cac98fae00bb3830e456fd04dc21211c814e93343ad9 -SIZE (Cantera-cantera-v2.5.1-611-gc4d6ecc15_GH0.tar.gz) = 2472507 +TIMESTAMP = 1651506700 +SHA256 (Cantera-cantera-v2.6.0_GH0.tar.gz) = 7273622ea76a53373cee820f939613b15eea3dd83db6e1b127c5ed043f77dc5b +SIZE (Cantera-cantera-v2.6.0_GH0.tar.gz) = 2586243 SHA256 (LLNL-sundials-887af43_GH0.tar.gz) = 147919c4887c93157c9975f195e8d45903285b61303d42f9dfdee251468abdb7 SIZE (LLNL-sundials-887af43_GH0.tar.gz) = 18888776 -SHA256 (5720ff659f4bd8dad33d32891fe7d4ae44c72697.patch) = b7e324f7deedeb9767126f6e39fd1100ec0033e134325773351d61f0c944943e -SIZE (5720ff659f4bd8dad33d32891fe7d4ae44c72697.patch) = 1349 -SHA256 (36e7019cab8e9d9e8388715b5680fea924ce6f52.patch) = 697dcb3499fa1ba37442dd01bbe60d8f080aa87b8d447a3f5da7bf9e865bdd6d -SIZE (36e7019cab8e9d9e8388715b5680fea924ce6f52.patch) = 3758 diff --git a/science/cantera/files/patch-SConstruct b/science/cantera/files/patch-SConstruct index bf8725632bb8..0a31558a42b2 100644 --- a/science/cantera/files/patch-SConstruct +++ b/science/cantera/files/patch-SConstruct @@ -1,45 +1,27 @@ ---- SConstruct.orig 2021-12-18 00:39:36 UTC +--- SConstruct.orig 2022-05-01 15:31:54 UTC +++ SConstruct -@@ -312,7 +312,7 @@ elif 'icc' in env.subst('$CC'): - defaults.warningFlags = '-Wcheck' - env['openmp_flag'] = ['-openmp'] +@@ -805,6 +805,9 @@ elif "icx" in env.subst("$CC"): + elif "clang" in env.subst("$CC"): + config.select("clang") --elif 'clang' in env.subst('$CC'): -+elif 'clang' in env.subst('$CC') or 'cc' in env.subst('$CC'): - defaults.ccFlags = '-fcolor-diagnostics' - defaults.cxxFlags = '-std=c++11' - defaults.buildPch = True -@@ -719,17 +719,18 @@ valid_arguments = (set(opt[0] for opt in windows_compi - for arg in ARGUMENTS: - if arg not in valid_arguments: - print('Encountered unexpected command line argument: %r' % arg) -- sys.exit(1) -+ #sys.exit(1) - - env["cantera_version"] = "2.6.0a3" - # For use where pre-release tags are not permitted (MSI, sonames) - env['cantera_pure_version'] = re.match(r'(\d+\.\d+\.\d+)', env['cantera_version']).group(0) - env['cantera_short_version'] = re.match(r'(\d+\.\d+)', env['cantera_version']).group(0) ++elif "cc" in env.subst("$CC"): ++ config.select("clang") ++ + else: + print(f"WARNING: Unrecognized C compiler '{env['CC']}'") --try: -- env["git_commit"] = get_command_output("git", "rev-parse", "--short", "HEAD") --except subprocess.CalledProcessError: -- env["git_commit"] = "unknown" -+#try: -+# env["git_commit"] = get_command_output("git", "rev-parse", "--short", "HEAD") -+#except subprocess.CalledProcessError: -+# env["git_commit"] = "unknown" -+env["git_commit"] = "unknown" +@@ -869,10 +872,10 @@ if "sdist" in COMMAND_LINE_TARGETS: + logger.info("'sdist' target was specified. Setting 'use_pch' to False.") + env["use_pch"] = False - # Print values of all build options: - print("Configuration variables read from 'cantera.conf' and command line:") -@@ -1440,8 +1441,7 @@ if env['matlab_toolbox'] == 'y': - 'SUNDIALS libraries and skip building the Matlab toolbox.') - sys.exit(1) +-for arg in ARGUMENTS: +- if arg not in config: +- logger.error(f"Encountered unexpected command line option: '{arg}'") +- sys.exit(1) ++#for arg in ARGUMENTS: ++# if arg not in config: ++# logger.error(f"Encountered unexpected command line option: '{arg}'") ++# sys.exit(1) -- if not (os.path.isdir(matPath) and -- os.path.isdir(pjoin(matPath, 'extern'))): -+ if not (os.path.isdir(matPath)): - print("""ERROR: Path set for 'matlab_path' is not correct.""") - print("""ERROR: Path was: '%s'""" % matPath) - sys.exit(1) + env["cantera_version"] = "2.6.0" + # For use where pre-release tags are not permitted (MSI, sonames) diff --git a/science/cantera/pkg-plist b/science/cantera/pkg-plist index 57b14f72a113..a5aecda50a5f 100644 --- a/science/cantera/pkg-plist +++ b/science/cantera/pkg-plist @@ -9,7 +9,10 @@ include/cantera/Cantera.mak include/cantera/base/AnyMap.h include/cantera/base/AnyMap.inl.h include/cantera/base/Array.h +include/cantera/base/Delegator.h include/cantera/base/FactoryBase.h +include/cantera/base/Interface.h +include/cantera/base/NoExitLogger.h include/cantera/base/Solution.h include/cantera/base/Units.h include/cantera/base/ValueCache.h @@ -114,7 +117,11 @@ include/cantera/ext/sunnonlinsol/sunnonlinsol_fixedpoint.h include/cantera/ext/sunnonlinsol/sunnonlinsol_newton.h include/cantera/ext/sunnonlinsol/sunnonlinsol_petscsnes.h include/cantera/kinetics.h +include/cantera/kinetics/Arrhenius.h +include/cantera/kinetics/BlowersMaselRate.h include/cantera/kinetics/BulkKinetics.h +include/cantera/kinetics/ChebyshevRate.h +include/cantera/kinetics/Custom.h include/cantera/kinetics/EdgeKinetics.h include/cantera/kinetics/Falloff.h include/cantera/kinetics/FalloffFactory.h @@ -123,19 +130,22 @@ include/cantera/kinetics/GasKinetics.h include/cantera/kinetics/Group.h include/cantera/kinetics/ImplicitSurfChem.h include/cantera/kinetics/InterfaceKinetics.h +include/cantera/kinetics/InterfaceRate.h include/cantera/kinetics/Kinetics.h include/cantera/kinetics/KineticsFactory.h include/cantera/kinetics/MultiRate.h +include/cantera/kinetics/MultiRateBase.h +include/cantera/kinetics/PlogRate.h include/cantera/kinetics/RateCoeffMgr.h include/cantera/kinetics/Reaction.h include/cantera/kinetics/ReactionData.h -include/cantera/kinetics/ReactionFactory.h include/cantera/kinetics/ReactionPath.h include/cantera/kinetics/ReactionRate.h include/cantera/kinetics/ReactionRateFactory.h include/cantera/kinetics/RxnRates.h include/cantera/kinetics/StoichManager.h include/cantera/kinetics/ThirdBodyCalc.h +include/cantera/kinetics/TwoTempPlasmaRate.h include/cantera/kinetics/importKinetics.h include/cantera/kinetics/reaction_defs.h include/cantera/kinetics/solveSP.h @@ -150,6 +160,7 @@ include/cantera/numerics/IDA_Solver.h include/cantera/numerics/Integrator.h include/cantera/numerics/ResidEval.h include/cantera/numerics/ResidJacEval.h +include/cantera/numerics/SundialsContext.h include/cantera/numerics/ctlapack.h include/cantera/numerics/eigen_dense.h include/cantera/numerics/eigen_sparse.h @@ -204,6 +215,7 @@ include/cantera/thermo/PDSS_SSVol.h include/cantera/thermo/PDSS_Water.h include/cantera/thermo/PengRobinson.h include/cantera/thermo/Phase.h +include/cantera/thermo/PlasmaPhase.h include/cantera/thermo/PureFluidPhase.h include/cantera/thermo/RedlichKisterVPSSTP.h include/cantera/thermo/RedlichKwongMFTP.h @@ -245,6 +257,7 @@ include/cantera/zeroD/IdealGasConstPressureReactor.h include/cantera/zeroD/IdealGasReactor.h include/cantera/zeroD/Reactor.h include/cantera/zeroD/ReactorBase.h +include/cantera/zeroD/ReactorDelegator.h include/cantera/zeroD/ReactorFactory.h include/cantera/zeroD/ReactorNet.h include/cantera/zeroD/ReactorSurface.h @@ -982,10 +995,11 @@ libdata/pkgconfig/cantera.pc %%DATADIR%%/data/airNASA9.yaml %%DATADIR%%/data/argon.cti %%DATADIR%%/data/argon.xml -%%DATADIR%%/data/critProperties.xml +%%DATADIR%%/data/critical-properties.yaml %%DATADIR%%/data/diamond.cti %%DATADIR%%/data/diamond.xml %%DATADIR%%/data/diamond.yaml +%%DATADIR%%/data/element-standard-entropies.yaml %%DATADIR%%/data/elements.xml %%DATADIR%%/data/graphite.cti %%DATADIR%%/data/graphite.xml @@ -1028,7 +1042,6 @@ libdata/pkgconfig/cantera.pc %%DATADIR%%/data/ptcombust.cti %%DATADIR%%/data/ptcombust.xml %%DATADIR%%/data/ptcombust.yaml -%%DATADIR%%/data/sample-data/LiC6_electrodebulk.yaml %%DATADIR%%/data/silane.cti %%DATADIR%%/data/silane.xml %%DATADIR%%/data/silane.yaml @@ -1074,6 +1087,10 @@ libdata/pkgconfig/cantera.pc %%DATADIR%%/samples/cxx/gas_transport/Makefile %%DATADIR%%/samples/cxx/gas_transport/SConstruct %%DATADIR%%/samples/cxx/gas_transport/gas_transport.cpp +%%DATADIR%%/samples/cxx/jacobian/CMakeLists.txt +%%DATADIR%%/samples/cxx/jacobian/Makefile +%%DATADIR%%/samples/cxx/jacobian/SConstruct +%%DATADIR%%/samples/cxx/jacobian/derivative_speed.cpp %%DATADIR%%/samples/cxx/kinetics1/CMakeLists.txt %%DATADIR%%/samples/cxx/kinetics1/Makefile %%DATADIR%%/samples/cxx/kinetics1/SConstruct