Gentoo Archives: gentoo-commits

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