summaryrefslogtreecommitdiff
path: root/src/backend/searchebuild.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-18 11:18:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-18 11:18:29 +0100
commitf28b67f3d6910f71e20da86367205f3c3660ff72 (patch)
treee911759abc66c51e8b4eb7d55ab3146bf0b45c3b /src/backend/searchebuild.py
parentef7479ddce20795821190197622df79ca4259f64 (diff)
fix imports in dbsearch (no need to import the whole thing), rename it so we have something uniform
Diffstat (limited to 'src/backend/searchebuild.py')
-rw-r--r--src/backend/searchebuild.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backend/searchebuild.py b/src/backend/searchebuild.py
new file mode 100644
index 0000000..c9b5862
--- /dev/null
+++ b/src/backend/searchebuild.py
@@ -0,0 +1,6 @@
+#!/usr/bin/python3
+
+import subprocess
+
+def start(pkgname):
+ subprocess.call(['emerge', '--search', '--getbinpkg'] + list(pkgname))