Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Check]: Recommend inherit fortran-2.eclass instead of virtual/fortran in (B)DEPEND #681

Open
1 task done
APN-Pucky opened this issue May 14, 2024 · 0 comments
Open
1 task done
Labels

Comments

@APN-Pucky
Copy link

APN-Pucky commented May 14, 2024

Is there an existing such new check request for this?

  • I have searched the existing issues

Explain

Usually if a package uses fortran the first approach is to just have

BDEPEND="virtual/fortran"

With clear deficits compared to the recommended inherit fortran-2.

Examples

https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-physics/fastjet/fastjet-3.4.0-r1.ebuild#n35
^ still uses BDEPEND on fortran, while the later version is updated using inherit instead:
https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-physics/fastjet/fastjet-3.4.2.ebuild#n15

gentoo/sci#1267 (comment)

Just grepping through ::gentoo I see many virtual/fortan BDEPENDS that probably should better use the fortran eclass.

Output message

suggest usage of inherit fortran-2 over BDEPEND="virtual/fortran"

Documentation

No response

Result level

info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant