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 7EB101381F3 for ; Sun, 16 Jun 2013 15:54:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 461B4E0953; Sun, 16 Jun 2013 15:54:01 +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 C644EE0953 for ; Sun, 16 Jun 2013 15:53:55 +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 E240833E4A5 for ; Sun, 16 Jun 2013 15:53:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2FF19E5472 for ; Sun, 16 Jun 2013 15:53:48 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1371395924.321109c8c71e20ef2beed437a8006be7979994c1.jlec@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: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 321109c8c71e20ef2beed437a8006be7979994c1 X-VCS-Branch: master Date: Sun, 16 Jun 2013 15:53:48 +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: e69caecc-1295-4040-8c59-66a5061fd97d X-Archives-Hash: 40098bafbab0495f838e8fb13f2ce934 Message-ID: <20130616155348.Ur42QB5lvVohliMuPrpPM7QXd8jFkNOb3HqnTPdj_oM@z> commit: 321109c8c71e20ef2beed437a8006be7979994c1 Author: Justin Lecher gentoo org> AuthorDate: Sun Jun 16 15:18:44 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Jun 16 15:18:44 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=321109c8 sci-chemistry/smmp: Bump to EAPI=5 and python-r1.eclass Package-Manager: portage-2.2.0_alpha180 --- sci-chemistry/smmp/ChangeLog | 5 ++++- sci-chemistry/smmp/metadata.xml | 8 +++---- sci-chemistry/smmp/smmp-3.0.5.ebuild | 41 ++++++++++++------------------------ 3 files changed, 22 insertions(+), 32 deletions(-) diff --git a/sci-chemistry/smmp/ChangeLog b/sci-chemistry/smmp/ChangeLog index cddd7bf..375ec72 100644 --- a/sci-chemistry/smmp/ChangeLog +++ b/sci-chemistry/smmp/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for sci-chemistry/smmp -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 16 Jun 2013; Justin Lecher smmp-3.0.5.ebuild, metadata.xml: + Bump to EAPI=5 and python-r1.eclass + 24 Jun 2011; Justin Lecher smmp-3.0.5.ebuild: Streamlined fortran-2 eclass usage diff --git a/sci-chemistry/smmp/metadata.xml b/sci-chemistry/smmp/metadata.xml index 0fbe927..d410f15 100644 --- a/sci-chemistry/smmp/metadata.xml +++ b/sci-chemistry/smmp/metadata.xml @@ -1,8 +1,8 @@ -sci-chemistry - - sci@gentoo.org - + sci-chemistry + + sci@gentoo.org + diff --git a/sci-chemistry/smmp/smmp-3.0.5.ebuild b/sci-chemistry/smmp/smmp-3.0.5.ebuild index 8f49f3d..95dda99 100644 --- a/sci-chemistry/smmp/smmp-3.0.5.ebuild +++ b/sci-chemistry/smmp/smmp-3.0.5.ebuild @@ -1,14 +1,12 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=2 +EAPI=5 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" +PYTHON_COMPAT=( python{2_6,2_7} ) -inherit eutils fortran-2 python toolchain-funcs +inherit eutils fortran-2 python-r1 toolchain-funcs MY_PN="SMMP" MY_P="${MY_PN}-${PV}" @@ -18,13 +16,11 @@ HOMEPAGE="http://smmp.berlios.de/" SRC_URI="mirror://berlios/${PN}/${MY_P}.tar.bz2" SLOT="0" -KEYWORDS="~amd64 ~x86" LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" IUSE="doc mpi test" -RDEPEND=" - virtual/fortran - mpi? ( virtual/mpi )" +RDEPEND="mpi? ( virtual/mpi )" DEPEND="${RDEPEND} doc? ( app-doc/doxygen )" @@ -42,31 +38,22 @@ src_compile() { target="${PN}" fi - tc-export FC - - emake ${target} || die + emake ${target} } src_test() { - emake examples || die + emake examples cd EXAMPLES bash smmp.cmd || die } src_install() { - dobin ${PN} || die + dobin ${PN} installation() { - insinto $(python_get_sitedir)/${PN} - doins *.py || die + python_moduleinto ${PN} + python_domodule *.py + python_optimize } - python_execute_function installation - dodoc README || die -} - -pkg_postinst() { - python_mod_optimize ${PN} -} - -pkg_postrm() { - python_mod_cleanup ${PN} + python_foreach_impl installation + dodoc README }