<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/8e708d5e0ca881c8d911e1568e6382ab0f6c2175">https://github.com/macports/macports-ports/commit/8e708d5e0ca881c8d911e1568e6382ab0f6c2175</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8e708d5e0ca881c8d911e1568e6382ab0f6c2175
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Wed Jun 9 12:41:28 2021 -0400

<span style='display:block; white-space:pre;color:#404040;'>    py-graph-tool: Update to version 2.37, portgroup boost, bugfixes
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    * Update to version 2.37
</span><span style='display:block; white-space:pre;color:#404040;'>    * Use PG boost
</span><span style='display:block; white-space:pre;color:#404040;'>    * Fixes: https://trac.macports.org/ticket/61583
</span>---
 python/py-graph-tool/Portfile | 53 +++++++++++++++++++++++++------------------
 1 file changed, 31 insertions(+), 22 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-graph-tool/Portfile b/python/py-graph-tool/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 40b6181a5ad..628cc5e2689 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-graph-tool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-graph-tool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,39 +1,43 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; c-basic-offset: 4 -*-
 
 PortSystem          1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup           python 1.0
</span> PortGroup           active_variants 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           boost 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           python 1.0
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set realname        graph-tool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name                py-${realname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version             2.33
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name                py-graph-tool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             2.37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span> epoch               20190711
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories          python science
 platforms           darwin
 license             LGPL-3
 maintainers         nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description         Efficient python graph module
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description    graph-tool is an efficient python module for manipulation \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    and statistical analysis of graphs. The internal data \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    structures and most algorithms are implemented in C++ with \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    the Boost Graph Library.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description         ${python.rootname} is an efficient Python module for \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    manipulation and statistical analysis of graphs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description    {*}${description}. The internal data structures and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    most algorithms are implemented in C++ with the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    Boost Graph Library.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> homepage            https://graph-tool.skewed.de
 master_sites        https://downloads.skewed.de/graph-tool/
 use_bzip2           yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  5eecb61bacb6a26d211f9c3c43c2b3641cb9f9bf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  f07025160a8cb376551508c6d8aa5fd05a146c67c4706ea4635d2766aa5c9fcb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    15153528
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            ${realname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  93fb76ab7506d09847a2c8d03c2b56f635b18b22 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  df472a0debb683d2f58243945bb9fd525dfdac9ee0b1e9e70f054cff49235170 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    15164210
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+boost.version       1.71
</span> 
 python.versions     27 37 38 39
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version 27
</span> 
 if {${os.major} <= 12 && ${os.platform} eq "darwin"} {
     version         2.2.26
     revision        0
     master_sites    https://downloads.skewed.de/graph-tool/old/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    distname        ${realname}-${version}
</span>     checksums       md5     317b29de0d3ef715fdc9281e078cfb17 \
                     sha1    108be4cf6212eb6886f172ea03813187f73e4c3c \
                     rmd160  cd2e8506522821750d70a97b951254f0a133d218
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,12 +55,12 @@ if {${os.major} <= 12 && ${os.platform} eq "darwin"} {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    universal_variant  no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    universal_variant   no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     depends_build-append port:pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append port:boost \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                       port:cairomm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append port:cairomm \
</span>                        port:cgal5 \
                        port:expat \
                        path:bin/dot:graphviz \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,7 +68,8 @@ if {${name} ne ${subport}} {
</span>                        port:py${python.version}-scipy \
                        port:py${python.version}-gobject3 \
                        port:py${python.version}-cairo
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    use_configure      yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    use_configure   yes
</span>     # parallel build starts swapping with 8GB of RAM.
     #use_parallel_build no
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,6 +83,10 @@ if {${name} ne ${subport}} {
</span>                          PYTHON_CPPFLAGS=-I${python.include} \
                          "PYTHON_LDFLAGS=-L${python.libdir}/.. -lpython${python.branch}" \
                          "PYTHON_EXTRA_LDFLAGS=-L${python.libdir}/.. -lpython${python.branch}"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://trac.macports.org/ticket/61583#comment:8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    macosx_deployment_target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     # With python2.7 PYTHON_EXTRA_LIBS is determined to be
     # '-u _PyMac_Error Python.framework/Versions/2.7/Python'. Not clear whether
     # python2.7 or py-graph-tool's configure script is to blame, but we can easily
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,7 +101,7 @@ if {${name} ne ${subport}} {
</span>     configure.cppflags-append -I${prefix}/include -I${python.include}/..
     configure.ldflags-append -L${prefix}/lib
     configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        --with-boost=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        --with-boost=[boost::install_area] \
</span>         --exec-prefix=${python.prefix} \
         --with-expat=yes \
         --with-expat-inc=${prefix}/include \
</pre><pre style='margin:0'>

</pre>