<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4e2fff7951b4d56ce08c85486967ec0db5ab0db7">https://github.com/macports/macports-ports/commit/4e2fff7951b4d56ce08c85486967ec0db5ab0db7</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 4e2fff7951b py-igraph: update to 0.9.1
</span>4e2fff7951b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4e2fff7951b4d56ce08c85486967ec0db5ab0db7
</span>Author: Szabolcs Horvát <szhorvat@gmail.com>
AuthorDate: Fri Mar 26 14:46:42 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-igraph: update to 0.9.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * update to 0.9.1
</span><span style='display:block; white-space:pre;color:#404040;'> * add test dependencies
</span><span style='display:block; white-space:pre;color:#404040;'> * only use LTO when available
</span><span style='display:block; white-space:pre;color:#404040;'> * remove obsolete patches
</span><span style='display:block; white-space:pre;color:#404040;'> * bison and flex build-time dependencies are no longer needed
</span>---
python/py-igraph/Portfile | 28 ++++++++++++------------
python/py-igraph/files/patch-cmake-args-fix.diff | 26 ----------------------
2 files changed, 14 insertions(+), 40 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-igraph/Portfile b/python/py-igraph/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4d4408143ad..ebc75652c9e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-igraph/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-igraph/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,8 @@ PortGroup python 1.0
</span>
name py-igraph
python.rootname python-igraph
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.9.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.9.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories-append math science
platforms darwin
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,11 +23,13 @@ long_description Python interface to the igraph library for network analysis
</span>
homepage https://igraph.org/python/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 65a9ec40c2ea67786aba9fe79844e061425bbdac \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7aa1d77fa02e27475eb4f14503f3cb342c3ed8990d9224640fd29c70797f2dd6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3366754
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 d5916c79e7495fb43bcfc7bbdc71f982d0ff2312 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f1895a83c57180f03c50fb77334a4d5029327aefee14f03381e10d34a1794410 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3572314
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:py${python.version}-texttable \
port:arpack \
port:glpk \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,20 +37,18 @@ if {${name} ne ${subport}} {
</span> port:SuiteSparse_CXSparse
depends_build-append port:py${python.version}-setuptools \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:bin/cmake:cmake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:bison \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:flex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-cmake-args-fix.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/cmake:cmake
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|-Werror |-Werror -Wno-unused-function |g" ${worksrcpath}/vendor/source/igraph/etc/cmake/compilers.cmake
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # python-igraph optionally makes use of these, and some tests depend on them.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If they are not installed, the corresponding tests will simply be skipped.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append port:py${python.version}-numpy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-scipy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-pandas
</span>
set extra_cmake_args {
-DUSE_CCACHE=OFF
-DBUILD_SHARED_LIBS=OFF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DIGRAPH_ENABLE_LTO=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DIGRAPH_ENABLE_LTO=AUTO
</span> -DIGRAPH_GLPK_SUPPORT=ON
-DIGRAPH_GRAPHML_SUPPORT=ON
-DIGRAPH_USE_INTERNAL_ARPACK=OFF
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-igraph/files/patch-cmake-args-fix.diff b/python/py-igraph/files/patch-cmake-args-fix.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 322acb924ea..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-igraph/files/patch-cmake-args-fix.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,26 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.orig.py 2021-02-25 20:12:21.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py 2021-03-07 09:49:56.000000000 +0100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -243,18 +243,18 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- print("Configuring build...")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- args = [cmake]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # Add any extra CMake args from environment variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if "IGRAPH_CMAKE_EXTRA_ARGS" in os.environ:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- args.extend(shlex.split(os.environ["IGRAPH_CMAKE_EXTRA_ARGS"]))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Build the Python interface with vendored libraries
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for deps in "ARPACK BLAS CXSPARSE GLPK LAPACK".split():
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for deps in "ARPACK BLAS CXSPARSE GLPK GMP LAPACK".split():
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- args.append("-DIGRAPH_USE_INTERNAL_" + deps + "=ON")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # -fPIC is needed on Linux so we can link to a static igraph lib from a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Python shared library
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- args.append("-DCMAKE_POSITION_INDEPENDENT_CODE=ON")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # Add any extra CMake args from environment variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if "IGRAPH_CMAKE_EXTRA_ARGS" in os.environ:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ args.extend(shlex.split(os.environ["IGRAPH_CMAKE_EXTRA_ARGS"]))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Finally, add the source folder path
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- args.append(str(build_to_source_folder))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>