From 23d148c25f606f2804c114c5f4355b72f10294bc Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Wed, 27 Jul 2016 11:10:13 -0600 Subject: 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(-) (limited to 'sci-physics/espresso++/espresso++-9999.ebuild') diff --git a/sci-physics/espresso++/espresso++-9999.ebuild b/sci-physics/espresso++/espresso++-9999.ebuild index fdce52343004..3d3ecff7e9ee 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 } -- cgit v1.2.3-65-gdbad