mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emacs/markdown-mode: bump to 2.7
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST markdown-mode-2.6.tar.gz 222181 BLAKE2B 173ba3e152bc4fa45548833bbf87e4e00a56fa2150874b8c3ef395e8364cabeebbe7ab1e582dd55bd531b2a130191b3e79db410b126b6edc8f0573f742b47a33 SHA512 fbfb7a98bb0c562d501d6b1c40987751233ccf386864db43296e02bcaf7d2b8c8d634f1411b91662947e90f33466728101ec0018d2abf46df936f7b19a79b371
|
||||
DIST markdown-mode-2.7.gh.tar.gz 229464 BLAKE2B df4894fcf65649b9e7cf671f36b9724f8d754530d6398812e1b547ea3c583a48826656c723d17ec651a561a85a45308105cae18fbec127c4b7710964202b994e SHA512 744174a81240e3c6a4d92a94928cce7070f63c86805639bbb8f1b0a29b33ca3d079ac5956c30d280db95228b73a4c6044b276e0376b407128054fd7fa997919f
|
||||
|
||||
13
app-emacs/markdown-mode/files/markdown-mode-2.7-test.patch
Normal file
13
app-emacs/markdown-mode/files/markdown-mode-2.7-test.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
This test seems to expect interactive input, therefore disable.
|
||||
|
||||
--- a/tests/markdown-test.el
|
||||
+++ b/tests/markdown-test.el
|
||||
@@ -7102,7 +7102,7 @@ Detail: https://github.com/jrblevin/markdown-mode/pull/590"
|
||||
(should (string= (markdown-wiki-link-link) "Zettel Markdown")))
|
||||
(kill-buffer)))))
|
||||
|
||||
-(ert-deftest test-markdown-ext/wiki-link-search-under-project ()
|
||||
+(defun --test-markdown-ext/wiki-link-search-under-project ()
|
||||
"Test that searching link under project root."
|
||||
(let ((markdown-enable-wiki-links t)
|
||||
(markdown-link-space-sub-char " ")
|
||||
57
app-emacs/markdown-mode/markdown-mode-2.7.ebuild
Normal file
57
app-emacs/markdown-mode/markdown-mode-2.7.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp optfeature
|
||||
|
||||
DESCRIPTION="Major mode for editing Markdown-formatted text files"
|
||||
HOMEPAGE="https://jblevins.org/projects/markdown-mode/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/jrblevin/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/jrblevin/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
dev-python/markdown2
|
||||
dev-python/markdown
|
||||
virtual/pandoc
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
virtual/pandoc
|
||||
|| (
|
||||
app-text/aspell[l10n_en]
|
||||
app-text/hunspell[l10n_en]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/markdown-mode-2.5-markdown-command.patch"
|
||||
"${FILESDIR}/markdown-mode-2.6-remove-failing-tests.patch"
|
||||
"${FILESDIR}/markdown-mode-2.7-test.patch"
|
||||
)
|
||||
|
||||
DOCS=( CHANGES.md CONTRIBUTING.md README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
pkg_postinst() {
|
||||
elisp_pkg_postinst
|
||||
|
||||
optfeature "editing Markdown source code blocks" app-emacs/edit-indirect
|
||||
}
|
||||
Reference in New Issue
Block a user