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 /ebuild-mode.el
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>
Diffstat (limited to 'ebuild-mode.el')
-rw-r--r--ebuild-mode.el7
1 files changed, 6 insertions, 1 deletions
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.