all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#68761: [PATCH] Record dependencies in packages installed via package-vc
@ 2024-01-27 16:22 Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-02-06 20:05 ` Philip Kaludercic
  0 siblings, 1 reply; 9+ messages in thread
From: Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-01-27 16:22 UTC (permalink / raw)
  To: 68761

[-- Attachment #1: Type: text/plain, Size: 79 bytes --]


The dependency list wasn't getting recorded in the package's `-pkg.el` file.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1009 bytes --]

From edc9f75958d5feb2a82c53879e9dde4c51921bb6 Mon Sep 17 00:00:00 2001
From: Steven Allen <steven@stebalien.com>
Date: Sat, 27 Jan 2024 08:17:08 -0800
Subject: [PATCH] Record dependencies in packages installed via package-vc

* lisp/emacs-lisp/package-vc.el (package-vc--unpack-1): Record a
package's declared dependencies in the package's metadata ("-pkg.el").
---
 lisp/emacs-lisp/package-vc.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index db0cc515e46..fc402716dab 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -532,6 +532,7 @@ package-vc--unpack-1
                 (setq deps))))))
       (dolist (dep deps)
         (cl-callf version-to-list (cadr dep)))
+      (setf (package-desc-reqs pkg-desc) deps)
       (setf missing (package-vc-install-dependencies (delete-dups deps)))
       (setf missing (delq (assq (package-desc-name pkg-desc)
                                 missing)
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-10 15:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-27 16:22 bug#68761: [PATCH] Record dependencies in packages installed via package-vc Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-06 20:05 ` Philip Kaludercic
2024-02-06 20:15   ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-07  7:18     ` Philip Kaludercic
2024-02-07 12:57       ` Eli Zaretskii
2024-02-07 17:07         ` Philip Kaludercic
2024-02-07 17:18           ` Eli Zaretskii
2024-02-07 18:42             ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-10 15:54               ` Philip Kaludercic

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.