summaryrefslogtreecommitdiff
path: root/src/backend/ebuildsearch.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-30 14:41:20 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-30 14:41:20 +0000
commit515171c670ed6ae373002196b8cd3dd1154cd5cc (patch)
tree24c23352ea23f85f95cb065d200621949fd986c7 /src/backend/ebuildsearch.py
parent1e64e01b293ecd775af05816cc3d299ebadb5960 (diff)
ui : move package operations into the backend
Diffstat (limited to 'src/backend/ebuildsearch.py')
-rw-r--r--src/backend/ebuildsearch.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backend/ebuildsearch.py b/src/backend/ebuildsearch.py
new file mode 100644
index 0000000..c9b5862
--- /dev/null
+++ b/src/backend/ebuildsearch.py
@@ -0,0 +1,6 @@
+#!/usr/bin/python3
+
+import subprocess
+
+def start(pkgname):
+ subprocess.call(['emerge', '--search', '--getbinpkg'] + list(pkgname))