<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bf2cadc4358c4e6c3370a83c0e135b3ffe83fa99">https://github.com/macports/macports-ports/commit/bf2cadc4358c4e6c3370a83c0e135b3ffe83fa99</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new bf2cadc4358 py-cipheycore: Add compiler blacklist
</span>bf2cadc4358 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit bf2cadc4358c4e6c3370a83c0e135b3ffe83fa99
</span>Author: harens <harensdeveloper@gmail.com>
AuthorDate: Sat Feb 6 09:34:58 2021 +0000

<span style='display:block; white-space:pre;color:#404040;'>    py-cipheycore: Add compiler blacklist
</span>---
 python/py-cipheycore/Portfile | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-cipheycore/Portfile b/python/py-cipheycore/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 14913a27526..6045cb74eed 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-cipheycore/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-cipheycore/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup           python 1.0
</span> 
 github.setup        ciphey cipheycore 0.3.2 v
 name                py-cipheycore
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> python.versions     38 39
 
 description         Some cryptanalysis tidbits written in a proper language
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,9 +34,10 @@ if {${name} ne ${subport}} {
</span>     # Use the build and destroot stage of python PG
     # This installs the generated python package
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # cmake only necessary for the subports
</span>     PortGroup           cmake 1.1
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    PortGroup           compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     depends_build-append \
                         port:py${python.version}-setuptools \
                         port:boost \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,6 +45,18 @@ if {${name} ne ${subport}} {
</span>                         port:swig-python \
                         port:swig
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # cipheycore requires C++20 standard
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # This acts as a baseline (with additional blacklisting below)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # See https://en.cppreference.com/w/cpp/compiler_support/20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Couldn't get gcc to play nicely with cipheycore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # For clang < 1000: target_compile_features The compiler feature "cxx_std_20"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # is not known to CXX compiler "AppleClang" version ...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # clang < 5 is blocked by cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.blacklist-append *gcc* {clang < 1000} {macports-clang-[5-9].0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.fallback-append  macports-clang-10 macports-clang-11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     # Build the generated python package
     build.cmd           ${python.bin} setup.py
 
</pre><pre style='margin:0'>

</pre>