1 |
commit: 849fde5d64f865cfd1a308b7f5ea8ad21a4ae764 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 30 06:07:32 2017 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 30 06:07:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=849fde5d |
7 |
|
8 |
dev-python/graph-tool: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
11 |
|
12 |
dev-python/graph-tool/Manifest | 1 + |
13 |
dev-python/graph-tool/graph-tool-2.23.ebuild | 82 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 83 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest |
17 |
index 4286e501116..2eaac0310aa 100644 |
18 |
--- a/dev-python/graph-tool/Manifest |
19 |
+++ b/dev-python/graph-tool/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST graph-tool-2.19.tar.bz2 15147961 SHA256 eba1090f94b0434890beedaf0c100dd0fc77e41ebfe29b4725d76cadb82099af SHA512 dc0bd93ccf21bb6616035dbfe33b0d9406eb894791e615795d486dc8f9d9991a6b93cf835cf4e59197005c14faedf105f3384cccd42db544104840cf857b2a84 WHIRLPOOL 3a398c98487a1e29952fea4c3ff8671e5aaf3d4f9e8df26aae9f6a856e61c290954f4c662e48ae424cbe0b916833a8f3bc7a6eefe6c6c3a08540de58ed6b9de0 |
22 |
DIST graph-tool-2.22.tar.bz2 15100673 SHA256 57121b562763c79c138b3a385b8cddb59e7dec375c61e00ca7e9e96fd1a5e080 SHA512 e5ffb6913ba76c1b3dea597950b8d50edd55cb997bf8b02c105ffab314b4978ac861db0c57507e51598f731b6b8fa9f1251e21d5feb9eb89158bc4c1921dc51f WHIRLPOOL d4f2cf19ef885ad22837ba693e65ebe5f2fc379bcafe2d23eb42327d1aad49fb2a73b4b0eb24eb4cde3d6a77b9b6dc2c05dfd01aec83d53d5c3ebbdf1be82aae |
23 |
+DIST graph-tool-2.23.tar.bz2 14998733 SHA256 5278f7d7504c7d4de2b259a079f37c894d4ee11daa53ba6f5d646a13e4a4da34 SHA512 bd7e493806152d004ed8fcd5cd93f8a27200b0acacde07026ad6f83e8b9a0cdbdedfee79f5ff4c41de179ea3293a1d100571501e8791dad2ff608ecb424a9e36 WHIRLPOOL 0a623944245f190d9b535c0d514ba0023c006c91bb2affbf4038d23ffdf852cf5ba954a8b3ff5743cb97842f78007ae78063f95babe12814126dbfcffc24c846 |
24 |
|
25 |
diff --git a/dev-python/graph-tool/graph-tool-2.23.ebuild b/dev-python/graph-tool/graph-tool-2.23.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..cf9f4302985 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/graph-tool/graph-tool-2.23.ebuild |
30 |
@@ -0,0 +1,82 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
37 |
+ |
38 |
+inherit check-reqs python-r1 toolchain-funcs |
39 |
+ |
40 |
+if [[ ${PV} == *9999 ]]; then |
41 |
+ EGIT_REPO_URI="https://github.com/count0/graph-tool.git" |
42 |
+ inherit autotools git-r3 |
43 |
+else |
44 |
+ SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2" |
45 |
+ KEYWORDS="~amd64 ~x86" |
46 |
+fi |
47 |
+ |
48 |
+DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs" |
49 |
+HOMEPAGE="https://graph-tool.skewed.de/" |
50 |
+ |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+IUSE="+cairo openmp" |
54 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ ${PYTHON_DEPS} |
58 |
+ dev-libs/boost:=[context,python,${PYTHON_USEDEP}] |
59 |
+ dev-libs/expat |
60 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
61 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
62 |
+ >=sci-mathematics/cgal-4.9 |
63 |
+ cairo? ( |
64 |
+ dev-cpp/cairomm |
65 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+ dev-python/matplotlib[${PYTHON_USEDEP}]" |
68 |
+DEPEND="${RDEPEND} |
69 |
+ dev-cpp/sparsehash |
70 |
+ virtual/pkgconfig" |
71 |
+ |
72 |
+# bug 453544 |
73 |
+CHECKREQS_DISK_BUILD="6G" |
74 |
+ |
75 |
+pkg_pretend() { |
76 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
77 |
+ check-reqs_pkg_pretend |
78 |
+} |
79 |
+ |
80 |
+pkg_setup() { |
81 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
82 |
+} |
83 |
+ |
84 |
+src_prepare() { |
85 |
+ default |
86 |
+ [[ ${PV} == *9999 ]] && eautoreconf |
87 |
+ python_copy_sources |
88 |
+} |
89 |
+ |
90 |
+src_configure() { |
91 |
+ local threads |
92 |
+ has_version 'dev-libs/boost[threads]' && threads="-mt" |
93 |
+ |
94 |
+ configure() { |
95 |
+ econf \ |
96 |
+ --disable-static \ |
97 |
+ $(use_enable openmp) \ |
98 |
+ $(use_enable cairo) \ |
99 |
+ --with-boost-python="${EPYTHON: -3}${threads}" |
100 |
+ } |
101 |
+ python_foreach_impl run_in_build_dir configure |
102 |
+} |
103 |
+ |
104 |
+src_compile() { |
105 |
+ # most machines don't have enough ram for parallel builds |
106 |
+ python_foreach_impl run_in_build_dir emake -j1 |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ python_foreach_impl run_in_build_dir default |
111 |
+ find "${D}" -name '*.la' -delete || die |
112 |
+} |