summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-26 07:12:51 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-26 07:12:51 +0100
commit0ce66b4deb653d31ac71a1a5020a12d7fed12f48 (patch)
tree692ddec86c10b9c15c5c8de4d415ea60ddf06a36 /src/backend
parentc0d4469c676a0a6da4b9480a21281e647d6d256e (diff)
do not allow portage's messages to jumble dependency list
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/libsisyphus.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py
index e8a4649..55e185a 100644
--- a/src/backend/libsisyphus.py
+++ b/src/backend/libsisyphus.py
@@ -240,7 +240,8 @@ def solvePkgDeps(pkgList):
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
if "/" in portageOutput.rstrip():
pkgDep = str(portageOutput.rstrip().split("]")[1].strip("\ "))
- pkgDeps.append(pkgDep)
+ if not "blocking" in pkgDep:
+ pkgDeps.append(pkgDep)
return pkgDeps
# call portage to solve world dependencies (CLI frontend)
@@ -255,7 +256,8 @@ def solveWorldDeps():
if "/" in portageOutput.rstrip():
worldDep = str(portageOutput.rstrip().split("]")[
1].split("[")[0].strip("\ "))
- worldDeps.append(worldDep)
+ if not "blocking" in worldDep:
+ worldDeps.append(worldDep)
return worldDeps
# fetch binaries and call portage to install the package(s) from local cache (CLI frontend)