<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/636bc5899e50c7b8550e4919739a5a1d49502df0">https://github.com/macports/macports-ports/commit/636bc5899e50c7b8550e4919739a5a1d49502df0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 636bc5899e50c7b8550e4919739a5a1d49502df0
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 10 14:11:57 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> cantera: Add py-setuptools dependency for scons
</span>---
science/cantera/Portfile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/cantera/Portfile b/science/cantera/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 60f368d4331..49847b9157d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/cantera/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/cantera/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +26,7 @@ github.tarball_from archive
</span> python.default_version 310
depends_build-append port:gtest \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools \
</span> port:scons
depends_lib-append port:eigen3 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,7 +40,10 @@ depends_run-append port:py${python.version}-ruamel-yaml
</span> use_configure no
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd ${prefix}/bin/scons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# The SConstruct needs pkg_resources from setuptools so have scons run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# with the same python we're already using so that we can declare a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependency on that python's setuptools port.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd ${python.bin} ${prefix}/bin/scons
</span> build.target build
build.args prefix=${prefix} \
CC=${configure.cc} \
</pre><pre style='margin:0'>
</pre>