public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergey Torokhov" <torokhov-s-a@yandex.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-doc/ford/
Date: Fri, 29 Apr 2022 17:44:13 +0000 (UTC)	[thread overview]
Message-ID: <1651254157.2af33a430c9ed23e2c5c2fdc13904e3196f4a01f.SergeyTorokhov@gentoo> (raw)

commit:     2af33a430c9ed23e2c5c2fdc13904e3196f4a01f
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Fri Apr 29 17:42:37 2022 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Fri Apr 29 17:42:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2af33a43

app-doc/ford: pass name of the system C preprocessor

Closes: https://bugs.gentoo.org/839300

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 app-doc/ford/ford-6.1.10.ebuild | 7 ++++++-
 app-doc/ford/ford-6.1.11.ebuild | 7 ++++++-
 app-doc/ford/ford-6.1.8.ebuild  | 7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/app-doc/ford/ford-6.1.10.ebuild b/app-doc/ford/ford-6.1.10.ebuild
index 369eb1f96..66ccc5ab8 100644
--- a/app-doc/ford/ford-6.1.10.ebuild
+++ b/app-doc/ford/ford-6.1.10.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit distutils-r1
+inherit distutils-r1 toolchain-funcs
 
 MY_PN="FORD"
 DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs"
@@ -36,6 +36,11 @@ DOCS=( CHANGELOG.md README.md README.rst )
 
 distutils_enable_tests pytest
 
+src_prepare() {
+	default
+	sed -i -e 's/"cpp /"'"$(tc-getCPP)"' /' ford/__init__.py || die # bug: 839300
+}
+
 python_test(){
 	# The 'test/test_projects' tests use subprocess, i.e. require FORD to be installed.
 	distutils_install_for_testing

diff --git a/app-doc/ford/ford-6.1.11.ebuild b/app-doc/ford/ford-6.1.11.ebuild
index 369eb1f96..66ccc5ab8 100644
--- a/app-doc/ford/ford-6.1.11.ebuild
+++ b/app-doc/ford/ford-6.1.11.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit distutils-r1
+inherit distutils-r1 toolchain-funcs
 
 MY_PN="FORD"
 DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs"
@@ -36,6 +36,11 @@ DOCS=( CHANGELOG.md README.md README.rst )
 
 distutils_enable_tests pytest
 
+src_prepare() {
+	default
+	sed -i -e 's/"cpp /"'"$(tc-getCPP)"' /' ford/__init__.py || die # bug: 839300
+}
+
 python_test(){
 	# The 'test/test_projects' tests use subprocess, i.e. require FORD to be installed.
 	distutils_install_for_testing

diff --git a/app-doc/ford/ford-6.1.8.ebuild b/app-doc/ford/ford-6.1.8.ebuild
index a0e690c66..db76d2774 100644
--- a/app-doc/ford/ford-6.1.8.ebuild
+++ b/app-doc/ford/ford-6.1.8.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit distutils-r1
+inherit distutils-r1 toolchain-funcs
 
 MY_PN="FORD"
 DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs"
@@ -41,6 +41,11 @@ EPYTEST_IGNORE=(
 	test/test_projects/test_external_project.py
 )
 
+src_prepare() {
+	default
+	sed -i -e 's/"cpp /"'"$(tc-getCPP)"' /' ford/__init__.py || die # bug: 839300
+}
+
 python_test(){
 	# The 'test/test_projects' tests use subprocess, i.e. require FORD to be installed.
 	distutils_install_for_testing


             reply	other threads:[~2022-04-29 17:44 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29 17:44 Sergey Torokhov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-09  2:00 [gentoo-commits] repo/proj/guru:dev commit in: app-doc/ford/ Anna Vyalkova
2023-07-09  2:00 Anna Vyalkova
2023-05-16 20:08 Sergey Torokhov
2023-05-16 20:08 Sergey Torokhov
2023-04-19  0:23 Sergey Torokhov
2023-03-18 12:10 Sergey Torokhov
2023-03-08 19:40 Anna Vyalkova
2023-02-04 14:59 Anna Vyalkova
2023-02-02  6:15 Anna Vyalkova
2023-01-24 22:23 Sergey Torokhov
2023-01-19  0:08 Sergey Torokhov
2022-11-24 10:24 Sergey Torokhov
2022-11-24 10:24 Sergey Torokhov
2022-10-28 21:30 Sergey Torokhov
2022-10-28 21:21 Sergey Torokhov
2022-10-28 21:21 Sergey Torokhov
2022-08-02 22:11 Sergey Torokhov
2022-07-20 22:34 Sergey Torokhov
2022-06-28 21:45 Sergey Torokhov
2022-04-16 11:42 Sergey Torokhov
2022-04-16 11:42 Sergey Torokhov
2022-03-17 19:09 Sergey Torokhov
2022-03-14 20:33 Sergey Torokhov
2022-02-23 12:13 Sergey Torokhov
2022-02-23 12:13 Sergey Torokhov
2021-10-17 10:37 Sergey Torokhov
2021-10-15 16:20 Sergey Torokhov
2021-09-20  9:41 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-09-20  9:32 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-09-15 21:43 Sergey Torokhov
2021-09-08 14:38 Sergey Torokhov
2021-09-08 12:24 Sergey Torokhov
2021-09-06 19:50 Sergey Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651254157.2af33a430c9ed23e2c5c2fdc13904e3196f4a01f.SergeyTorokhov@gentoo \
    --to=torokhov-s-a@yandex.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox