summaryrefslogtreecommitdiff
path: root/src/backend/solvedeps.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-09 20:45:02 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-09 20:45:02 +0100
commitc76a29a71d16e9ed512a22945d6e6b77b0d21fb6 (patch)
treec169e25c9d0fb66f4b6d7aa2c9d1d5950fc49f6c /src/backend/solvedeps.py
parentbab41785dd6af2ecc88078dd22550b483e7fc776 (diff)
sisyphus-cli : plug more functions : install, uninstall, forceuninstall, update, upgrade, rescue, spmsync, autoremove - all work
Diffstat (limited to 'src/backend/solvedeps.py')
-rw-r--r--src/backend/solvedeps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/solvedeps.py b/src/backend/solvedeps.py
index 256d588..074baf8 100644
--- a/src/backend/solvedeps.py
+++ b/src/backend/solvedeps.py
@@ -5,11 +5,11 @@ import subprocess
import io
@animation.wait('resolving dependencies')
-def package(pkgList):
+def package(pkgname):
areBinaries = []
areSources = []
needsConfig = int()
- portageExec = subprocess.Popen(['emerge', '--quiet', '--pretend', '--getbinpkg', '--rebuilt-binaries', '--misspell-suggestion=n', '--fuzzy-search=n'] + pkgList, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ portageExec = subprocess.Popen(['emerge', '--quiet', '--pretend', '--getbinpkg', '--rebuilt-binaries', '--misspell-suggestion=n', '--fuzzy-search=n'] + list(pkgname), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
for portageOutput in io.TextIOWrapper(portageExec.stderr, encoding="utf-8"):
if "The following keyword changes are necessary to proceed:" in portageOutput.rstrip():