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.29.ebuild
Date: Wed, 05 Feb 2014 19:51:38
Message-Id: 20140205195133.14B012004C@flycatcher.gentoo.org
1 radhermit 14/02/05 19:51:32
2
3 Modified: ChangeLog
4 Added: graph-tool-2.2.29.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.10 dev-python/graph-tool/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 5 Feb 2014 18:41:16 -0000 1.9
24 +++ ChangeLog 5 Feb 2014 19:51:32 -0000 1.10
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.9 2014/02/05 18:41:16 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v 1.10 2014/02/05 19:51:32 radhermit Exp $
30 +
31 +*graph-tool-2.2.29 (05 Feb 2014)
32 +
33 + 05 Feb 2014; Tim Harder <radhermit@g.o> +graph-tool-2.2.29.ebuild:
34 + Version bump.
35
36 *graph-tool-2.2.28 (05 Feb 2014)
37
38
39
40
41 1.1 dev-python/graph-tool/graph-tool-2.2.29.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.29.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.29.ebuild?rev=1.1&content-type=text/plain
45
46 Index: graph-tool-2.2.29.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.29.ebuild,v 1.1 2014/02/05 19:51:32 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 }