<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7e0384a6b455796c3a6d7a8b25f6e1aca1393f7c">https://github.com/macports/macports-ports/commit/7e0384a6b455796c3a6d7a8b25f6e1aca1393f7c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7e0384a6b455796c3a6d7a8b25f6e1aca1393f7c
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Mar 20 16:00:54 2020 -0700

<span style='display:block; white-space:pre;color:#404040;'>    getdp: add variant for Python 3.8
</span>---
 science/getdp/Portfile | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/getdp/Portfile b/science/getdp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f16cf4b..a3c7ec0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/getdp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/getdp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,33 +82,40 @@ variant petsc description {Use PETSc linear solver} {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 description {Build the Python 2.7 bindings} conflicts python36 python37 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 description {Build the Python 2.7 bindings} conflicts python36 python37 python38 {
</span>     depends_lib-append port:python27
     post-patch {
         reinplace "s|__MACPORTS_PYTHON_VERSION__|2.7|g" ${worksrcpath}/CMakeLists.txt
     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 description {Build the Python 3.6 bindings} conflicts python27 python37 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 description {Build the Python 3.6 bindings} conflicts python27 python37 python38 {
</span>     depends_lib-append port:python36
     post-patch {
         reinplace "s|__MACPORTS_PYTHON_VERSION__|3.6|g" ${worksrcpath}/CMakeLists.txt
     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 description {Build the Python 3.7 bindings} conflicts python27 python36 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 description {Build the Python 3.7 bindings} conflicts python27 python36 python38 {
</span>     depends_lib-append port:python37
     post-patch {
         reinplace "s|__MACPORTS_PYTHON_VERSION__|3.7|g" ${worksrcpath}/CMakeLists.txt
     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python36] && ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 description {Build the Python 3.8 bindings} conflicts python27 python36 python37 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append port:python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace "s|__MACPORTS_PYTHON_VERSION__|3.8|g" ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38]} {
</span>     configure.args-append \
         -DENABLE_PYTHON=OFF
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python36] && ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38]} {
</span>     # keep in sync with python PG
     default_variants +python37
 }
</pre><pre style='margin:0'>

</pre>