summaryrefslogtreecommitdiff
path: root/app-emacs/markdown-mode
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
commit24fd814c326e282c4321965c31f341dad77e270d (patch)
tree033d63b33c21a3209964ab56005bb9bdd523630d /app-emacs/markdown-mode
parent129160ec854dca4c3fedb5bcfbcb56930371da0f (diff)
gentoo resync : 08.01.2021
Diffstat (limited to 'app-emacs/markdown-mode')
-rw-r--r--app-emacs/markdown-mode/Manifest3
-rw-r--r--app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch14
-rw-r--r--app-emacs/markdown-mode/markdown-mode-2.4.ebuild28
3 files changed, 45 insertions, 0 deletions
diff --git a/app-emacs/markdown-mode/Manifest b/app-emacs/markdown-mode/Manifest
index c82bfce0db71..8c9f8425cf72 100644
--- a/app-emacs/markdown-mode/Manifest
+++ b/app-emacs/markdown-mode/Manifest
@@ -1,4 +1,7 @@
AUX 50markdown-mode-gentoo.el 252 BLAKE2B 1b718b5fb40ac043f74647d1bbf344bf07a63e530bd4ab3a52231c148b3bf824815a5e15482481ef4a9a183acc8894b9edcf3726af270dcbcfd9b42d502105b2 SHA512 403f80133fddcd2647d1e0c077628bb984e33b89dd68fdee05f87a13aa6b89e344c76944d3885789789884e7298dc9c1ced716fe721b1b2ed6dcf9bbb0f24f91
+AUX markdown-mode-2.4-markdown-command.patch 728 BLAKE2B 4ad9e86528da9cda91871fe2fb4f94d753ef348c35384bc30305cb369197d4c038d0e76c904da6da38887562fbfbda2c78ba1869d9e34f12f7bac77ff0468304 SHA512 a99f6e91e58570e8141c7ca2f90fa4e5009cf57a2fc3e6c7e5b4a916932e1838e1a46ecca40e36de87f0c33115f024ae1fb2d50eca6031374bd18bfce7c7ee33
DIST markdown-mode-2.3.el 387130 BLAKE2B acb583126a6f952835537f9e386df5f9a8fda5e49a14520e153c0cc99fc58cca596607b282f9f7070b001fe8165d50adb9abb81de1b03ae102cf2061de587810 SHA512 0820c5ae585e0f5ee8fef9eca40f2de2ad632a2559ea7f447cd19ded592de38bf2f3df8491796c15eb06723fe2af904335535af145356c7a7f9f855612263aaf
+DIST markdown-mode-2.4.tar.gz 211229 BLAKE2B 49a369d1b418634449cdac3103e1b107b5dd839edba6a3329539b80cf21bfb0f01aa436ec6deb256bfb5f03ef73b716943730adc4a87b52262dfccbd7923556e SHA512 8bf2acd7f402c036c57521340d26cea150935964f04f1343c2e17147d63226c815150be62c0b79a2ba48e55b3155d94f38caf1ec43c21d4f32dee6e73cc261a0
EBUILD markdown-mode-2.3.ebuild 544 BLAKE2B 71db933d1f2befe6058416fa91aa09135df4e1e24f195a5ef717717aecb078a91fa12c977dde87585435f9e8f36b73fb989d3c4b1da20a21963214ed6f277583 SHA512 a74d3433cbf3cee27233b2f9d55e0d238c667840f3feafe2e2a2fa1a0ac7e7521e710ed12acd12e9a5ff05cb113fee2d3c682967b380bc1a8d31288a89591914
+EBUILD markdown-mode-2.4.ebuild 712 BLAKE2B b1ad8291e344d90c847d234d1158db0ada5a60953edf63e00c857780fb36917ec41bf70349a19bc265c5427fbc53ed51777ab1624934986ced9c7b8ae634eb22 SHA512 e30b4f400171a2f9d34590b0e305411dc0ecf06d410cad60e729593825b4176dd5d1f849022807644ba5529bef2698bcf8c317a68a5598cba41faecb99776d01
MISC metadata.xml 357 BLAKE2B e316ea7b6be23cb10196d2ce47b4eb745e69fb92ceabceac4e3f33d295ff5dbd0b9db66f316895849ee54b53880b41d5708e6233f48bfc8f073128c543f6c427 SHA512 0bb062f8a6e739e53898467f8314b799b1997a9161c71cd39287da713e18f748080674ec34d56ca3e478dafbcb8462962d5c8949fb1e8bbc3cf866a2b95301ea
diff --git a/app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch b/app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch
new file mode 100644
index 000000000000..1ae481d6c094
--- /dev/null
+++ b/app-emacs/markdown-mode/files/markdown-mode-2.4-markdown-command.patch
@@ -0,0 +1,14 @@
+dev-python/markdown2 and dev-python/markdown install their commands
+as markdown2 and markdown_py, respectively.
+
+--- markdown-mode-2.4-orig/markdown-mode.el
++++ markdown-mode-2.4/markdown-mode.el
+@@ -90,7 +90,7 @@
+ :group 'text
+ :link '(url-link "https://jblevins.org/projects/markdown-mode/"))
+
+-(defcustom markdown-command (let ((command (cl-loop for cmd in '("markdown" "pandoc")
++(defcustom markdown-command (let ((command (cl-loop for cmd in '("markdown" "pandoc" "markdown2" "markdown_py")
+ when (executable-find cmd)
+ return (file-name-nondirectory it))))
+ (or command "markdown"))
diff --git a/app-emacs/markdown-mode/markdown-mode-2.4.ebuild b/app-emacs/markdown-mode/markdown-mode-2.4.ebuild
new file mode 100644
index 000000000000..79c7e94ef8f5
--- /dev/null
+++ b/app-emacs/markdown-mode/markdown-mode-2.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+NEED_EMACS=25.1
+
+inherit elisp
+
+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"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="|| (
+ app-text/pandoc
+ dev-python/markdown2
+ dev-python/markdown
+ )"
+BDEPEND="test? ( app-text/pandoc )"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.4-markdown-command.patch )
+SITEFILE="50${PN}-gentoo.el"
+DOCS="CHANGES.md CONTRIBUTING.md README.md"