pub fn pkgversion_norev(pkgversion: &str) -> &strExpand description
Return the PKGVERSION_NOREV portion of a package version, i.e. the
version with any trailing nb<n> revision marker stripped.
Splits at the final nb substring, matching the behaviour of
pkgrevision. Returns the input unchanged when no nb marker is
present.