Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/graph-tool/
Date: Fri, 28 Aug 2015 07:20:42
Message-Id: 1440746384.764dc522b401750a018768826105bc923b12820a.radhermit@gentoo
1 commit: 764dc522b401750a018768826105bc923b12820a
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 07:18:47 2015 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 07:19:44 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=764dc522
7
8 dev-python/graph-tool: remove old
9
10 dev-python/graph-tool/Manifest | 5 --
11 dev-python/graph-tool/graph-tool-2.2.36-r1.ebuild | 91 ----------------------
12 dev-python/graph-tool/graph-tool-2.2.36.ebuild | 85 ---------------------
13 dev-python/graph-tool/graph-tool-2.2.38.ebuild | 91 ----------------------
14 dev-python/graph-tool/graph-tool-2.2.40.ebuild | 92 -----------------------
15 dev-python/graph-tool/graph-tool-2.2.42.ebuild | 92 -----------------------
16 dev-python/graph-tool/graph-tool-2.2.43.ebuild | 92 -----------------------
17 7 files changed, 548 deletions(-)
18
19 diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest
20 index ac27f61..97d3610 100644
21 --- a/dev-python/graph-tool/Manifest
22 +++ b/dev-python/graph-tool/Manifest
23 @@ -1,6 +1 @@
24 -DIST graph-tool-2.2.36.tar.bz2 15050904 SHA256 e1e030306480393464501cbcf3f3c938c2105c95fd0d67a8fe8bb4296e0be872 SHA512 3867fed367b547f28147c3234cf391d5415e5cf4594bc495abab1e1f827ba89af44d9d2bc92ee604ed184ce48f1644076aa852a0035fa2f8cdb449157d6b32bc WHIRLPOOL 741091c5504234767ed2662f69307aeaffb344ec132f708b494288d03485ff1910a967b244c35f5e7b77bad0564b249fd7b80ddb39051928f9806310c4d7843e
25 -DIST graph-tool-2.2.38.tar.bz2 15050391 SHA256 7b4181184acb28e02e0c013858d69f42af4d7a6ed3327521f8eccc0be538012c SHA512 d6a4299dc0df4dbf1485656f9c2bdc3c00f37d342b313af4116f00bfbf31c7d425873aa98e4361115985b87695080fcac6cc97e7930e6903d50a9d61ccf81e60 WHIRLPOOL c03f82fe6b151361c4b6f6979117dd35e2fe4913caacc1e3ca0749c38a7e8a3c6034a7dbd676294a3e23926e2b42c7ead9ab38b19f5d37b278a773971d8e1fc1
26 -DIST graph-tool-2.2.40.tar.bz2 15058030 SHA256 5ccf2f174663c02d0d8548254d29dbc7f652655d13c1902dafc587c9a1c156e7 SHA512 db3bcbc49d724185d2da8c636c9c7f0aaae39fcae8ca6454bbad1c893dd77ea96eca5512f338d1f06f6ea4ef181f88a8095c5b40493d63b22174fb0fde8bfe83 WHIRLPOOL eeb8eaa1fae59de3d4d1c360a465bdb5e443823e3c0b703e7edee82c81992f443a8a744fd41c83516ea025de5b72c6bf89032d5a458bb112e2e3ea34393f9e74
27 -DIST graph-tool-2.2.42.tar.bz2 15058831 SHA256 e975c0836a06d07aff2d4c54472de710566f061a97e9775085a7aa5741ab9888 SHA512 921f5c81a34a3ad0a83c2bc7c2c90befe220bbdfcf5ea005fa43bc1cc45dd66660b73b792ba8826f7b536ba4d446f9aeaa8ca721fcc6b7c4686e369f7b27f936 WHIRLPOOL ef598ba8751a2975cca053f89e8abf78461344c790e1b99849a1ca209af0c05e2d913d5fbd3e105422fa90eea77a874403da597689f11f17e4b37a1781871be8
28 -DIST graph-tool-2.2.43.tar.bz2 15041980 SHA256 c0ef941dc611fad5800c64417543e751f9edaeb511460ba06a43263c5b0efbd6 SHA512 d535fbfa3ea1dd37eebf95d5f7f051a928906a1c2d6a7763b651504dc9e3e2a6843e77c5a9bb64a2718077c270ef23398c64646377d8b735a90c64b051fa0121 WHIRLPOOL 773c7d7db03d95da056133693a882f976d0984950242b9b631818711205a9e6ad699e7a6ee777d5da16dc01446bfbe28175456b3667bef3bb63e99ce6c323696
29 DIST graph-tool-2.2.44.tar.bz2 15044171 SHA256 42b97c24c155ddd95c79a16b4e3cb034cb3139e912c37aed66e6493e4ff20566 SHA512 312f3baf80a3c66d75f1ad458a2eb4b51300925beeac494e724e73589c06e93ce467a64da0cb26809b706cf69b398ab8ad1750d5e2b952f92b3bc00bd2e42467 WHIRLPOOL 79e04d4b4efb28bd99f45b64eb4297c408e35f1bdf78f6d756d52f44895cc9ae35f3c9c4450ca2a6f9232ebc0c4f57bc261495db7ec4ae2b542424a15777284d
30
31 diff --git a/dev-python/graph-tool/graph-tool-2.2.36-r1.ebuild b/dev-python/graph-tool/graph-tool-2.2.36-r1.ebuild
32 deleted file mode 100644
33 index bc0cfc0..0000000
34 --- a/dev-python/graph-tool/graph-tool-2.2.36-r1.ebuild
35 +++ /dev/null
36 @@ -1,91 +0,0 @@
37 -# Copyright 1999-2015 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -# $Id$
40 -
41 -EAPI=5
42 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
43 -
44 -inherit check-reqs toolchain-funcs python-r1
45 -
46 -if [[ ${PV} == "9999" ]] ; then
47 - EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
48 - inherit autotools git-r3
49 -else
50 - SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
51 - KEYWORDS="amd64 x86"
52 -fi
53 -
54 -DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
55 -HOMEPAGE="http://graph-tool.skewed.de/"
56 -
57 -LICENSE="GPL-3"
58 -SLOT="0"
59 -IUSE="+cairo openmp"
60 -
61 -CDEPEND="${PYTHON_DEPS}
62 - >=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}]
63 - dev-libs/expat
64 - dev-python/numpy[${PYTHON_USEDEP}]
65 - sci-libs/scipy[${PYTHON_USEDEP}]
66 - >=sci-mathematics/cgal-3.5
67 - cairo? (
68 - dev-cpp/cairomm
69 - dev-python/pycairo[${PYTHON_USEDEP}]
70 - )"
71 -RDEPEND="${CDEPEND}
72 - dev-python/matplotlib[${PYTHON_USEDEP}]"
73 -DEPEND="${CDEPEND}
74 - dev-cpp/sparsehash
75 - virtual/pkgconfig"
76 -
77 -# most machines don't have enough ram for parallel builds
78 -MAKEOPTS="${MAKEOPTS} -j1"
79 -
80 -# bug 453544
81 -CHECKREQS_DISK_BUILD="6G"
82 -
83 -pkg_pretend() {
84 - if use openmp ; then
85 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
86 - fi
87 - check-reqs_pkg_pretend
88 -}
89 -
90 -src_prepare() {
91 - [[ ${PV} == "9999" ]] && eautoreconf
92 - >py-compile
93 - python_copy_sources
94 -}
95 -
96 -src_configure() {
97 - local threads
98 - has_version dev-libs/boost[threads] && threads="-mt"
99 -
100 - configure() {
101 - econf \
102 - --disable-static \
103 - --disable-optimization \
104 - $(use_enable openmp) \
105 - $(use_enable cairo) \
106 - --with-boost-python="${EPYTHON: -3}${threads}"
107 - }
108 - python_foreach_impl run_in_build_dir configure
109 -}
110 -
111 -src_compile() {
112 - python_foreach_impl run_in_build_dir default
113 -}
114 -
115 -src_install() {
116 - python_foreach_impl run_in_build_dir default
117 - prune_libtool_files --modules
118 -
119 - # remove unwanted extra docs
120 - rm -r "${ED}"/usr/share/doc/${PN} || die
121 -}
122 -
123 -run_in_build_dir() {
124 - pushd "${BUILD_DIR}" > /dev/null
125 - "$@"
126 - popd > /dev/null
127 -}
128
129 diff --git a/dev-python/graph-tool/graph-tool-2.2.36.ebuild b/dev-python/graph-tool/graph-tool-2.2.36.ebuild
130 deleted file mode 100644
131 index a27de3c..0000000
132 --- a/dev-python/graph-tool/graph-tool-2.2.36.ebuild
133 +++ /dev/null
134 @@ -1,85 +0,0 @@
135 -# Copyright 1999-2015 Gentoo Foundation
136 -# Distributed under the terms of the GNU General Public License v2
137 -# $Id$
138 -
139 -EAPI=5
140 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
141 -
142 -inherit check-reqs toolchain-funcs python-r1
143 -
144 -if [[ ${PV} == "9999" ]] ; then
145 - EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
146 - inherit autotools git-r3
147 -else
148 - SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
149 - KEYWORDS="~amd64 ~x86"
150 -fi
151 -
152 -DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
153 -HOMEPAGE="http://graph-tool.skewed.de/"
154 -
155 -LICENSE="GPL-3"
156 -SLOT="0"
157 -IUSE="+cairo openmp"
158 -
159 -CDEPEND="${PYTHON_DEPS}
160 - >=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}]
161 - dev-libs/expat
162 - dev-python/numpy[${PYTHON_USEDEP}]
163 - sci-libs/scipy[${PYTHON_USEDEP}]
164 - >=sci-mathematics/cgal-3.5
165 - cairo? (
166 - dev-cpp/cairomm
167 - dev-python/pycairo[${PYTHON_USEDEP}]
168 - )"
169 -RDEPEND="${CDEPEND}
170 - dev-python/matplotlib[${PYTHON_USEDEP}]"
171 -DEPEND="${CDEPEND}
172 - dev-cpp/sparsehash
173 - virtual/pkgconfig"
174 -
175 -# most machines don't have enough ram for parallel builds
176 -MAKEOPTS="${MAKEOPTS} -j1"
177 -
178 -# bug 453544
179 -CHECKREQS_DISK_BUILD="6G"
180 -
181 -pkg_pretend() {
182 - if use openmp ; then
183 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
184 - fi
185 - check-reqs_pkg_pretend
186 -}
187 -
188 -src_prepare() {
189 - [[ ${PV} == "9999" ]] && eautoreconf
190 - >py-compile
191 - python_copy_sources
192 -}
193 -
194 -src_configure() {
195 - python_foreach_impl run_in_build_dir \
196 - econf \
197 - --disable-static \
198 - --disable-optimization \
199 - $(use_enable openmp) \
200 - $(use_enable cairo)
201 -}
202 -
203 -src_compile() {
204 - python_foreach_impl run_in_build_dir default
205 -}
206 -
207 -src_install() {
208 - python_foreach_impl run_in_build_dir default
209 - prune_libtool_files --modules
210 -
211 - # remove unwanted extra docs
212 - rm -r "${ED}"/usr/share/doc/${PN} || die
213 -}
214 -
215 -run_in_build_dir() {
216 - pushd "${BUILD_DIR}" > /dev/null
217 - "$@"
218 - popd > /dev/null
219 -}
220
221 diff --git a/dev-python/graph-tool/graph-tool-2.2.38.ebuild b/dev-python/graph-tool/graph-tool-2.2.38.ebuild
222 deleted file mode 100644
223 index 27251d5..0000000
224 --- a/dev-python/graph-tool/graph-tool-2.2.38.ebuild
225 +++ /dev/null
226 @@ -1,91 +0,0 @@
227 -# Copyright 1999-2015 Gentoo Foundation
228 -# Distributed under the terms of the GNU General Public License v2
229 -# $Id$
230 -
231 -EAPI=5
232 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
233 -
234 -inherit check-reqs toolchain-funcs python-r1
235 -
236 -if [[ ${PV} == "9999" ]] ; then
237 - EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
238 - inherit autotools git-r3
239 -else
240 - SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
241 - KEYWORDS="~amd64 ~x86"
242 -fi
243 -
244 -DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
245 -HOMEPAGE="http://graph-tool.skewed.de/"
246 -
247 -LICENSE="GPL-3"
248 -SLOT="0"
249 -IUSE="+cairo openmp"
250 -
251 -CDEPEND="${PYTHON_DEPS}
252 - >=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}]
253 - dev-libs/expat
254 - dev-python/numpy[${PYTHON_USEDEP}]
255 - sci-libs/scipy[${PYTHON_USEDEP}]
256 - >=sci-mathematics/cgal-3.5
257 - cairo? (
258 - dev-cpp/cairomm
259 - dev-python/pycairo[${PYTHON_USEDEP}]
260 - )"
261 -RDEPEND="${CDEPEND}
262 - dev-python/matplotlib[${PYTHON_USEDEP}]"
263 -DEPEND="${CDEPEND}
264 - dev-cpp/sparsehash
265 - virtual/pkgconfig"
266 -
267 -# most machines don't have enough ram for parallel builds
268 -MAKEOPTS="${MAKEOPTS} -j1"
269 -
270 -# bug 453544
271 -CHECKREQS_DISK_BUILD="6G"
272 -
273 -pkg_pretend() {
274 - if use openmp ; then
275 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
276 - fi
277 - check-reqs_pkg_pretend
278 -}
279 -
280 -src_prepare() {
281 - [[ ${PV} == "9999" ]] && eautoreconf
282 - >py-compile
283 - python_copy_sources
284 -}
285 -
286 -src_configure() {
287 - local threads
288 - has_version dev-libs/boost[threads] && threads="-mt"
289 -
290 - configure() {
291 - econf \
292 - --disable-static \
293 - --disable-optimization \
294 - $(use_enable openmp) \
295 - $(use_enable cairo) \
296 - --with-boost-python="${EPYTHON: -3}${threads}"
297 - }
298 - python_foreach_impl run_in_build_dir configure
299 -}
300 -
301 -src_compile() {
302 - python_foreach_impl run_in_build_dir default
303 -}
304 -
305 -src_install() {
306 - python_foreach_impl run_in_build_dir default
307 - prune_libtool_files --modules
308 -
309 - # remove unwanted extra docs
310 - rm -r "${ED}"/usr/share/doc/${PN} || die
311 -}
312 -
313 -run_in_build_dir() {
314 - pushd "${BUILD_DIR}" > /dev/null
315 - "$@"
316 - popd > /dev/null
317 -}
318
319 diff --git a/dev-python/graph-tool/graph-tool-2.2.40.ebuild b/dev-python/graph-tool/graph-tool-2.2.40.ebuild
320 deleted file mode 100644
321 index b9081c3..0000000
322 --- a/dev-python/graph-tool/graph-tool-2.2.40.ebuild
323 +++ /dev/null
324 @@ -1,92 +0,0 @@
325 -# Copyright 1999-2015 Gentoo Foundation
326 -# Distributed under the terms of the GNU General Public License v2
327 -# $Id$
328 -
329 -EAPI=5
330 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
331 -
332 -inherit check-reqs toolchain-funcs python-r1
333 -
334 -if [[ ${PV} == "9999" ]] ; then
335 - EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
336 - inherit autotools git-r3
337 -else
338 - SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
339 - KEYWORDS="~amd64 ~x86"
340 -fi
341 -
342 -DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
343 -HOMEPAGE="http://graph-tool.skewed.de/"
344 -
345 -LICENSE="GPL-3"
346 -SLOT="0"
347 -IUSE="+cairo openmp"
348 -
349 -# Bug #536734; configure sets boostlib 1.53.0 but 1.54.0 is required
350 -CDEPEND="${PYTHON_DEPS}
351 - >=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}]
352 - dev-libs/expat
353 - dev-python/numpy[${PYTHON_USEDEP}]
354 - sci-libs/scipy[${PYTHON_USEDEP}]
355 - >=sci-mathematics/cgal-3.5
356 - cairo? (
357 - dev-cpp/cairomm
358 - dev-python/pycairo[${PYTHON_USEDEP}]
359 - )"
360 -RDEPEND="${CDEPEND}
361 - dev-python/matplotlib[${PYTHON_USEDEP}]"
362 -DEPEND="${CDEPEND}
363 - dev-cpp/sparsehash
364 - virtual/pkgconfig"
365 -
366 -# most machines don't have enough ram for parallel builds
367 -MAKEOPTS="${MAKEOPTS} -j1"
368 -
369 -# bug 453544
370 -CHECKREQS_DISK_BUILD="6G"
371 -
372 -pkg_pretend() {
373 - if use openmp ; then
374 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
375 - fi
376 - check-reqs_pkg_pretend
377 -}
378 -
379 -src_prepare() {
380 - [[ ${PV} == "9999" ]] && eautoreconf
381 - >py-compile
382 - python_copy_sources
383 -}
384 -
385 -src_configure() {
386 - local threads
387 - has_version dev-libs/boost[threads] && threads="-mt"
388 -
389 - configure() {
390 - econf \
391 - --disable-static \
392 - --disable-optimization \
393 - $(use_enable openmp) \
394 - $(use_enable cairo) \
395 - --with-boost-python="${EPYTHON: -3}${threads}"
396 - }
397 - python_foreach_impl run_in_build_dir configure
398 -}
399 -
400 -src_compile() {
401 - python_foreach_impl run_in_build_dir default
402 -}
403 -
404 -src_install() {
405 - python_foreach_impl run_in_build_dir default
406 - prune_libtool_files --modules
407 -
408 - # remove unwanted extra docs
409 - rm -r "${ED}"/usr/share/doc/${PN} || die
410 -}
411 -
412 -run_in_build_dir() {
413 - pushd "${BUILD_DIR}" > /dev/null
414 - "$@"
415 - popd > /dev/null
416 -}
417
418 diff --git a/dev-python/graph-tool/graph-tool-2.2.42.ebuild b/dev-python/graph-tool/graph-tool-2.2.42.ebuild
419 deleted file mode 100644
420 index b9081c3..0000000
421 --- a/dev-python/graph-tool/graph-tool-2.2.42.ebuild
422 +++ /dev/null
423 @@ -1,92 +0,0 @@
424 -# Copyright 1999-2015 Gentoo Foundation
425 -# Distributed under the terms of the GNU General Public License v2
426 -# $Id$
427 -
428 -EAPI=5
429 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
430 -
431 -inherit check-reqs toolchain-funcs python-r1
432 -
433 -if [[ ${PV} == "9999" ]] ; then
434 - EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
435 - inherit autotools git-r3
436 -else
437 - SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
438 - KEYWORDS="~amd64 ~x86"
439 -fi
440 -
441 -DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
442 -HOMEPAGE="http://graph-tool.skewed.de/"
443 -
444 -LICENSE="GPL-3"
445 -SLOT="0"
446 -IUSE="+cairo openmp"
447 -
448 -# Bug #536734; configure sets boostlib 1.53.0 but 1.54.0 is required
449 -CDEPEND="${PYTHON_DEPS}
450 - >=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}]
451 - dev-libs/expat
452 - dev-python/numpy[${PYTHON_USEDEP}]
453 - sci-libs/scipy[${PYTHON_USEDEP}]
454 - >=sci-mathematics/cgal-3.5
455 - cairo? (
456 - dev-cpp/cairomm
457 - dev-python/pycairo[${PYTHON_USEDEP}]
458 - )"
459 -RDEPEND="${CDEPEND}
460 - dev-python/matplotlib[${PYTHON_USEDEP}]"
461 -DEPEND="${CDEPEND}
462 - dev-cpp/sparsehash
463 - virtual/pkgconfig"
464 -
465 -# most machines don't have enough ram for parallel builds
466 -MAKEOPTS="${MAKEOPTS} -j1"
467 -
468 -# bug 453544
469 -CHECKREQS_DISK_BUILD="6G"
470 -
471 -pkg_pretend() {
472 - if use openmp ; then
473 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
474 - fi
475 - check-reqs_pkg_pretend
476 -}
477 -
478 -src_prepare() {
479 - [[ ${PV} == "9999" ]] && eautoreconf
480 - >py-compile
481 - python_copy_sources
482 -}
483 -
484 -src_configure() {
485 - local threads
486 - has_version dev-libs/boost[threads] && threads="-mt"
487 -
488 - configure() {
489 - econf \
490 - --disable-static \
491 - --disable-optimization \
492 - $(use_enable openmp) \
493 - $(use_enable cairo) \
494 - --with-boost-python="${EPYTHON: -3}${threads}"
495 - }
496 - python_foreach_impl run_in_build_dir configure
497 -}
498 -
499 -src_compile() {
500 - python_foreach_impl run_in_build_dir default
501 -}
502 -
503 -src_install() {
504 - python_foreach_impl run_in_build_dir default
505 - prune_libtool_files --modules
506 -
507 - # remove unwanted extra docs
508 - rm -r "${ED}"/usr/share/doc/${PN} || die
509 -}
510 -
511 -run_in_build_dir() {
512 - pushd "${BUILD_DIR}" > /dev/null
513 - "$@"
514 - popd > /dev/null
515 -}
516
517 diff --git a/dev-python/graph-tool/graph-tool-2.2.43.ebuild b/dev-python/graph-tool/graph-tool-2.2.43.ebuild
518 deleted file mode 100644
519 index b9081c3..0000000
520 --- a/dev-python/graph-tool/graph-tool-2.2.43.ebuild
521 +++ /dev/null
522 @@ -1,92 +0,0 @@
523 -# Copyright 1999-2015 Gentoo Foundation
524 -# Distributed under the terms of the GNU General Public License v2
525 -# $Id$
526 -
527 -EAPI=5
528 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
529 -
530 -inherit check-reqs toolchain-funcs python-r1
531 -
532 -if [[ ${PV} == "9999" ]] ; then
533 - EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
534 - inherit autotools git-r3
535 -else
536 - SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
537 - KEYWORDS="~amd64 ~x86"
538 -fi
539 -
540 -DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
541 -HOMEPAGE="http://graph-tool.skewed.de/"
542 -
543 -LICENSE="GPL-3"
544 -SLOT="0"
545 -IUSE="+cairo openmp"
546 -
547 -# Bug #536734; configure sets boostlib 1.53.0 but 1.54.0 is required
548 -CDEPEND="${PYTHON_DEPS}
549 - >=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}]
550 - dev-libs/expat
551 - dev-python/numpy[${PYTHON_USEDEP}]
552 - sci-libs/scipy[${PYTHON_USEDEP}]
553 - >=sci-mathematics/cgal-3.5
554 - cairo? (
555 - dev-cpp/cairomm
556 - dev-python/pycairo[${PYTHON_USEDEP}]
557 - )"
558 -RDEPEND="${CDEPEND}
559 - dev-python/matplotlib[${PYTHON_USEDEP}]"
560 -DEPEND="${CDEPEND}
561 - dev-cpp/sparsehash
562 - virtual/pkgconfig"
563 -
564 -# most machines don't have enough ram for parallel builds
565 -MAKEOPTS="${MAKEOPTS} -j1"
566 -
567 -# bug 453544
568 -CHECKREQS_DISK_BUILD="6G"
569 -
570 -pkg_pretend() {
571 - if use openmp ; then
572 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
573 - fi
574 - check-reqs_pkg_pretend
575 -}
576 -
577 -src_prepare() {
578 - [[ ${PV} == "9999" ]] && eautoreconf
579 - >py-compile
580 - python_copy_sources
581 -}
582 -
583 -src_configure() {
584 - local threads
585 - has_version dev-libs/boost[threads] && threads="-mt"
586 -
587 - configure() {
588 - econf \
589 - --disable-static \
590 - --disable-optimization \
591 - $(use_enable openmp) \
592 - $(use_enable cairo) \
593 - --with-boost-python="${EPYTHON: -3}${threads}"
594 - }
595 - python_foreach_impl run_in_build_dir configure
596 -}
597 -
598 -src_compile() {
599 - python_foreach_impl run_in_build_dir default
600 -}
601 -
602 -src_install() {
603 - python_foreach_impl run_in_build_dir default
604 - prune_libtool_files --modules
605 -
606 - # remove unwanted extra docs
607 - rm -r "${ED}"/usr/share/doc/${PN} || die
608 -}
609 -
610 -run_in_build_dir() {
611 - pushd "${BUILD_DIR}" > /dev/null
612 - "$@"
613 - popd > /dev/null
614 -}