Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/ball/
Date: Thu, 27 Mar 2014 06:42:11
Message-Id: 1395902499.4b4e19cbc59b4108251e0613aaefe16f72768539.jlec@gentoo
1 commit: 4b4e19cbc59b4108251e0613aaefe16f72768539
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 27 06:41:39 2014 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 27 06:41:39 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4b4e19cb
7
8 sci-chemistry/ball: Import tree changes
9
10 Package-Manager: portage-2.2.10
11
12 ---
13 sci-chemistry/ball/ChangeLog | 3 +++
14 sci-chemistry/ball/ball-9999.ebuild | 35 ++++++++++++++++++++++++-----------
15 2 files changed, 27 insertions(+), 11 deletions(-)
16
17 diff --git a/sci-chemistry/ball/ChangeLog b/sci-chemistry/ball/ChangeLog
18 index d90512f..3a9a297 100644
19 --- a/sci-chemistry/ball/ChangeLog
20 +++ b/sci-chemistry/ball/ChangeLog
21 @@ -2,6 +2,9 @@
22 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 + 27 Mar 2014; Justin Lecher <jlec@g.o> ball-9999.ebuild:
26 + Import tree changes
27 +
28 06 Jan 2014; Justin Lecher <jlec@g.o> ball-9999.ebuild:
29 Switch from git-2 to git-r3
30
31
32 diff --git a/sci-chemistry/ball/ball-9999.ebuild b/sci-chemistry/ball/ball-9999.ebuild
33 index 9c8c921..e39865c 100644
34 --- a/sci-chemistry/ball/ball-9999.ebuild
35 +++ b/sci-chemistry/ball/ball-9999.ebuild
36 @@ -11,16 +11,23 @@ inherit cmake-utils git-r3 python-single-r1
37 DESCRIPTION="Biochemical Algorithms Library"
38 HOMEPAGE="http://www.ball-project.org/"
39 SRC_URI=""
40 -EGIT_REPO_URI="https://bitbucket.org/ball/ball.git"
41 +EGIT_REPO_URI="http://bitbucket.org/ball/ball.git"
42
43 SLOT="0"
44 LICENSE="LGPL-2 GPL-3"
45 KEYWORDS=""
46 -IUSE="cuda mpi +python sql +threads +webkit"
47 +IUSE="cuda mpi +python sql test +threads +webkit"
48 +
49 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
50
51 RDEPEND="
52 dev-cpp/eigen:3
53 dev-libs/boost
54 + dev-qt/qtcore:4
55 + dev-qt/qtgui:4
56 + dev-qt/qtopengl:4
57 + dev-qt/qttest:4
58 + dev-qt/qtwebkit:4
59 media-libs/glew
60 sci-libs/fftw:3.0[threads?]
61 sci-libs/gsl
62 @@ -28,14 +35,10 @@ RDEPEND="
63 sci-mathematics/lpsolve
64 virtual/opengl
65 x11-libs/libX11
66 - dev-qt/qtcore:4
67 - dev-qt/qtgui:4
68 - dev-qt/qtopengl:4
69 - dev-qt/qttest:4
70 cuda? ( dev-util/nvidia-cuda-toolkit )
71 mpi? ( virtual/mpi )
72 - sql? ( dev-qt/qtsql:4 )
73 python? ( ${PYTHON_DEPS} )
74 + sql? ( dev-qt/qtsql:4 )
75 webkit? ( dev-qt/qtwebkit:4 )"
76 DEPEND="${RDEPEND}
77 dev-python/sip
78 @@ -53,11 +56,21 @@ pkg_setup() {
79 src_configure() {
80 local mycmakeargs=(
81 $(cmake-utils_use_use threads FFTW_THREADS)
82 - $(cmake-utils_use_use cuda CUDA)
83 - $(cmake-utils_use_use mpi MPI)
84 - $(cmake-utils_use_use sql QTSQL)
85 - $(cmake-utils_use_use webkit QTWEBKIT)
86 + $(cmake-utils_use cuda MT_ENABLE_CUDA)
87 + $(cmake-utils_use mpi MT_ENABLE_MPI)
88 + $(cmake-utils_use sql BALL_HAS_QTSQL)
89 + $(cmake-utils_use_use webkit USE_QTWEBKIT)
90 $(cmake-utils_use python BALL_PYTHON_SUPPORT)
91 )
92 cmake-utils_src_configure
93 + local i
94 + for i in "${S}"/data/*; do
95 + ln -sf "${i}" "${BUILD_DIR}"/source/TEST/ || die
96 + ln -sf "${i}" "${S}"/source/TEST/ || die
97 + done
98 +}
99 +
100 +src_compile() {
101 + cmake-utils_src_compile
102 + use test && cmake-utils_src_make build_tests
103 }