1 |
commit: bbd22a984d692bd50e9070a12379b3e6ab0c9922 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 4 14:03:59 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 4 14:03:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd22a98 |
7 |
|
8 |
dev-python/graph-tool: sync live ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
dev-python/graph-tool/graph-tool-9999.ebuild | 18 +++++++++--------- |
14 |
1 file changed, 9 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/graph-tool/graph-tool-9999.ebuild b/dev-python/graph-tool/graph-tool-9999.ebuild |
17 |
index 7f89339ef83..cf2e5589ad5 100644 |
18 |
--- a/dev-python/graph-tool/graph-tool-9999.ebuild |
19 |
+++ b/dev-python/graph-tool/graph-tool-9999.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( python3_{7..9} ) |
25 |
+PYTHON_COMPAT=( python3_{8..10} ) |
26 |
|
27 |
inherit check-reqs python-r1 toolchain-funcs |
28 |
|
29 |
@@ -26,15 +26,15 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
30 |
RDEPEND=" |
31 |
${PYTHON_DEPS} |
32 |
>=dev-libs/boost-1.70:=[context,python,${PYTHON_USEDEP}] |
33 |
- dev-libs/expat:= |
34 |
+ dev-libs/expat |
35 |
dev-python/numpy[${PYTHON_USEDEP}] |
36 |
dev-python/scipy[${PYTHON_USEDEP}] |
37 |
sci-mathematics/cgal:= |
38 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
39 |
cairo? ( |
40 |
dev-cpp/cairomm:0 |
41 |
dev-python/pycairo[${PYTHON_USEDEP}] |
42 |
- ) |
43 |
- dev-python/matplotlib[${PYTHON_USEDEP}]" |
44 |
+ )" |
45 |
DEPEND="${RDEPEND} |
46 |
dev-cpp/sparsehash" |
47 |
BDEPEND="virtual/pkgconfig" |
48 |
@@ -58,27 +58,27 @@ src_prepare() { |
49 |
} |
50 |
|
51 |
src_configure() { |
52 |
- configure() { |
53 |
+ my_configure() { |
54 |
econf \ |
55 |
--disable-static \ |
56 |
$(use_enable openmp) \ |
57 |
$(use_enable cairo) \ |
58 |
--with-boost-python="boost_${EPYTHON/./}" |
59 |
} |
60 |
- python_foreach_impl run_in_build_dir configure |
61 |
+ python_foreach_impl run_in_build_dir my_configure |
62 |
} |
63 |
|
64 |
src_compile() { |
65 |
# most machines don't have enough ram for parallel builds |
66 |
- python_foreach_impl run_in_build_dir default |
67 |
+ python_foreach_impl run_in_build_dir emake -j2 |
68 |
} |
69 |
|
70 |
src_install() { |
71 |
- python_install() { |
72 |
+ my_python_install() { |
73 |
default |
74 |
python_optimize |
75 |
} |
76 |
- python_foreach_impl run_in_build_dir python_install |
77 |
+ python_foreach_impl run_in_build_dir my_python_install |
78 |
|
79 |
find "${ED}" -name '*.la' -delete || die |
80 |
} |