Update vendor github.com/Sabayon/pkgs-checker@v0.7.2

This commit is contained in:
Daniele Rondina
2020-10-28 17:48:30 +01:00
parent 6806103b3e
commit 5f8b836335
4 changed files with 14 additions and 5 deletions

View File

@@ -333,7 +333,7 @@ func ParsePackageStr(pkg string) (*GentooPackage, error) {
ans.Condition = PkgCondNot
}
regexVerString := fmt.Sprintf("[-](%s|%s|%s|%s|%s|%s)((%s|%s|%s|%s|%s|%s|%s)+)*",
regexVerString := fmt.Sprintf("[-](%s|%s|%s|%s|%s|%s)((%s|%s|%s|%s|%s|%s||%s)+)*",
// Version regex
// 1.1
"[0-9]+[.][0-9]+[a-z]*",
@@ -354,8 +354,8 @@ func ParsePackageStr(pkg string) (*GentooPackage, error) {
"_rc[0-9]+",
// handle also rc without number
"_rc",
"_alpha",
"_beta",
"_alpha[0-9-a-z]*",
"_beta[0-9-a-z]*",
)
words := strings.Split(pkg, "/")