Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/espresso++/
Date: Wed, 27 Jul 2016 17:11:42
Message-Id: 1469639429.23d148c25f606f2804c114c5f4355b72f10294bc.ottxor@gentoo
1 commit: 23d148c25f606f2804c114c5f4355b72f10294bc
2 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 27 17:10:13 2016 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 17:10:29 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d148c2
7
8 sci-physics/espresso++: live ebuild update
9
10 Package-Manager: portage-2.2.28
11
12 sci-physics/espresso++/espresso++-9999.ebuild | 31 ++++++++++++++++++++-------
13 1 file changed, 23 insertions(+), 8 deletions(-)
14
15 diff --git a/sci-physics/espresso++/espresso++-9999.ebuild b/sci-physics/espresso++/espresso++-9999.ebuild
16 index fdce523..3d3ecff 100644
17 --- a/sci-physics/espresso++/espresso++-9999.ebuild
18 +++ b/sci-physics/espresso++/espresso++-9999.ebuild
19 @@ -7,7 +7,7 @@ EAPI=6
20 PYTHON_COMPAT=( python2_7 )
21 CMAKE_MAKEFILE_GENERATOR="ninja"
22
23 -inherit cmake-utils python-single-r1
24 +inherit cmake-utils python-r1
25
26 DESCRIPTION="A Modern Multiscale Simulation Package for Soft Matter Systems"
27 HOMEPAGE="https://www.espresso-pp.de"
28 @@ -31,14 +31,29 @@ RDEPEND="${PYTHON_DEPS}
29 virtual/mpi
30 dev-libs/boost:=[python,mpi,${PYTHON_USEDEP}]
31 sci-libs/fftw:3.0
32 - dev-python/mpi4py"
33 + dev-python/mpi4py[${PYTHON_USEDEP}]"
34 DEPEND="${RDEPEND}"
35
36 src_configure() {
37 - local mycmakeargs=(
38 - -DEXTERNAL_BOOST=ON
39 - -DEXTERNAL_MPI4PY=ON
40 - -DWITH_RC_FILES=OFF
41 - )
42 - cmake-utils_src_configure
43 + src_configure_internal() {
44 + local mycmakeargs=(
45 + -DEXTERNAL_BOOST=ON
46 + -DEXTERNAL_MPI4PY=ON
47 + -DWITH_RC_FILES=OFF
48 + )
49 + cmake-utils_src_configure
50 + }
51 + python_foreach_impl src_configure_internal
52 +}
53 +
54 +src_compile() {
55 + python_foreach_impl cmake-utils_src_make
56 +}
57 +
58 +src_test() {
59 + python_foreach_impl cmake-utils_src_test
60 +}
61 +
62 +src_install() {
63 + python_foreach_impl cmake-utils_src_install
64 }