1 |
commit: 2af33a430c9ed23e2c5c2fdc13904e3196f4a01f |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Fri Apr 29 17:42:37 2022 +0000 |
4 |
Commit: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
5 |
CommitDate: Fri Apr 29 17:42:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2af33a43 |
7 |
|
8 |
app-doc/ford: pass name of the system C preprocessor |
9 |
|
10 |
Closes: https://bugs.gentoo.org/839300 |
11 |
|
12 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
13 |
|
14 |
app-doc/ford/ford-6.1.10.ebuild | 7 ++++++- |
15 |
app-doc/ford/ford-6.1.11.ebuild | 7 ++++++- |
16 |
app-doc/ford/ford-6.1.8.ebuild | 7 ++++++- |
17 |
3 files changed, 18 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/app-doc/ford/ford-6.1.10.ebuild b/app-doc/ford/ford-6.1.10.ebuild |
20 |
index 369eb1f96..66ccc5ab8 100644 |
21 |
--- a/app-doc/ford/ford-6.1.10.ebuild |
22 |
+++ b/app-doc/ford/ford-6.1.10.ebuild |
23 |
@@ -4,7 +4,7 @@ |
24 |
EAPI=8 |
25 |
PYTHON_COMPAT=( python3_{8..10} ) |
26 |
|
27 |
-inherit distutils-r1 |
28 |
+inherit distutils-r1 toolchain-funcs |
29 |
|
30 |
MY_PN="FORD" |
31 |
DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs" |
32 |
@@ -36,6 +36,11 @@ DOCS=( CHANGELOG.md README.md README.rst ) |
33 |
|
34 |
distutils_enable_tests pytest |
35 |
|
36 |
+src_prepare() { |
37 |
+ default |
38 |
+ sed -i -e 's/"cpp /"'"$(tc-getCPP)"' /' ford/__init__.py || die # bug: 839300 |
39 |
+} |
40 |
+ |
41 |
python_test(){ |
42 |
# The 'test/test_projects' tests use subprocess, i.e. require FORD to be installed. |
43 |
distutils_install_for_testing |
44 |
|
45 |
diff --git a/app-doc/ford/ford-6.1.11.ebuild b/app-doc/ford/ford-6.1.11.ebuild |
46 |
index 369eb1f96..66ccc5ab8 100644 |
47 |
--- a/app-doc/ford/ford-6.1.11.ebuild |
48 |
+++ b/app-doc/ford/ford-6.1.11.ebuild |
49 |
@@ -4,7 +4,7 @@ |
50 |
EAPI=8 |
51 |
PYTHON_COMPAT=( python3_{8..10} ) |
52 |
|
53 |
-inherit distutils-r1 |
54 |
+inherit distutils-r1 toolchain-funcs |
55 |
|
56 |
MY_PN="FORD" |
57 |
DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs" |
58 |
@@ -36,6 +36,11 @@ DOCS=( CHANGELOG.md README.md README.rst ) |
59 |
|
60 |
distutils_enable_tests pytest |
61 |
|
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ sed -i -e 's/"cpp /"'"$(tc-getCPP)"' /' ford/__init__.py || die # bug: 839300 |
65 |
+} |
66 |
+ |
67 |
python_test(){ |
68 |
# The 'test/test_projects' tests use subprocess, i.e. require FORD to be installed. |
69 |
distutils_install_for_testing |
70 |
|
71 |
diff --git a/app-doc/ford/ford-6.1.8.ebuild b/app-doc/ford/ford-6.1.8.ebuild |
72 |
index a0e690c66..db76d2774 100644 |
73 |
--- a/app-doc/ford/ford-6.1.8.ebuild |
74 |
+++ b/app-doc/ford/ford-6.1.8.ebuild |
75 |
@@ -4,7 +4,7 @@ |
76 |
EAPI=8 |
77 |
PYTHON_COMPAT=( python3_{8..10} ) |
78 |
|
79 |
-inherit distutils-r1 |
80 |
+inherit distutils-r1 toolchain-funcs |
81 |
|
82 |
MY_PN="FORD" |
83 |
DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs" |
84 |
@@ -41,6 +41,11 @@ EPYTEST_IGNORE=( |
85 |
test/test_projects/test_external_project.py |
86 |
) |
87 |
|
88 |
+src_prepare() { |
89 |
+ default |
90 |
+ sed -i -e 's/"cpp /"'"$(tc-getCPP)"' /' ford/__init__.py || die # bug: 839300 |
91 |
+} |
92 |
+ |
93 |
python_test(){ |
94 |
# The 'test/test_projects' tests use subprocess, i.e. require FORD to be installed. |
95 |
distutils_install_for_testing |