From 4444407a9a96cbbe321a1d0328aaac2a70807106 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Tue, 15 Oct 2013 15:31:48 +0200 Subject: sci-chemistry/smmp: Add missing PYTHON_DEPS and PYTHON_REQUIRED_USE Package-Manager: portage-2.2.7 --- sci-chemistry/smmp/ChangeLog | 3 +++ sci-chemistry/smmp/metadata.xml | 2 +- sci-chemistry/smmp/smmp-3.0.5.ebuild | 17 +++++++++-------- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/sci-chemistry/smmp/ChangeLog b/sci-chemistry/smmp/ChangeLog index 375ec723b..b7b3cd754 100644 --- a/sci-chemistry/smmp/ChangeLog +++ b/sci-chemistry/smmp/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 15 Oct 2013; Justin Lecher smmp-3.0.5.ebuild, metadata.xml: + Add missing PYTHON_DEPS and PYTHON_REQUIRED_USE + 16 Jun 2013; Justin Lecher smmp-3.0.5.ebuild, metadata.xml: Bump to EAPI=5 and python-r1.eclass diff --git a/sci-chemistry/smmp/metadata.xml b/sci-chemistry/smmp/metadata.xml index 9ac9ffdb3..51fdedab1 100644 --- a/sci-chemistry/smmp/metadata.xml +++ b/sci-chemistry/smmp/metadata.xml @@ -1,5 +1,5 @@ -sci-chemistry + sci-chemistry diff --git a/sci-chemistry/smmp/smmp-3.0.5.ebuild b/sci-chemistry/smmp/smmp-3.0.5.ebuild index 95dda9950..c6c0376d6 100644 --- a/sci-chemistry/smmp/smmp-3.0.5.ebuild +++ b/sci-chemistry/smmp/smmp-3.0.5.ebuild @@ -20,7 +20,11 @@ LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" IUSE="doc mpi test" -RDEPEND="mpi? ( virtual/mpi )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + mpi? ( virtual/mpi )" DEPEND="${RDEPEND} doc? ( app-doc/doxygen )" @@ -43,17 +47,14 @@ src_compile() { src_test() { emake examples - cd EXAMPLES + cd EXAMPLES || die bash smmp.cmd || die } src_install() { dobin ${PN} - installation() { - python_moduleinto ${PN} - python_domodule *.py - python_optimize - } - python_foreach_impl installation + python_moduleinto ${PN} + python_parallel_foreach_impl python_domodule *.py + python_parallel_foreach_impl python_optimize dodoc README } -- cgit v1.2.3-65-gdbad