[New Check]: Recommend inherit fortran-2
.eclass instead of virtual/fortran
in (B)DEPEND
#681
Open
1 task done
Labels
Is there an existing such new check request for this?
Explain
Usually if a package uses fortran the first approach is to just have
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 manyvirtual/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
The text was updated successfully, but these errors were encountered: