diff options
author | Daniel Engberg <diizzy@FreeBSD.org> | 2023-08-30 05:29:19 +0200 |
---|---|---|
committer | Daniel Engberg <diizzy@FreeBSD.org> | 2023-08-30 21:18:32 +0200 |
commit | 5793cc4d68a34d1d90ecda4f35a5416e6c837579 (patch) | |
tree | d90ae86fce3778b97b8d22fbb7024e96e33ecb48 /math/py-igraph/files/patch-setup.py | |
parent | devel/jenkins: Update to 2.421 (diff) |
math/py-igraph: Update to 0.10.6
* Switch to DISTVERSION
* Always use Flex from ports
* Use available dependencies in tree instead of vendored
This is also consistent with math/igraph
Changelog:
https://github.com/igraph/python-igraph/releases/tag/0.10.6
PR: 273168
Reviewed by: lwhsu (maintainer)
Sponsored by: Blinkinblox
Diffstat (limited to '')
-rw-r--r-- | math/py-igraph/files/patch-setup.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/math/py-igraph/files/patch-setup.py b/math/py-igraph/files/patch-setup.py new file mode 100644 index 000000000000..c45c6da41642 --- /dev/null +++ b/math/py-igraph/files/patch-setup.py @@ -0,0 +1,24 @@ +--- setup.py.orig 2023-07-13 11:49:16 UTC ++++ setup.py +@@ -281,7 +281,7 @@ class IgraphCCoreCMakeBuilder: + + # Build the Python interface with vendored libraries + for deps in "ARPACK BLAS GLPK GMP LAPACK".split(): +- args.append("-DIGRAPH_USE_INTERNAL_" + deps + "=ON") ++ args.append("-DIGRAPH_USE_INTERNAL_" + deps + "=OFF") + + # -fPIC is needed on Linux so we can link to a static igraph lib from a + # Python shared library +@@ -289,6 +289,12 @@ class IgraphCCoreCMakeBuilder: + + # No need to build tests + args.append("-DBUILD_TESTING=OFF") ++ ++ # Always use flex from ports ++ args.append("-DFLEX_EXECUTABLE:FILEPATH=%%LOCALBASE%%/bin/flex") ++ ++ # Don't try to use git ++ args.append("-DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=True") + + # Do not treat compilation warnings as errors in case someone is trying + # to "pip install" igraph in an environment for which we don't provide |