summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-09-01 16:53:46 +0200
committerUlrich Müller <ulm@gentoo.org>2023-09-01 17:02:07 +0200
commit3e0b1c8aa981f8e57e52e3467c11954c22f7c8a4 (patch)
tree2a88edd60e5adefbe633cf196e124d626e9c2921
parentVersion 1.66 released (diff)
downloadebuild-mode-3e0b1c8aa981f8e57e52e3467c11954c22f7c8a4.tar.gz
ebuild-mode-3e0b1c8aa981f8e57e52e3467c11954c22f7c8a4.tar.bz2
ebuild-mode-3e0b1c8aa981f8e57e52e3467c11954c22f7c8a4.zip
Add S and BDEPEND to ebuild skeleton
* ebuild-mode.el (ebuild-mode-insert-skeleton): Add S and BDEPEND. Bug 729280. Bug: https://bugs.gentoo.org/729280 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-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.