1 |
commit: f95d4be1a123a5bc271e83b99a0567ec261ec767 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 20 03:54:50 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 20 03:55:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95d4be1 |
7 |
|
8 |
dev-perl/ExtUtils-F77: Bump to version 1.240.0 |
9 |
|
10 |
- EAPI7 |
11 |
- Remove unused/empty variable assignments |
12 |
- Add bodge in src_test to allow tests to pass w/ USE="-native-symlinks" |
13 |
in {binutils,gcc}-config, but the code is still subject to runtime |
14 |
problems unless consuming code also performs the same bodge. |
15 |
( https://github.com/PDLPorters/extutils-f77/issues/10 ) |
16 |
|
17 |
Upstream: |
18 |
- Use Text::ParseWords instead of naive split |
19 |
- Adjust Generic GNU compiler search order |
20 |
- Simplify some gfortran handling |
21 |
- Use File::Which instead of hand-writing the equivalent |
22 |
- Fix library order of -lgfortran and -lquadmath |
23 |
|
24 |
Package-Manager: Portage-2.3.103, Repoman-2.3.22 |
25 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
26 |
|
27 |
dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild | 30 +++++++++++++++++++++++ |
28 |
dev-perl/ExtUtils-F77/Manifest | 1 + |
29 |
2 files changed, 31 insertions(+) |
30 |
|
31 |
diff --git a/dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild b/dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..bdf30379cfd |
34 |
--- /dev/null |
35 |
+++ b/dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild |
36 |
@@ -0,0 +1,30 @@ |
37 |
+# Copyright 1999-2020 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+ |
42 |
+DIST_AUTHOR=KGB |
43 |
+DIST_VERSION=1.24 |
44 |
+inherit perl-module toolchain-funcs |
45 |
+ |
46 |
+DESCRIPTION="Facilitate use of FORTRAN from Perl/XS code" |
47 |
+ |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-perl/File-Which |
53 |
+ virtual/perl-Scalar-List-Utils |
54 |
+ virtual/perl-Text-ParseWords |
55 |
+ virtual/fortran |
56 |
+" |
57 |
+BDEPEND="${RDEPEND} |
58 |
+ virtual/perl-ExtUtils-MakeMaker |
59 |
+" |
60 |
+src_test() { |
61 |
+ # https://github.com/PDLPorters/extutils-f77/issues/10 |
62 |
+ tc-export F77 |
63 |
+ mkdir -p "${T}/bin" || die "Can't make ${T}/bin" |
64 |
+ ln -vs "$(type -p "${F77}")" "${T}/bin/gfortran" || die "Can't make gfortran symlink" |
65 |
+ PATH="${T}/bin:$PATH" perl-module_src_test |
66 |
+} |
67 |
|
68 |
diff --git a/dev-perl/ExtUtils-F77/Manifest b/dev-perl/ExtUtils-F77/Manifest |
69 |
index ad8912bcd8f..39c5d7828bd 100644 |
70 |
--- a/dev-perl/ExtUtils-F77/Manifest |
71 |
+++ b/dev-perl/ExtUtils-F77/Manifest |
72 |
@@ -1 +1,2 @@ |
73 |
DIST ExtUtils-F77-1.20.tar.gz 12201 BLAKE2B 6adee5bb3cda1b37d230ca408384161777a4aee117f7acd36a2cc125f1b64ce06b3c86557e6dfaa7bb2b159c814694f2d79c3d2c2da8a6a67cb36358d5a7c89d SHA512 0d7cf351d84676d3dea2ec781b1e230ab4a737d34de4c15c5045603ac6e6e411b5d9b235e68bb9ba0552cc4de0ea67c8355c160840b3205429802ea1569f0400 |
74 |
+DIST ExtUtils-F77-1.24.tar.gz 12572 BLAKE2B 86f8099cfdbe8acdfc2db895a9114c866fbf6e23d647f32d866c95efe2aa8419be057e7318e01bf82037dc93cbd18153758f13d7548395c603451176775b4867 SHA512 83ffa66e61fd5dd30cbe3e62d93374f5e1bc5a5eef180e87a6b90a62198a1a8e69d5e1683ae48f2e400304824442b4d78bd2eacdb3822ba8df5c9da1031880fe |