diff options
-rw-r--r-- | src/backend/libsisyphus.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index 0de7f95..a01c137 100644 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -76,6 +76,12 @@ def getPackageDeps(pkgList): if "The following mask changes are necessary to proceed:" in portageOutput.rstrip(): needsConfig = int(1) + if "The following USE changes are necessary to proceed:" in portageOutput.rstrip(): + needsConfig = int(1) + + if "The following REQUIRED_USE flag constraints are unsatisfied:" in portageOutput.rstrip(): + needsConfig = int(1) + for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): if "binary" in portageOutput.rstrip(): isBinary = str(portageOutput.rstrip().split("]")[1].split("[")[0].strip("\ ")) @@ -100,6 +106,12 @@ def getWorldDeps(): if "The following mask changes are necessary to proceed:" in portageOutput.rstrip(): needsConfig = int(1) + if "The following USE changes are necessary to proceed:" in portageOutput.rstrip(): + needsConfig = int(1) + + if "The following REQUIRED_USE flag constraints are unsatisfied:" in portageOutput.rstrip(): + needsConfig = int(1) + for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): if "binary" in portageOutput.rstrip(): isBinary = str(portageOutput.rstrip().split("]")[1].split("[")[0].strip("\ ")) |