Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/msms-bin/
Date: Wed, 16 Sep 2020 20:17:21
Message-Id: 1600287400.5174a8d7df32f459b6a983ffc50907b678a15954.soap@gentoo
1 commit: 5174a8d7df32f459b6a983ffc50907b678a15954
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 16 20:16:40 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 16 20:16:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5174a8d7
7
8 sci-chemistry/msms-bin: Port to EAPI 7
9
10 Closes: https://bugs.gentoo.org/742005
11 Package-Manager: Portage-3.0.7, Repoman-3.0.1
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 sci-chemistry/msms-bin/msms-bin-2.6.1-r1.ebuild | 28 +++++++++++--------------
15 1 file changed, 12 insertions(+), 16 deletions(-)
16
17 diff --git a/sci-chemistry/msms-bin/msms-bin-2.6.1-r1.ebuild b/sci-chemistry/msms-bin/msms-bin-2.6.1-r1.ebuild
18 index 13eebfcdc23..6f6335e72bf 100644
19 --- a/sci-chemistry/msms-bin/msms-bin-2.6.1-r1.ebuild
20 +++ b/sci-chemistry/msms-bin/msms-bin-2.6.1-r1.ebuild
21 @@ -1,25 +1,22 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 +# Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=4
27 +EAPI=7
28
29 DESCRIPTION="MSMS very efficiently computes triangulations of Solvent Excluded Surfaces"
30 HOMEPAGE="http://mgl.scripps.edu/people/sanner/html/msms_home.html"
31 SRC_URI="
32 - amd64? ( msms_i86_64Linux2_2.6.1.tar.gz )
33 - x86? ( msms_i86Linux2_2.6.1.tar.gz )
34 -"
35 + amd64? ( msms_i86_64Linux2_2.6.1.tar.gz )
36 + x86? ( msms_i86Linux2_2.6.1.tar.gz )"
37
38 LICENSE="MSMS"
39 SLOT="0"
40 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
41 -IUSE=""
42 -
43 RESTRICT="fetch"
44
45 S="${WORKDIR}"
46
47 -QA_PREBUILT="${EROOT#/}opt/bin/.*"
48 +QA_PREBUILT="opt/bin/*"
49
50 pkg_nofetch() {
51 einfo "Please download ${A} from http://mgltools.scripps.edu/downloads#msms and"
52 @@ -27,19 +24,18 @@ pkg_nofetch() {
53 }
54
55 src_install() {
56 - doman msms.1
57 - dodoc README msms.html ReleaseNotes
58 + dobin pdb_to_xyz*
59 +
60 exeinto /opt/bin
61 - if use amd64; then
62 - newexe ${PN%-bin}.x86_64Linux2.${PV} msms
63 - elif use x86; then
64 - newexe ${PN%-bin}.i86Linux2.${PV} msms
65 - fi
66 + newexe ${PN%-bin}.$(usex amd64 x86_64Linux2 i86Linux2).${PV} msms
67 +
68 + dodoc README msms.html ReleaseNotes
69 + doman msms.1
70 +
71 insinto /usr/share/${PN}/
72 doins atmtypenumbers
73 sed \
74 -e 's:nawk:awk:g' \
75 -e "s:./atmtypenumbers:${EPREFIX}/usr/share/${PN}/atmtypenumbers:g" \
76 -i pdb_to_xyz* || die
77 - dobin pdb_to_xyz*
78 }