summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:37:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:37:38 +0000
commit1bb1eb3216267a8b9b1b9c25e163f76ba8072799 (patch)
tree1f433f1c2dd749f9fe71a149d917a0e7ffed0428
parent9bb89285b638c1b2fb86a8d3234a176b5688009a (diff)
move killPortage -> killemerge
-rw-r--r--src/backend/__init__.py2
-rw-r--r--src/backend/autoremove.py4
-rw-r--r--src/backend/installPkg.py4
-rw-r--r--src/backend/killemerge.py (renamed from src/backend/killPortage.py)0
-rw-r--r--src/backend/uninstallAll.py4
-rw-r--r--src/backend/upgradePkg.py4
6 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/__init__.py b/src/backend/__init__.py
index 3b6ff15..442e116 100644
--- a/src/backend/__init__.py
+++ b/src/backend/__init__.py
@@ -4,7 +4,7 @@ from .getenv import *
from .getfs import *
from .installPkg import *
from .installSrc import *
-from .killPortage import *
+from .killemerge import *
from .purgeenv import *
from .recoverDatabase import *
from .resolveDeps import *
diff --git a/src/backend/autoremove.py b/src/backend/autoremove.py
index 6b8938a..139c850 100644
--- a/src/backend/autoremove.py
+++ b/src/backend/autoremove.py
@@ -5,7 +5,7 @@ import io
import subprocess
import sys
import sisyphus.checkenv
-import sisyphus.killPortage
+import sisyphus.killemerge
import sisyphus.syncDatabase
def start():
@@ -19,7 +19,7 @@ def start():
def startx():
portageExec = subprocess.Popen(['emerge', '--depclean'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killPortage.cliExec, portageExec)
+ atexit.register(sisyphus.killemerge.cliExec, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
print(portageOutput.rstrip())
diff --git a/src/backend/installPkg.py b/src/backend/installPkg.py
index fd6035a..55af933 100644
--- a/src/backend/installPkg.py
+++ b/src/backend/installPkg.py
@@ -10,7 +10,7 @@ import wget
import sisyphus.checkenv
import sisyphus.getenv
import sisyphus.getfs
-import sisyphus.killPortage
+import sisyphus.killemerge
import sisyphus.resolveDeps
import sisyphus.syncDatabase
import sisyphus.updateAll
@@ -80,7 +80,7 @@ def guiExec(pkgname):
portageExec = subprocess.Popen(['emerge', '--quiet', '--verbose', '--usepkg', '--usepkgonly', '--rebuilt-binaries', '--with-bdeps=y', '--misspell-suggestion=n', '--fuzzy-search=n'] + pkgname, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killPortage.cliExec, portageExec)
+ atexit.register(sisyphus.killemerge.cliExec, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
print(portageOutput.rstrip())
diff --git a/src/backend/killPortage.py b/src/backend/killemerge.py
index c588252..c588252 100644
--- a/src/backend/killPortage.py
+++ b/src/backend/killemerge.py
diff --git a/src/backend/uninstallAll.py b/src/backend/uninstallAll.py
index e5c336d..c7eea8c 100644
--- a/src/backend/uninstallAll.py
+++ b/src/backend/uninstallAll.py
@@ -5,7 +5,7 @@ import io
import subprocess
import sys
import sisyphus.checkenv
-import sisyphus.killPortage
+import sisyphus.killemerge
import sisyphus.syncDatabase
def cliExec(pkgname):
@@ -27,7 +27,7 @@ def cliExecForce(pkgname):
def guiExec(pkgname):
portageExec = subprocess.Popen(['emerge', '--depclean'] + pkgname, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killPortage.cliExec, portageExec)
+ atexit.register(sisyphus.killemerge.cliExec, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
print(portageOutput.rstrip())
diff --git a/src/backend/upgradePkg.py b/src/backend/upgradePkg.py
index d910df3..63a6973 100644
--- a/src/backend/upgradePkg.py
+++ b/src/backend/upgradePkg.py
@@ -10,7 +10,7 @@ import wget
import sisyphus.checkenv
import sisyphus.getenv
import sisyphus.getfs
-import sisyphus.killPortage
+import sisyphus.killemerge
import sisyphus.resolveDeps
import sisyphus.syncDatabase
import sisyphus.updateAll
@@ -84,7 +84,7 @@ def guiExec():
portageExec = subprocess.Popen(['emerge', '--quiet', '--verbose', '--update', '--deep', '--newuse', '--usepkg', '--usepkgonly', '--rebuilt-binaries', '--backtrack=100', '--with-bdeps=y', '--misspell-suggestion=n', '--fuzzy-search=n', '@world'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killPortage.cliExec, portageExec)
+ atexit.register(sisyphus.killemerge.cliExec, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
print(portageOutput.rstrip())