summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ebuild-mode.el7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7959f17..b76a390 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-09-01 Ulrich Müller <ulm@gentoo.org>
+
+ * ebuild-mode.el (ebuild-mode-insert-skeleton): Add S and BDEPEND.
+ Bug 729280.
+
2023-08-29 Ulrich Müller <ulm@gentoo.org>
* Version 1.66 released.
diff --git a/ebuild-mode.el b/ebuild-mode.el
index 653abb7..7c8d461 100644
--- a/ebuild-mode.el
+++ b/ebuild-mode.el
@@ -744,6 +744,10 @@ that shall be manipulated."
(completing-read "Source URI: "
(mapcar 'list ebuild-mode-protocols-src_uri))
"\"\n"
+ "S=\""
+ (completing-read "S (null string for default): "
+ '(("${WORKDIR}") ("${WORKDIR}/${PN}")))
+ & "\"\n" | -3
"\n"
;; second variables block
"LICENSE=\""
@@ -773,7 +777,8 @@ that shall be manipulated."
"\n"
;; dependencies
"RDEPEND=\"\"\n"
- "DEPEND=\"${RDEPEND}\"\n")
+ "DEPEND=\"${RDEPEND}\"\n"
+ "BDEPEND=\"\"\n")
;;; Minor mode for editing files in an ebuild repository.