devmanual says: === Never refer to a variable name in the string; include only raw text. === This should be tested by repoman. As of today there are 180 packages using variables. [1] Some look like a testcase for a parser: app-emulation/docker-swarm-0.4.0:HOMEPAGE="https://docs.docker.com/${PN##*-}/" [1] tested with: qgrep -NC HOMEPAGE= | grep "\\$" Reproducible: Always
What do you mean by "Some look like a testcase for a parser"?
just a comment on "${PN##*-}/" which makes it not trivial to get the URL from the .ebuild file.
working example code to check for server status in HOMEPAGE and SRC_URI: https://github.com/mm1ke/gentoo-scripts
repoman support has been removed per bug 835013. Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.
pkgcheck has ReferenceInMetadataVar (and HomepageInSrcUri).