Update vendor github.com/Sabayon/pkgs-checker@b6efed54b4b1

This commit is contained in:
Daniele Rondina
2020-03-16 00:37:31 +01:00
parent 853a1995b4
commit 6ce9a86245
4 changed files with 10 additions and 4 deletions

View File

@@ -55,8 +55,8 @@ const (
)
const (
RegexCatString = `(^[a-z]+[0-9]*[a-z]*[-][a-z]+[0-9]*[a-z]*|^virtual)`
RegexPkgNameString = `([a-zA-Z0-9]+[0-9a-zA-Z\.\-_[+]*]*[+]*)`
RegexCatString = `(^[a-z]+[0-9]*[a-z]*[-]*[a-z]+[0-9]*[a-z]*|^virtual)`
RegexPkgNameString = `([a-zA-Z]*[0-9a-zA-Z\.\-_]*[a-zA-Z0-9]+|[a-zA-Z]+[+]+)`
)
type GentooPackage struct {
@@ -69,6 +69,7 @@ type GentooPackage struct {
Condition PackageCond
Repository string `json:"repository",omitempty"`
UseFlags []string `json:"use_flags",omitempty"`
License string `json:"license",omitempty"`
}
func (p *GentooPackage) String() string {