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