summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-10 23:03:50 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-10 23:03:50 +0000
commit82c5a9cb0125e19698002ad960a9791c7583a86f (patch)
tree0d43a6cf949525ed80d5b86e7072c85d4894e26f /src/frontend/gui/sisyphus-gui.py
parent46570ad35f99651f8311a723d65bad30efbe96e3 (diff)
make room to implement hybrid mode and source mode in libsisyphus
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rw-r--r--src/frontend/gui/sisyphus-gui.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index be1332a..dcb9c77 100644
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -366,21 +366,21 @@ class MainWorker(QtCore.QObject):
pkgList = Sisyphus.pkgList
binhostURL = getBinhostURL()
- pkgDeps = getPkgDeps(pkgList)
- pkgBins = []
+ binaryDeps = getPkgDeps(pkgList)
+ binaryPkgs = []
os.chdir(portageCache)
- for index, url in enumerate([binhostURL + package + '.tbz2' for package in pkgDeps]):
+ for index, url in enumerate([binhostURL + package + '.tbz2' for package in binaryDeps]):
self.strReady.emit(">>> Fetching" + " " + url)
print(">>> Fetching" + " " + url)
wget.download(url)
print("\n")
- for index, binpkg in enumerate(pkgDeps):
- pkgBin = str(binpkg.rstrip().split("/")[1])
- pkgBins.append(pkgBin)
+ for index, binpkg in enumerate(binaryDeps):
+ binaryPkg = str(binpkg.rstrip().split("/")[1])
+ binaryPkgs.append(binaryPkg)
- for index, binpkg in enumerate(pkgBins):
+ for index, binpkg in enumerate(binaryPkgs):
subprocess.call(['qtbz2', '-x'] + str(binpkg + '.tbz2').split())
CATEGORY = subprocess.check_output(['qxpak', '-x', '-O'] + str(binpkg + '.xpak').split() + ['CATEGORY'])
os.remove(str(binpkg + '.xpak'))
@@ -426,21 +426,21 @@ class MainWorker(QtCore.QObject):
self.started.emit()
binhostURL = getBinhostURL()
- worldDeps = getWorldDeps()
- worldBins = []
+ binaryDeps = getWorldDeps()
+ binaryPkgs = []
os.chdir(portageCache)
- for index, url in enumerate([binhostURL + package + '.tbz2' for package in worldDeps]):
+ for index, url in enumerate([binhostURL + package + '.tbz2' for package in binaryDeps]):
self.strReady.emit(">>> Fetching" + " " + url)
print(">>> Fetching" + " " + url)
wget.download(url)
print("\n")
- for index, worldpkg in enumerate(worldDeps):
- worldBin = str(worldpkg.rstrip().split("/")[1])
- worldBins.append(worldBin)
+ for index, worldpkg in enumerate(binaryDeps):
+ binaryPkg = str(worldpkg.rstrip().split("/")[1])
+ binaryPkgs.append(binaryPkg)
- for index, worldpkg in enumerate(worldBins):
+ for index, worldpkg in enumerate(binaryPkgs):
subprocess.call(['qtbz2', '-x'] + str(worldpkg + '.tbz2').split())
CATEGORY = subprocess.check_output(['qxpak', '-x', '-O'] + str(worldpkg + '.xpak').split() + ['CATEGORY'])
os.remove(str(worldpkg + '.xpak'))