1 |
commit: 3d600a2879bae5755deef4bdfc3e2266a91534e9 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Sun Aug 22 19:37:24 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 22 19:37:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d600a28 |
7 |
|
8 |
sci-libs/profnet: Port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/731898 |
11 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
sci-libs/profnet/profnet-1.0.22.ebuild | 14 +++++++++----- |
15 |
1 file changed, 9 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/profnet/profnet-1.0.22.ebuild b/sci-libs/profnet/profnet-1.0.22.ebuild |
18 |
index df450e7e8d3..5488f1435de 100644 |
19 |
--- a/sci-libs/profnet/profnet-1.0.22.ebuild |
20 |
+++ b/sci-libs/profnet/profnet-1.0.22.ebuild |
21 |
@@ -1,29 +1,30 @@ |
22 |
-# Copyright 1999-2013 Gentoo Foundation |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=5 |
27 |
+EAPI=7 |
28 |
|
29 |
-inherit fortran-2 toolchain-funcs |
30 |
+inherit flag-o-matic fortran-2 toolchain-funcs |
31 |
|
32 |
DESCRIPTION="Neural network architecture for profacc" |
33 |
HOMEPAGE="https://rostlab.org/" |
34 |
SRC_URI="ftp://rostlab.org/profnet/${P}.tar.gz" |
35 |
|
36 |
-SLOT="0" |
37 |
LICENSE="GPL-3" |
38 |
+SLOT="0" |
39 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
40 |
-IUSE="" |
41 |
|
42 |
RDEPEND="sys-libs/libunwind" |
43 |
DEPEND="${RDEPEND}" |
44 |
|
45 |
src_prepare() { |
46 |
+ default |
47 |
sed \ |
48 |
-e '/$@/s:-o:$(LDFLAGS) -o:g' \ |
49 |
-i src-phd/Makefile || die |
50 |
} |
51 |
|
52 |
src_compile() { |
53 |
+ append-fflags $(test-flags-FC -fallow-argument-mismatch) |
54 |
emake \ |
55 |
F77=$(tc-getF77) \ |
56 |
FFLAGS="${FFLAGS}" |
57 |
@@ -34,4 +35,7 @@ src_install() { |
58 |
DESTDIR="${D}" \ |
59 |
prefix="${EPREFIX}/usr" \ |
60 |
install |
61 |
+ |
62 |
+ # Don't install compressed man pages |
63 |
+ find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die |
64 |
} |