From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/mopac7/
Date: Sat, 14 Aug 2021 10:13:35 +0000 (UTC) [thread overview]
Message-ID: <1628935999.0ddb3aef19714993e4c6da71d4c2d9a00c2754cb.soap@gentoo> (raw)
commit: 0ddb3aef19714993e4c6da71d4c2d9a00c2754cb
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Aug 14 10:13:19 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 10:13:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ddb3aef
sci-chemistry/mopac7: Port to EAPI 8
Closes: https://bugs.gentoo.org/454896
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-chemistry/mopac7/mopac7-1.15-r1.ebuild | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild b/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
index 3cb18cba78f..aaf87bceee5 100644
--- a/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
+++ b/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
inherit autotools fortran-2 flag-o-matic toolchain-funcs
@@ -21,6 +21,8 @@ DEPEND="dev-libs/libf2c"
RDEPEND="${DEPEND}"
src_prepare() {
+ default
+
# Install the executable
sed -i \
-e "s:noinst_PROGRAMS = mopac7:bin_PROGRAMS = mopac7:g" \
@@ -44,11 +46,12 @@ src_compile() {
emake
if use gmxmopac7; then
einfo "Making mopac7 lib for gromacs"
- mkdir "${S}"/fortran/libgmxmopac7 && cd "${S}"/fortran/libgmxmopac7
- cp -f ../SIZES ../*.f "${FILESDIR}"/Makefile . || die
+ mkdir "${S}"/fortran/libgmxmopac7 || die
+ cd "${S}"/fortran/libgmxmopac7 || die
+ cp -n ../SIZES ../*.f "${FILESDIR}"/Makefile . || die
emake clean
- cp -f "${DISTDIR}"/gmxmop.f "${DISTDIR}"/dcart.f . || die
- sed "s:GENTOOVERSION:${PV}:g" -i Makefile
+ cp -n "${DISTDIR}"/gmxmop.f "${DISTDIR}"/dcart.f . || die
+ sed "s:GENTOOVERSION:${PV}:g" -i Makefile || die
emake FC=$(tc-getFC)
fi
}
@@ -61,7 +64,7 @@ src_install() {
default
if use gmxmopac7; then
- cd "${S}"/fortran/libgmxmopac7
+ cd "${S}"/fortran/libgmxmopac7 || die
dolib.so libgmxmopac7.so*
fi
next reply other threads:[~2021-08-14 10:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-14 10:13 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-10 1:37 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/mopac7/ Eli Schwartz
2022-03-20 18:51 Sam James
2021-11-18 23:50 Georgy Yakovlev
2020-11-14 20:22 David Seifert
2020-06-04 8:40 Andreas Sturmlechner
2020-05-29 7:39 Agostino Sarubbo
2020-05-25 9:36 Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1628935999.0ddb3aef19714993e4c6da71d4c2d9a00c2754cb.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox