-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graph-tool: add build patch Signed-off-by: Rui Chen <[email protected]>
- Loading branch information
1 parent
9ac5e2d
commit 214a245
Showing
1 changed file
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ class GraphTool < Formula | |
|
||
desc "Efficient network analysis for Python 3" | ||
homepage "https://graph-tool.skewed.de/" | ||
url "https://downloads.skewed.de/graph-tool/graph-tool-2.86.tar.bz2" | ||
sha256 "954029be1146474b704b5e366acd12d97a72c9bff80facffe8ebd3d5099b7b61" | ||
url "https://downloads.skewed.de/graph-tool/graph-tool-2.88.tar.bz2" | ||
sha256 "fe6af66e247fbc6d5628ba4c6e2b6fec8708b100df9b5eb1c79e62f13bab01dc" | ||
license "LGPL-3.0-or-later" | ||
|
||
livecheck do | ||
|
@@ -112,6 +112,8 @@ def python3 | |
"python3.13" | ||
end | ||
|
||
patch :DATA | ||
|
||
def install | ||
Check failure on line 117 in Formula/g/graph-tool.rb GitHub Actions / Linux`brew install --verbose --formula --build-bottle graph-tool` failed on Linux!
|
||
site_packages = Language::Python.site_packages(python3) | ||
xy = Language::Python.major_minor_version(python3) | ||
|
@@ -179,3 +181,27 @@ def caveats | |
refute_match "Graph drawing will not work", shell_output("#{python3} test.py 2>&1") | ||
end | ||
end | ||
|
||
__END__ | ||
diff --git a/src/boost-workaround/boost/container/vector_old.hpp b/src/boost-workaround/boost/container/vector_old.hpp | ||
index c4152c8..732a7ba 100644 | ||
--- a/src/boost-workaround/boost/container/vector_old.hpp | ||
+++ b/src/boost-workaround/boost/container/vector_old.hpp | ||
@@ -3170,6 +3170,8 @@ struct has_trivial_destructor_after_move<boost::container::vector<T, Allocator, | ||
//See comments on vec_iterator::element_type to know why is this needed | ||
#ifdef BOOST_GNU_STDLIB | ||
|
||
+#include <boost/move/detail/config_begin.hpp> | ||
+ | ||
BOOST_MOVE_STD_NS_BEG | ||
|
||
template <class Pointer, bool IsConst> | ||
@@ -3179,6 +3181,8 @@ struct pointer_traits< boost::container::vec_iterator<Pointer, IsConst> > | ||
|
||
BOOST_MOVE_STD_NS_END | ||
|
||
+#include <boost/move/detail/config_end.hpp> | ||
+ | ||
#endif //BOOST_GNU_STDLIB | ||
|
||
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED |