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: graph-tool-9999.ebuild ChangeLog graph-tool-2.2.28.ebuild
Date: Wed, 05 Feb 2014 18:41:19
Message-Id: 20140205184116.7185A2004C@flycatcher.gentoo.org
1 radhermit 14/02/05 18:41:16
2
3 Modified: graph-tool-9999.ebuild ChangeLog
4 Added: graph-tool-2.2.28.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.6 dev-python/graph-tool/graph-tool-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-9999.ebuild?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-9999.ebuild?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-9999.ebuild?r1=1.5&r2=1.6
16
17 Index: graph-tool-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/graph-tool/graph-tool-9999.ebuild,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- graph-tool-9999.ebuild 4 Jun 2013 21:13:27 -0000 1.5
24 +++ graph-tool-9999.ebuild 5 Feb 2014 18:41:16 -0000 1.6
25 @@ -1,10 +1,9 @@
26 -# Copyright 1999-2013 Gentoo Foundation
27 +# Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/graph-tool-9999.ebuild,v 1.5 2013/06/04 21:13:27 radhermit Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/graph-tool-9999.ebuild,v 1.6 2014/02/05 18:41:16 radhermit Exp $
31
32 EAPI=5
33 -# python3 missing from graphviz
34 -PYTHON_COMPAT=( python2_7 )
35 +PYTHON_COMPAT=( python{2_7,3_2,3_3} )
36
37 inherit check-reqs eutils toolchain-funcs python-r1
38
39 @@ -23,18 +22,18 @@
40 SLOT="0"
41 IUSE="+cairo openmp"
42
43 -CDEPEND=">=dev-libs/boost-1.46.0[python,${PYTHON_USEDEP}]
44 +CDEPEND="${PYTHON_DEPS}
45 + >=dev-libs/boost-1.46.0[python,${PYTHON_USEDEP}]
46 dev-libs/expat
47 dev-python/numpy[${PYTHON_USEDEP}]
48 sci-libs/scipy[${PYTHON_USEDEP}]
49 - sci-mathematics/cgal
50 + >=sci-mathematics/cgal-3.5
51 cairo? (
52 dev-cpp/cairomm
53 dev-python/pycairo[${PYTHON_USEDEP}]
54 )"
55 RDEPEND="${CDEPEND}
56 - dev-python/matplotlib[${PYTHON_USEDEP}]
57 - media-gfx/graphviz[python,${PYTHON_USEDEP}]"
58 + dev-python/matplotlib[${PYTHON_USEDEP}]"
59 DEPEND="${CDEPEND}
60 dev-cpp/sparsehash
61 virtual/pkgconfig"
62
63
64
65 1.9 dev-python/graph-tool/ChangeLog
66
67 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?rev=1.9&view=markup
68 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?rev=1.9&content-type=text/plain
69 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/ChangeLog?r1=1.8&r2=1.9
70
71 Index: ChangeLog
72 ===================================================================
73 RCS file: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v
74 retrieving revision 1.8
75 retrieving revision 1.9
76 diff -u -r1.8 -r1.9
77 --- ChangeLog 4 Jun 2013 21:13:27 -0000 1.8
78 +++ ChangeLog 5 Feb 2014 18:41:16 -0000 1.9
79 @@ -1,6 +1,12 @@
80 # ChangeLog for dev-python/graph-tool
81 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
82 -# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v 1.8 2013/06/04 21:13:27 radhermit Exp $
83 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
84 +# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v 1.9 2014/02/05 18:41:16 radhermit Exp $
85 +
86 +*graph-tool-2.2.28 (05 Feb 2014)
87 +
88 + 05 Feb 2014; Tim Harder <radhermit@g.o> +graph-tool-2.2.28.ebuild,
89 + graph-tool-9999.ebuild:
90 + Version bump.
91
92 *graph-tool-2.2.24 (04 Jun 2013)
93
94
95
96
97 1.1 dev-python/graph-tool/graph-tool-2.2.28.ebuild
98
99 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.28.ebuild?rev=1.1&view=markup
100 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.28.ebuild?rev=1.1&content-type=text/plain
101
102 Index: graph-tool-2.2.28.ebuild
103 ===================================================================
104 # Copyright 1999-2014 Gentoo Foundation
105 # Distributed under the terms of the GNU General Public License v2
106 # $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.28.ebuild,v 1.1 2014/02/05 18:41:16 radhermit Exp $
107
108 EAPI=5
109 PYTHON_COMPAT=( python{2_7,3_2,3_3} )
110
111 inherit check-reqs eutils toolchain-funcs python-r1
112
113 if [[ ${PV} == "9999" ]] ; then
114 EGIT_REPO_URI="git://git.skewed.de/graph-tool"
115 inherit git-2
116 else
117 SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
118 KEYWORDS="~amd64 ~x86"
119 fi
120
121 DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
122 HOMEPAGE="http://graph-tool.skewed.de/"
123
124 LICENSE="GPL-3"
125 SLOT="0"
126 IUSE="+cairo openmp"
127
128 CDEPEND="${PYTHON_DEPS}
129 >=dev-libs/boost-1.46.0[python,${PYTHON_USEDEP}]
130 dev-libs/expat
131 dev-python/numpy[${PYTHON_USEDEP}]
132 sci-libs/scipy[${PYTHON_USEDEP}]
133 >=sci-mathematics/cgal-3.5
134 cairo? (
135 dev-cpp/cairomm
136 dev-python/pycairo[${PYTHON_USEDEP}]
137 )"
138 RDEPEND="${CDEPEND}
139 dev-python/matplotlib[${PYTHON_USEDEP}]"
140 DEPEND="${CDEPEND}
141 dev-cpp/sparsehash
142 virtual/pkgconfig"
143
144 # most machines don't have enough ram for parallel builds
145 MAKEOPTS="${MAKEOPTS} -j1"
146
147 # bug 453544
148 CHECKREQS_DISK_BUILD="6G"
149
150 pkg_pretend() {
151 if use openmp ; then
152 tc-has-openmp || die "Please switch to an openmp compatible compiler"
153 fi
154 check-reqs_pkg_pretend
155 }
156
157 src_prepare() {
158 >py-compile
159 python_copy_sources
160 }
161
162 src_configure() {
163 python_parallel_foreach_impl run_in_build_dir \
164 econf \
165 --disable-static \
166 --disable-optimization \
167 $(use_enable openmp) \
168 $(use_enable cairo)
169 }
170
171 src_compile() {
172 python_parallel_foreach_impl run_in_build_dir default
173 }
174
175 src_install() {
176 python_parallel_foreach_impl run_in_build_dir default
177 prune_libtool_files --modules
178
179 # remove unwanted extra docs
180 rm -r "${ED}"/usr/share/doc/${PN} || die
181 }
182
183 run_in_build_dir() {
184 pushd "${BUILD_DIR}" > /dev/null
185 "$@"
186 popd > /dev/null
187 }