From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B4984138202 for ; Wed, 16 Oct 2013 04:49:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75B42E09EA; Wed, 16 Oct 2013 04:49:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3D24E09EC for ; Wed, 16 Oct 2013 04:49:53 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C1EB033EFD7 for ; Wed, 16 Oct 2013 04:49:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 544AFE5466 for ; Wed, 16 Oct 2013 04:49:50 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1381843908.4444407a9a96cbbe321a1d0328aaac2a70807106.nicolasbock@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/smmp/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/smmp/ChangeLog sci-chemistry/smmp/metadata.xml sci-chemistry/smmp/smmp-3.0.5.ebuild X-VCS-Directories: sci-chemistry/smmp/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: 4444407a9a96cbbe321a1d0328aaac2a70807106 X-VCS-Branch: master Date: Wed, 16 Oct 2013 04:49:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 33570096-6f6f-41d5-9fca-4bdb8bfc8ce0 X-Archives-Hash: 5d6c5db139dc2a169f6de9e377ca22a8 commit: 4444407a9a96cbbe321a1d0328aaac2a70807106 Author: Justin Lecher gentoo org> AuthorDate: Tue Oct 15 13:31:48 2013 +0000 Commit: Nicolas Bock gmail com> CommitDate: Tue Oct 15 13:31:48 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4444407a 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 375ec72..b7b3cd7 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 9ac9ffd..51fdeda 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 95dda99..c6c0376 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 }