1 |
commit: 96aa4c1ece94959fdb871189a82f1e9f3fe85886 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 20:16:34 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 20:16:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96aa4c1e |
7 |
|
8 |
sci-chemistry/mars: Port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/741999 |
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/mars/mars-1.2.ebuild | 18 +++++++++--------- |
15 |
1 file changed, 9 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/sci-chemistry/mars/mars-1.2.ebuild b/sci-chemistry/mars/mars-1.2.ebuild |
18 |
index 5fd849dc4cb..58667bc6dd8 100644 |
19 |
--- a/sci-chemistry/mars/mars-1.2.ebuild |
20 |
+++ b/sci-chemistry/mars/mars-1.2.ebuild |
21 |
@@ -1,7 +1,7 @@ |
22 |
-# Copyright 1999-2013 Gentoo Foundation |
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 |
MY_P="${P}_linux" |
30 |
|
31 |
@@ -9,17 +9,15 @@ DESCRIPTION="Robust automatic backbone assignment of proteins" |
32 |
HOMEPAGE="http://www.mpibpc.mpg.de/groups/zweckstetter/_links/software_mars.htm" |
33 |
SRC_URI="http://www.mpibpc.mpg.de/groups/zweckstetter/_software_files/_${PN}/${MY_P}.tar.gz" |
34 |
|
35 |
+LICENSE="all-rights-reserved" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
38 |
-LICENSE="all-rights-reserved" |
39 |
IUSE="examples" |
40 |
+RESTRICT=mirror |
41 |
|
42 |
RDEPEND="sci-biology/psipred" |
43 |
-DEPEND="" |
44 |
|
45 |
-RESTRICT=mirror |
46 |
- |
47 |
-S="${WORKDIR}"/${MY_P} |
48 |
+S="${WORKDIR}/${MY_P}" |
49 |
|
50 |
QA_PREBUILT="opt/mars/*" |
51 |
|
52 |
@@ -28,15 +26,17 @@ src_install() { |
53 |
|
54 |
exeinto /opt/${PN}/ |
55 |
doexe bin/{${PN},calcJC-S2,runmars*,*.awk} *.awk |
56 |
+ |
57 |
insinto /opt/${PN}/ |
58 |
doins bin/*.{tab,txt} |
59 |
+ |
60 |
if use examples; then |
61 |
insinto /usr/share/${PN}/ |
62 |
doins -r examples |
63 |
fi |
64 |
|
65 |
- cat >> "${T}"/23mars <<- EOF |
66 |
- MARSHOME="${EPREFIX}/opt/${PN}" |
67 |
+ cat >> "${T}"/23mars <<- EOF || die |
68 |
+ MARSHOME="${EPREFIX}/opt/${PN}" |
69 |
EOF |
70 |
|
71 |
doenvd "${T}"/23mars |