Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/graph-tool: ChangeLog graph-tool-2.2.31.ebuild
Date: Tue, 01 Apr 2014 07:41:48
Message-Id: 20140401074141.4F04B2005E@flycatcher.gentoo.org
1 radhermit 14/04/01 07:41:41
2
3 Modified: ChangeLog
4 Added: graph-tool-2.2.31.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.13 dev-python/graph-tool/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 11 Feb 2014 05:59:59 -0000 1.12
24 +++ ChangeLog 1 Apr 2014 07:41:41 -0000 1.13
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/graph-tool
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v 1.12 2014/02/11 05:59:59 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v 1.13 2014/04/01 07:41:41 radhermit Exp $
30 +
31 +*graph-tool-2.2.31 (01 Apr 2014)
32 +
33 + 01 Apr 2014; Tim Harder <radhermit@g.o> +graph-tool-2.2.31.ebuild:
34 + Version bump.
35
36 *graph-tool-2.2.29.1 (11 Feb 2014)
37
38
39
40
41 1.1 dev-python/graph-tool/graph-tool-2.2.31.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.31.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.31.ebuild?rev=1.1&content-type=text/plain
45
46 Index: graph-tool-2.2.31.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.31.ebuild,v 1.1 2014/04/01 07:41:41 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_7,3_2,3_3} )
54
55 inherit check-reqs eutils toolchain-funcs python-r1
56
57 if [[ ${PV} == "9999" ]] ; then
58 EGIT_REPO_URI="git://git.skewed.de/graph-tool"
59 inherit git-2
60 else
61 SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
62 KEYWORDS="~amd64 ~x86"
63 fi
64
65 DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
66 HOMEPAGE="http://graph-tool.skewed.de/"
67
68 LICENSE="GPL-3"
69 SLOT="0"
70 IUSE="+cairo openmp"
71
72 CDEPEND="${PYTHON_DEPS}
73 >=dev-libs/boost-1.46.0[python,${PYTHON_USEDEP}]
74 dev-libs/expat
75 dev-python/numpy[${PYTHON_USEDEP}]
76 sci-libs/scipy[${PYTHON_USEDEP}]
77 >=sci-mathematics/cgal-3.5
78 cairo? (
79 dev-cpp/cairomm
80 dev-python/pycairo[${PYTHON_USEDEP}]
81 )"
82 RDEPEND="${CDEPEND}
83 dev-python/matplotlib[${PYTHON_USEDEP}]"
84 DEPEND="${CDEPEND}
85 dev-cpp/sparsehash
86 virtual/pkgconfig"
87
88 # most machines don't have enough ram for parallel builds
89 MAKEOPTS="${MAKEOPTS} -j1"
90
91 # bug 453544
92 CHECKREQS_DISK_BUILD="6G"
93
94 pkg_pretend() {
95 if use openmp ; then
96 tc-has-openmp || die "Please switch to an openmp compatible compiler"
97 fi
98 check-reqs_pkg_pretend
99 }
100
101 src_prepare() {
102 >py-compile
103 python_copy_sources
104 }
105
106 src_configure() {
107 python_parallel_foreach_impl run_in_build_dir \
108 econf \
109 --disable-static \
110 --disable-optimization \
111 $(use_enable openmp) \
112 $(use_enable cairo)
113 }
114
115 src_compile() {
116 python_parallel_foreach_impl run_in_build_dir default
117 }
118
119 src_install() {
120 python_parallel_foreach_impl run_in_build_dir default
121 prune_libtool_files --modules
122
123 # remove unwanted extra docs
124 rm -r "${ED}"/usr/share/doc/${PN} || die
125 }
126
127 run_in_build_dir() {
128 pushd "${BUILD_DIR}" > /dev/null
129 "$@"
130 popd > /dev/null
131 }