Skip to content

Commit

Permalink
Get peg from GNU Elpa
Browse files Browse the repository at this point in the history
This is now a dependency of pg, which is a dependency of emacsql-pg.
  • Loading branch information
tarsius committed Jul 14, 2024
1 parent f82804d commit 8e671d3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bin/install-deps
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@

(load (expand-file-name "../../lib/common" load-file-name))

(defvar backports '("cl-generic" "cl-lib" "nadvice" "seq"))
(defvar get-from-gnu-elpa
'(;; Backports for older Emacs releases.
"cl-generic" "cl-lib" "nadvice" "seq"
;; Other packages distributed on GNU Elpa for older Emacs releases,
;; which the Emacsmirror does not mirror.
"peg"))

(defun main ()
(let ((file (expand-file-name "default.mk"))
Expand All @@ -15,7 +20,7 @@
(insert-file-contents file)
(while (re-search-forward "^DEPS +\\+?= +\\([^/\n]+\\)" nil t)
(let* ((dep (match-string 1)))
(if (member dep backports)
(if (member dep get-from-gnu-elpa)
(run "git" "clone" "--depth" "1"
"--single-branch" "--branch" (concat "externals/" dep)
"https://git.savannah.gnu.org/git/emacs/elpa.git"
Expand Down

0 comments on commit 8e671d3

Please sign in to comment.