<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/43f7f361d7c7be8d2026db360901cf6602b14435">https://github.com/macports/macports-ports/commit/43f7f361d7c7be8d2026db360901cf6602b14435</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 43f7f361d7c7be8d2026db360901cf6602b14435
</span>Author: David Gilman <davidgilman1@gmail.com>
AuthorDate: Mon Nov 6 21:29:53 2023 -0500

<span style='display:block; white-space:pre;color:#404040;'>    getdb: remove obsolete python 3.6 and 3.7 variants
</span>---
 science/getdp/Portfile | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 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 f975edc8cea..8f26bdb1bb4 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;'>@@ -17,8 +17,8 @@ description             a general environment for the treatment of discrete prob
</span> long_description        \
     GetDP is a free finite element solver using mixed elements to discretize de Rham-type complexes in one, two and three dimensions.
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage                http://getdp.info
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites            http://getdp.info/src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage                https://getdp.info
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites            https://getdp.info/src
</span> 
 extract.suffix          .tgz
 distname                ${name}-${version}-source
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,40 +86,26 @@ 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 python38 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 description {Build the Python 2.7 bindings} conflicts 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 python38 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append port:python36
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        reinplace "s|__MACPORTS_PYTHON_VERSION__|3.6|g" ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 description {Build the Python 3.7 bindings} conflicts python27 python36 python38 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append port:python37
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        reinplace "s|__MACPORTS_PYTHON_VERSION__|3.7|g" ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 description {Build the Python 3.8 bindings} conflicts python27 python36 python37 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 description {Build the Python 3.8 bindings} conflicts python27 {
</span>     depends_lib-append port:python38
     post-patch {
         reinplace "s|__MACPORTS_PYTHON_VERSION__|3.8|g" ${worksrcpath}/CMakeLists.txt
     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python36] && ![variant_isset python37] && ![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![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] && ![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python38]} {
</span>     # keep in sync with python PG
     default_variants +python38
 }
</pre><pre style='margin:0'>

</pre>