From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/markdown-mode/
Date: Sun, 21 May 2023 14:56:27 +0000 (UTC) [thread overview]
Message-ID: <1684680985.a87eee1bf0e4a9bf25a191825ce25d4655da34c3.xgqt@gentoo> (raw)
commit: a87eee1bf0e4a9bf25a191825ce25d4655da34c3
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun May 21 14:53:23 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun May 21 14:56:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87eee1b
app-emacs/markdown-mode: edit-indirect optfeature; format
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../markdown-mode/markdown-mode-2.5-r1.ebuild | 33 ++++++++++++++++------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild b/app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild
index 82e1e0ff7742..e11c0d58dab2 100644
--- a/app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild
+++ b/app-emacs/markdown-mode/markdown-mode-2.5-r1.ebuild
@@ -3,11 +3,12 @@
EAPI=8
-inherit elisp
+inherit elisp optfeature
DESCRIPTION="Major mode for editing Markdown-formatted text files"
HOMEPAGE="https://jblevins.org/projects/markdown-mode/"
-SRC_URI="https://github.com/jrblevin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/jrblevin/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
@@ -15,19 +16,33 @@ KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
-RDEPEND="|| (
+RDEPEND="
+ || (
dev-python/markdown2
dev-python/markdown
virtual/pandoc
- )"
-BDEPEND="test? (
- virtual/pandoc
- || ( app-text/aspell[l10n_en] app-text/hunspell[l10n_en] )
-)"
+ )
+"
+BDEPEND="
+ test? (
+ virtual/pandoc
+ || (
+ app-text/aspell[l10n_en]
+ app-text/hunspell[l10n_en]
+ )
+ )
+"
PATCHES=(
"${FILESDIR}"/${PN}-2.5-markdown-command.patch
"${FILESDIR}"/${PN}-2.5-test.patch
)
+
+DOCS=( CHANGES.md CONTRIBUTING.md README.md )
SITEFILE="50${PN}-gentoo.el"
-DOCS="CHANGES.md CONTRIBUTING.md README.md"
+
+pkg_postinst() {
+ elisp_pkg_postinst
+
+ optfeature "editing Markdown source code blocks" app-emacs/edit-indirect
+}
next reply other threads:[~2023-05-21 14:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-21 14:56 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-14 17:54 [gentoo-commits] repo/gentoo:master commit in: app-emacs/markdown-mode/ Arthur Zamarin
2023-10-01 18:07 Arthur Zamarin
2023-08-31 21:22 Maciej Barć
2023-08-31 21:22 Maciej Barć
2023-03-23 9:00 Sam James
2022-08-16 20:47 Sam James
2022-06-07 19:27 Maciej Barć
2022-02-16 11:36 Ulrich Müller
2021-04-12 17:52 Ulrich Müller
2018-05-18 12:34 Aaron Bauman
2018-02-26 7:39 Naohiro Aota
2018-02-26 7:33 Naohiro Aota
2016-05-29 13:51 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1684680985.a87eee1bf0e4a9bf25a191825ce25d4655da34c3.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox