mirror of
https://github.com/mudler/luet.git
synced 2025-09-04 08:45:40 +00:00
Integrate parsing of IUSE
This commit is contained in:
@@ -204,6 +204,13 @@ func (ep *SimpleEbuildParser) ScanEbuild(path string, tree pkg.Tree) ([]pkg.Pack
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Handle this a bit better
|
// TODO: Handle this a bit better
|
||||||
|
iuse, ok := vars["IUSE"]
|
||||||
|
if ok {
|
||||||
|
uses := strings.Split(strings.TrimSpace(iuse.String()), " ")
|
||||||
|
for _, u := range uses {
|
||||||
|
pack.AddUse(u)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
rdepend, ok := vars["RDEPEND"]
|
rdepend, ok := vars["RDEPEND"]
|
||||||
if ok {
|
if ok {
|
||||||
|
Reference in New Issue
Block a user