Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/graph-tool/
Date: Sat, 05 Nov 2016 22:39:26
Message-Id: 1478385548.0fc2d6d895e5706ac6cdbc4d585dbffc6bd9edad.monsieurp@gentoo
1 commit: 0fc2d6d895e5706ac6cdbc4d585dbffc6bd9edad
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 5 22:39:08 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 5 22:39:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc2d6d8
7
8 dev-python/graph-tool: clean up old.
9
10 Package-Manager: portage-2.3.0
11
12 dev-python/graph-tool/Manifest | 1 -
13 dev-python/graph-tool/graph-tool-2.16.ebuild | 90 ----------------------------
14 2 files changed, 91 deletions(-)
15
16 diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest
17 index a2e253e..97d3610 100644
18 --- a/dev-python/graph-tool/Manifest
19 +++ b/dev-python/graph-tool/Manifest
20 @@ -1,2 +1 @@
21 -DIST graph-tool-2.16.tar.bz2 15116613 SHA256 3784d4a15b6b5d0e6dab5e3941d24c1e3fee509f7abf9008f64fef2760bd610d SHA512 336dddcd7a3faf56eff06a902f4cf5ac462bc4fd807566c473675eed665dba720e0b275b9233f73e657976e7ebdda75804eaa81ebf617dcde1beb299f45138e2 WHIRLPOOL 74b0ebc84c9a16b61182f296f93e366d09708fe0746c35a961173cfda259083ade97da2ecedbef4b9c19494aab621597c1f7863501d6a0e59c026aa197d39cb1
22 DIST graph-tool-2.2.44.tar.bz2 15044171 SHA256 42b97c24c155ddd95c79a16b4e3cb034cb3139e912c37aed66e6493e4ff20566 SHA512 312f3baf80a3c66d75f1ad458a2eb4b51300925beeac494e724e73589c06e93ce467a64da0cb26809b706cf69b398ab8ad1750d5e2b952f92b3bc00bd2e42467 WHIRLPOOL 79e04d4b4efb28bd99f45b64eb4297c408e35f1bdf78f6d756d52f44895cc9ae35f3c9c4450ca2a6f9232ebc0c4f57bc261495db7ec4ae2b542424a15777284d
23
24 diff --git a/dev-python/graph-tool/graph-tool-2.16.ebuild b/dev-python/graph-tool/graph-tool-2.16.ebuild
25 deleted file mode 100644
26 index cee02ef..00000000
27 --- a/dev-python/graph-tool/graph-tool-2.16.ebuild
28 +++ /dev/null
29 @@ -1,90 +0,0 @@
30 -# Copyright 1999-2016 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
37 -
38 -inherit check-reqs toolchain-funcs python-r1
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="http://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="http://graph-tool.skewed.de/"
50 -
51 -LICENSE="GPL-3"
52 -SLOT="0"
53 -IUSE="+cairo openmp"
54 -
55 -# Bug #536734; configure sets boostlib 1.53.0 but 1.54.0 is required
56 -RDEPEND="${PYTHON_DEPS}
57 - >=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}]
58 - dev-libs/expat
59 - dev-python/numpy[${PYTHON_USEDEP}]
60 - sci-libs/scipy[${PYTHON_USEDEP}]
61 - >=sci-mathematics/cgal-3.5
62 - cairo? (
63 - dev-cpp/cairomm
64 - dev-python/pycairo[${PYTHON_USEDEP}]
65 - )
66 - dev-python/matplotlib[${PYTHON_USEDEP}]"
67 -DEPEND="${RDEPEND}
68 - dev-cpp/sparsehash
69 - virtual/pkgconfig"
70 -
71 -# most machines don't have enough ram for parallel builds
72 -MAKEOPTS="${MAKEOPTS} -j1"
73 -
74 -# bug 453544
75 -CHECKREQS_DISK_BUILD="6G"
76 -
77 -pkg_pretend() {
78 - if use openmp ; then
79 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
80 - fi
81 - check-reqs_pkg_pretend
82 -}
83 -
84 -src_prepare() {
85 - default
86 - [[ ${PV} == "9999" ]] && eautoreconf
87 - >py-compile
88 - python_copy_sources
89 -}
90 -
91 -src_configure() {
92 - local threads
93 - has_version dev-libs/boost[threads] && threads="-mt"
94 -
95 - configure() {
96 - econf \
97 - --disable-static \
98 - --disable-optimization \
99 - $(use_enable openmp) \
100 - $(use_enable cairo) \
101 - --with-boost-python="${EPYTHON: -3}${threads}"
102 - }
103 - python_foreach_impl run_in_build_dir configure
104 -}
105 -
106 -src_compile() {
107 - python_foreach_impl run_in_build_dir default
108 -}
109 -
110 -src_install() {
111 - python_foreach_impl run_in_build_dir default
112 - prune_libtool_files --modules
113 -}
114 -
115 -run_in_build_dir() {
116 - pushd "${BUILD_DIR}" > /dev/null
117 - "$@"
118 - popd > /dev/null
119 -}