<pre style='margin:0'>
Jeremy L (nerdling) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/70cda95987c3d391e42bd96742ffc066c7f99f5a">https://github.com/macports/macports-ports/commit/70cda95987c3d391e42bd96742ffc066c7f99f5a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 70cda95987c3d391e42bd96742ffc066c7f99f5a
</span>Author: Szabolcs Horvát <szhorvat@gmail.com>
AuthorDate: Wed Jan 29 18:48:58 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> igraph: update to version 0.8.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * update to version 0.8.0
</span><span style='display:block; white-space:pre;color:#404040;'> * add external_glpk variant and make it default
</span><span style='display:block; white-space:pre;color:#404040;'> * change to github PortGroup
</span><span style='display:block; white-space:pre;color:#404040;'> * remove indirect dependencies
</span><span style='display:block; white-space:pre;color:#404040;'> * adapt livecheck
</span><span style='display:block; white-space:pre;color:#404040;'> * add science category
</span><span style='display:block; white-space:pre;color:#404040;'> * update description
</span>---
math/igraph/Portfile | 43 ++++++++++++++++++++++++++-----------------
1 file changed, 26 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/igraph/Portfile b/math/igraph/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f4b9eb7..7942b8e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/igraph/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/igraph/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,32 +1,41 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name igraph
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.7.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup igraph igraph 0.8.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-categories math devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories math science devel
</span> license GPL-2+
maintainers {snc @nerdling} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description high performance graph library for C
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description high performance graph library, primarily aimed \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- at complex network research and analysis.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://igraph.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Network analysis and graph theory library for C.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description igraph is a C library for network analysis and graph theory, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with an emphasis on efficiency, portability and ease of use.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://igraph.org
</span>
platforms darwin
depends_lib port:gmp \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libiconv \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libxml2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxml2
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}/nightly/get/c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f3452b3fe12c23eacd1b7cf8b6dc7fc22c53fddc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d978030e27369bf698f3816ab70aa9141e9baf81c56cc4f55efbe5489b46b0df
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 0622c01766132fdacd4ee0a032b7efeeb9b869ca \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 72637335600cf4758fd718009b16d92489b58a2f5dd96d884740d20cd5769649 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3597881
</span>
test.run yes
test.target check
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}/c/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(\\d(\\.\\d+)+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# igraph 0.8.0 embeds GLPK 4.45. Currently GLPK is at version 4.65.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Some igraph functions perform better with this new GLPK version.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant external_glpk description {Build with external GLPK} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-external-glpk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:glpk
</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;'>+default_variants +external_glpk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# overload the github livecheck regex to look for versions that
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# are just numbers and '.', no letters (e.g., "0.8.0-pre").
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.livecheck.regex {([0-9.]+)}
</span></pre><pre style='margin:0'>
</pre>