emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/system-packages ccc2a6b 041/117: Add support for xbps,


From: Stefan Monnier
Subject: [elpa] externals/system-packages ccc2a6b 041/117: Add support for xbps, used by void linux
Date: Fri, 14 Dec 2018 17:02:04 -0500 (EST)

branch: externals/system-packages
commit ccc2a6b3794b6ada59905ee609fe9e1d973622aa
Author: Alex Branham <address@hidden>
Commit: Alex Branham <address@hidden>

    Add support for xbps, used by void linux
---
 system-packages.el | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/system-packages.el b/system-packages.el
index 61fd923..97b6ad3 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -190,7 +190,27 @@
           (remove-orphaned . "dnf autoremove")
           (list-installed-packages . "dnf list --installed")
           (list-installed-packages-all . nil)
-          (list-dependencies-of . "rpm -qR")))))
+          (list-dependencies-of . "rpm -qR")))
+    ;; Void
+    ;; xbps is the name of the package manager, but that doesn't appear as an
+    ;; executable, so let's just call it xbps-install:
+    (xbps-install .
+                  ((default-sudo . t)
+                   (install . "xbps-install")
+                   (search . "xbps-query -Rs")
+                   (uninstall . "xbps-remove -R")
+                   (update . ("xbps-install -Su"))
+                   (clean-cache . "xbps-remove -O")
+                   (log . nil)
+                   (get-info . "xbps-query")
+                   (get-info-remote . "xbps-query -R")
+                   (list-files-provided-by . "xbps-query -f")
+                   (verify-all-packages . nil)
+                   (verify-all-dependencies . "xbps-pkgdb -a")
+                   (remove-orphaned . "dnf autoremove")
+                   (list-installed-packages . "xbps-query -l ")
+                   (list-installed-packages-all . "xbps-query -l ")
+                   (list-dependencies-of . "xbps-query -x")))))
 
 (defcustom system-packages-packagemanager
   (cl-loop for (name . prop) in system-packages-supported-package-managers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]