Add CREW_GCC_VER constant and account for it in the version cleaning algorithm. (#10945)

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-12-13 14:05:44 -05:00
committed by GitHub
parent aa7c647b94
commit d1871f255a
5 changed files with 12 additions and 3 deletions

View File

@@ -117,6 +117,12 @@ if filelist.length.positive?
next
end
# Skip ruby and pip buildsystem packages.
if pkg.superclass.to_s == 'RUBY' || pkg.superclass.to_s == 'Pip'
puts pkg.name.ljust(35) + 'skipped'.lightred if verbose
next
end
# Get the upstream version.
upstream_version = get_version(pkg.name.tr('_', '-'), pkg.homepage)
# Some packages don't work with this yet, so gracefully exit now rather than throwing false positives.