commit:     23d148c25f606f2804c114c5f4355b72f10294bc
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 27 17:10:13 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 17:10:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d148c2

sci-physics/espresso++: live ebuild update

Package-Manager: portage-2.2.28

 sci-physics/espresso++/espresso++-9999.ebuild | 31 ++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 8 deletions(-)

diff --git a/sci-physics/espresso++/espresso++-9999.ebuild 
b/sci-physics/espresso++/espresso++-9999.ebuild
index fdce523..3d3ecff 100644
--- a/sci-physics/espresso++/espresso++-9999.ebuild
+++ b/sci-physics/espresso++/espresso++-9999.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 PYTHON_COMPAT=( python2_7 )
 CMAKE_MAKEFILE_GENERATOR="ninja"
 
-inherit cmake-utils python-single-r1
+inherit cmake-utils python-r1
 
 DESCRIPTION="A Modern Multiscale Simulation Package for Soft Matter Systems"
 HOMEPAGE="https://www.espresso-pp.de";
@@ -31,14 +31,29 @@ RDEPEND="${PYTHON_DEPS}
        virtual/mpi
        dev-libs/boost:=[python,mpi,${PYTHON_USEDEP}]
        sci-libs/fftw:3.0
-       dev-python/mpi4py"
+       dev-python/mpi4py[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}"
 
 src_configure() {
-       local mycmakeargs=(
-               -DEXTERNAL_BOOST=ON
-               -DEXTERNAL_MPI4PY=ON
-               -DWITH_RC_FILES=OFF
-       )
-       cmake-utils_src_configure
+       src_configure_internal() {
+               local mycmakeargs=(
+                       -DEXTERNAL_BOOST=ON
+                       -DEXTERNAL_MPI4PY=ON
+                       -DWITH_RC_FILES=OFF
+               )
+               cmake-utils_src_configure
+       }
+       python_foreach_impl src_configure_internal
+}
+
+src_compile() {
+       python_foreach_impl cmake-utils_src_make
+}
+
+src_test() {
+       python_foreach_impl cmake-utils_src_test
+}
+
+src_install() {
+       python_foreach_impl cmake-utils_src_install
 }

Reply via email to