* [gentoo-commits] repo/gentoo:master commit in: app-emacs/markdown-mode/files/, app-emacs/markdown-mode/
@ 2016-05-29 13:32 Hans de Graaff
0 siblings, 0 replies; 4+ messages in thread
From: Hans de Graaff @ 2016-05-29 13:32 UTC (permalink / raw
To: gentoo-commits
commit: 725bcc657fc026420b7e851cdc4163784889f36d
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 13:31:46 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun May 29 13:32:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725bcc65
app-emacs/markdown-mode: add 2.1
Backport upstream patch to not add .text to auto-mode-alist.
Add auto-mode-alist entries for .md and .markdown in site-init.
Package-Manager: portage-2.2.28
app-emacs/markdown-mode/Manifest | 1 +
.../markdown-mode/files/50markdown-mode-gentoo.el | 2 ++
.../files/markdown-mode-2.1-text-auto-mode.patch | 23 ++++++++++++++++++++++
app-emacs/markdown-mode/markdown-mode-2.1.ebuild | 23 ++++++++++++++++++++++
4 files changed, 49 insertions(+)
diff --git a/app-emacs/markdown-mode/Manifest b/app-emacs/markdown-mode/Manifest
index 1a40b45..1b6968a 100644
--- a/app-emacs/markdown-mode/Manifest
+++ b/app-emacs/markdown-mode/Manifest
@@ -1,2 +1,3 @@
DIST markdown-mode-1.8.1.el.xz 18152 SHA256 865d83162cfb39ee06a2e46b3d586e71d144d360e8f2f1cdf72bdb5923ededc0 SHA512 1e679a409fa5a7f6f622e4a554d74ea1820ba1e82eb77d3ce6b33d5494350232a2b165c9f002a076d4ce97138584381938d5c2ccac4161131ffba82da5091946 WHIRLPOOL b8b05f9b8ffa1db6c20fda46e6058fb7b05ba64f9bd921ae310d274c4be0887c29ab180cbd984c1ea21020be4e8af619a91e4a8c0a8a33d280298ba9cfbec162
DIST markdown-mode-2.0.el.xz 39508 SHA256 a24f06f4aa2f1d4847e045a54c25c73f503ed89c0f8954b934b2b6c658357819 SHA512 eaad1561c5a84f47cd07318f0c80454d28a59becc0372453ec1412511879335a5717d1531895fe969c5d2fe7a4aac5a9e55ee727dcee621ba203737ca9182f3d WHIRLPOOL 14d15b9ad20c1f857e99056fbfd5c2305a7ba579a8210a73d10806589e201e5e881a33b49ea31277fe354c2bb8cdab090811c8c27aca64811248596927c82994
+DIST markdown-mode-2.1.el.xz 50484 SHA256 c4b4fb632d1354ea5ed6d8500a85326c05e24d0343cc4fd5d54860f70dc67022 SHA512 3f0d68b03408281e49c9dbf4d26b8c1f766aa675efea6789b13722c7b1d831af35d3ea30ac071be00242279bca31d04fe92a28b901698fe2072d4504d9901253 WHIRLPOOL 909b542f6523b47bae8b27445b3d8fc0f82a6fe6867e16b471c68f067fbc4f7918f482b0e373ea0b5d0763bbf5b0275e15427ac76007a6329b3aa8dfcebebdeb
diff --git a/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el b/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el
index 6a83e60..fb4a5cb 100644
--- a/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el
+++ b/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el
@@ -1,3 +1,5 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'markdown-mode "markdown-mode"
"Major mode for editing Markdown files" t)
+(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
+(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
diff --git a/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch b/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch
new file mode 100644
index 0000000..91449c6
--- /dev/null
+++ b/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch
@@ -0,0 +1,23 @@
+From a70e74e0eedb436c4126ac69b0beaa4ab848b78e Mon Sep 17 00:00:00 2001
+From: Steve Purcell <steve@sanityinc.com>
+Date: Mon, 14 Mar 2016 09:18:16 +1300
+Subject: Remove autoload for .text
+
+While .md and .markdown are clearly markdown files, the handling of .text is not a choice that markdown-mode should be making on the user's behalf without any opportunity to prevent it.
+
+diff --git a/markdown-mode.el b/markdown-mode.el
+index b7a32cc..978e040 100644
+--- a/markdown-mode.el
++++ b/markdown-mode.el
+@@ -6634,8 +6634,6 @@ BEG and END are the limits of scanned region."
+ ;;;###autoload
+ (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
+ ;;;###autoload
+-(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
+-;;;###autoload
+ (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
+
+ \f
+--
+cgit v0.10.2
+
diff --git a/app-emacs/markdown-mode/markdown-mode-2.1.ebuild b/app-emacs/markdown-mode/markdown-mode-2.1.ebuild
new file mode 100644
index 0000000..27708554
--- /dev/null
+++ b/app-emacs/markdown-mode/markdown-mode-2.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing Markdown-formatted text files"
+HOMEPAGE="http://jblevins.org/projects/markdown-mode/"
+# Cannot use this url because its hash differ about every five minutes
+# SRC_URI="http://jblevins.org/git/${PN}.git/snapshot/${P}.tar.gz"
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="|| ( dev-python/markdown2 dev-python/markdown )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+ELISP_PATCHES=( ${P}-text-auto-mode.patch )
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/markdown-mode/files/, app-emacs/markdown-mode/
@ 2019-10-15 7:35 Ulrich Müller
0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Müller @ 2019-10-15 7:35 UTC (permalink / raw
To: gentoo-commits
commit: 66cac74262025afbc7eb89008f0cf0fffed5cb0f
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 15 07:20:45 2019 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 15 07:20:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66cac742
app-emacs/markdown-mode: Remove old.
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-emacs/markdown-mode/Manifest | 1 -
.../files/markdown-mode-2.1-text-auto-mode.patch | 23 ----------------------
app-emacs/markdown-mode/markdown-mode-2.1.ebuild | 21 --------------------
3 files changed, 45 deletions(-)
diff --git a/app-emacs/markdown-mode/Manifest b/app-emacs/markdown-mode/Manifest
index ab06fcbd095..4cfeb84fe30 100644
--- a/app-emacs/markdown-mode/Manifest
+++ b/app-emacs/markdown-mode/Manifest
@@ -1,2 +1 @@
-DIST markdown-mode-2.1.el.xz 50484 BLAKE2B 12ae664f0680a420727148c2ed78275ab7dcdc8ae742a0152f82dc25150cea9bd5d880b9244351792354ac1d64789267163512e55c2b83f64855bbc0ab0ac33e SHA512 3f0d68b03408281e49c9dbf4d26b8c1f766aa675efea6789b13722c7b1d831af35d3ea30ac071be00242279bca31d04fe92a28b901698fe2072d4504d9901253
DIST markdown-mode-2.3.el 387130 BLAKE2B acb583126a6f952835537f9e386df5f9a8fda5e49a14520e153c0cc99fc58cca596607b282f9f7070b001fe8165d50adb9abb81de1b03ae102cf2061de587810 SHA512 0820c5ae585e0f5ee8fef9eca40f2de2ad632a2559ea7f447cd19ded592de38bf2f3df8491796c15eb06723fe2af904335535af145356c7a7f9f855612263aaf
diff --git a/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch b/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch
deleted file mode 100644
index 91449c6daa5..00000000000
--- a/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From a70e74e0eedb436c4126ac69b0beaa4ab848b78e Mon Sep 17 00:00:00 2001
-From: Steve Purcell <steve@sanityinc.com>
-Date: Mon, 14 Mar 2016 09:18:16 +1300
-Subject: Remove autoload for .text
-
-While .md and .markdown are clearly markdown files, the handling of .text is not a choice that markdown-mode should be making on the user's behalf without any opportunity to prevent it.
-
-diff --git a/markdown-mode.el b/markdown-mode.el
-index b7a32cc..978e040 100644
---- a/markdown-mode.el
-+++ b/markdown-mode.el
-@@ -6634,8 +6634,6 @@ BEG and END are the limits of scanned region."
- ;;;###autoload
- (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
- ;;;###autoload
--(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
--;;;###autoload
- (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
-
- \f
---
-cgit v0.10.2
-
diff --git a/app-emacs/markdown-mode/markdown-mode-2.1.ebuild b/app-emacs/markdown-mode/markdown-mode-2.1.ebuild
deleted file mode 100644
index 571a3cbe3b7..00000000000
--- a/app-emacs/markdown-mode/markdown-mode-2.1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit elisp
-
-DESCRIPTION="Major mode for editing Markdown-formatted text files"
-HOMEPAGE="https://jblevins.org/projects/markdown-mode/"
-# Cannot use this url because its hash differ about every five minutes
-# SRC_URI="http://jblevins.org/git/${PN}.git/snapshot/${P}.tar.gz"
-SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="|| ( dev-python/markdown2 dev-python/markdown )"
-
-SITEFILE="50${PN}-gentoo.el"
-ELISP_PATCHES="${P}-text-auto-mode.patch"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/markdown-mode/files/, app-emacs/markdown-mode/
@ 2021-01-02 9:17 Ulrich Müller
0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Müller @ 2021-01-02 9:17 UTC (permalink / raw
To: gentoo-commits
commit: 1ae3e0e2c187a73cf53eb7e1d329ab8322abca00
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 2 09:17:19 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 2 09:17:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ae3e0e2
app-emacs/markdown-mode: Version bump to 2.4
Closes: https://bugs.gentoo.org/763042
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-emacs/markdown-mode/Manifest | 1 +
.../files/markdown-mode-2.4-markdown-command.patch | 14 +++++++++++
app-emacs/markdown-mode/markdown-mode-2.4.ebuild | 28 ++++++++++++++++++++++
3 files changed, 43 insertions(+)
diff --git a/app-emacs/markdown-mode/Manifest b/app-emacs/markdown-mode/Manifest
index 4cfeb84fe30..bb12eeefa18 100644
--- a/app-emacs/markdown-mode/Manifest
+++ b/app-emacs/markdown-mode/Manifest
@@ -1 +1,2 @@
DIST markdown-mode-2.3.el 387130 BLAKE2B acb583126a6f952835537f9e386df5f9a8fda5e49a14520e153c0cc99fc58cca596607b282f9f7070b001fe8165d50adb9abb81de1b03ae102cf2061de587810 SHA512 0820c5ae585e0f5ee8fef9eca40f2de2ad632a2559ea7f447cd19ded592de38bf2f3df8491796c15eb06723fe2af904335535af145356c7a7f9f855612263aaf
+DIST markdown-mode-2.4.tar.gz 211229 BLAKE2B 49a369d1b418634449cdac3103e1b107b5dd839edba6a3329539b80cf21bfb0f01aa436ec6deb256bfb5f03ef73b716943730adc4a87b52262dfccbd7923556e SHA512 8bf2acd7f402c036c57521340d26cea150935964f04f1343c2e17147d63226c815150be62c0b79a2ba48e55b3155d94f38caf1ec43c21d4f32dee6e73cc261a0
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 00000000000..1ae481d6c09
--- /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 00000000000..79c7e94ef8f
--- /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"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/markdown-mode/files/, app-emacs/markdown-mode/
@ 2023-08-31 21:22 Maciej Barć
0 siblings, 0 replies; 4+ messages in thread
From: Maciej Barć @ 2023-08-31 21:22 UTC (permalink / raw
To: gentoo-commits
commit: 720dff68299d7aa2afdd9247bb44f01e64d03129
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 31 21:00:26 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 31 21:21:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720dff68
app-emacs/markdown-mode: bump to 2.6
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/markdown-mode/Manifest | 1 +
.../markdown-mode-2.6-remove-failing-tests.patch | 91 ++++++++++++++++++++++
app-emacs/markdown-mode/markdown-mode-2.6.ebuild | 55 +++++++++++++
3 files changed, 147 insertions(+)
diff --git a/app-emacs/markdown-mode/Manifest b/app-emacs/markdown-mode/Manifest
index 3303ac5e5648..6494bddaca23 100644
--- a/app-emacs/markdown-mode/Manifest
+++ b/app-emacs/markdown-mode/Manifest
@@ -1 +1,2 @@
DIST markdown-mode-2.5.tar.gz 218329 BLAKE2B ea4f3e316383951c00e6a68e388db228567b7a06ac87bb268f28c026a8518e9a8516f27d137c79c24727bd71c785a6e9f1217d160e472abc7bdba2c5bda17f16 SHA512 6bb4d79a5a4c3d3891fc8be4d357fa6dccae9f3eeb8f6c04f840da6cfe6875090ebcc0b1a74961e2a4ac1a59389781fa37ef2420383019983705c2cc66db5b8e
+DIST markdown-mode-2.6.tar.gz 222181 BLAKE2B 173ba3e152bc4fa45548833bbf87e4e00a56fa2150874b8c3ef395e8364cabeebbe7ab1e582dd55bd531b2a130191b3e79db410b126b6edc8f0573f742b47a33 SHA512 fbfb7a98bb0c562d501d6b1c40987751233ccf386864db43296e02bcaf7d2b8c8d634f1411b91662947e90f33466728101ec0018d2abf46df936f7b19a79b371
diff --git a/app-emacs/markdown-mode/files/markdown-mode-2.6-remove-failing-tests.patch b/app-emacs/markdown-mode/files/markdown-mode-2.6-remove-failing-tests.patch
new file mode 100644
index 000000000000..4d1396dcb12e
--- /dev/null
+++ b/app-emacs/markdown-mode/files/markdown-mode-2.6-remove-failing-tests.patch
@@ -0,0 +1,91 @@
+--- a/tests/markdown-test.el
++++ b/tests/markdown-test.el
+@@ -6756,46 +6756,6 @@ x|"
+ (markdown-indent-region (line-beginning-position) (line-end-position) nil)
+ (should (string-equal (buffer-string) " #. abc\n def\n"))))
+
+-(ert-deftest test-markdown-ext/wiki-link-rules ()
+- "Test wiki link search rules and font lock for missing pages."
+- (let ((markdown-enable-wiki-links t)
+- (markdown-wiki-link-fontify-missing t)
+- (markdown-wiki-link-search-type '(project)))
+- (progn
+- (find-file (expand-file-name "wiki/root" markdown-test-dir))
+- (unwind-protect
+- (progn
+- (markdown-mode)
+- ;; search rules
+- (should (string-match-p
+- "/sub/foo$"
+- (markdown-convert-wiki-link-to-filename "foo")))
+- (should (string-equal
+- (markdown-convert-wiki-link-to-filename "doesnotexist")
+- "doesnotexist"))
+- ;; font lock
+- (markdown-test-range-has-property 1 11 'font-lock-face 'markdown-link-face)
+- (markdown-test-range-has-property 14 33 'font-lock-face 'markdown-missing-link-face)
+- (markdown-test-range-has-property 36 42 'font-lock-face 'markdown-link-face)
+- (markdown-test-range-has-property 45 60 'font-lock-face 'markdown-missing-link-face))
+- (kill-buffer)))
+- (progn
+- (find-file (expand-file-name "wiki/sub/foo" markdown-test-dir))
+- (unwind-protect
+- (progn
+- (markdown-mode)
+- ;; search rules
+- (should (string-match-p
+- "/wiki/root$"
+- (markdown-convert-wiki-link-to-filename "root")))
+- (should (string-equal
+- (markdown-convert-wiki-link-to-filename "doesnotexist")
+- "doesnotexist"))
+- ;; font lock
+- (markdown-test-range-has-property 1 16 'font-lock-face 'markdown-missing-link-face)
+- (markdown-test-range-has-property 19 26 'font-lock-face 'markdown-link-face))
+- (kill-buffer)))))
+-
+ (ert-deftest test-markdown-ext/wiki-link-keep-match-data ()
+ "Test that markdown-wiki-link-p keeps expected match data.
+ Detail: https://github.com/jrblevin/markdown-mode/pull/590"
+@@ -7185,41 +7145,6 @@ foo(bar=None)
+ (cl-loop for ov in (overlays-in (car bounds) (cdr bounds))
+ thereis (overlay-get ov 'flyspell-overlay))))
+
+-(ert-deftest test-markdown-flyspell/check-word-p ()
+- "Test for `flyspell'."
+- (skip-unless (executable-find ispell-program-name))
+- (markdown-test-string "aaa
+-
+-```
+-bbb
+-```
+-
+-ccc
+-
+-`ddd`
+-
+-eee
+-
+-<!-- fff -->
+-
+-@ref9999
+-"
+- (flyspell-buffer)
+- (search-forward "aaa")
+- (should (markdown-test-flyspell-incorrect-word-p))
+- (search-forward "bbb") ;; in code block
+- (should-not (markdown-test-flyspell-incorrect-word-p))
+- (search-forward "ccc")
+- (should (markdown-test-flyspell-incorrect-word-p))
+- (search-forward "ddd") ;; in inline code
+- (should-not (markdown-test-flyspell-incorrect-word-p))
+- (search-forward "eee")
+- (should (markdown-test-flyspell-incorrect-word-p))
+- (search-forward "fff") ;; in comment
+- (should-not (markdown-test-flyspell-incorrect-word-p))
+- (search-forward "@ref") ;; pandoc reference
+- (should-not (markdown-test-flyspell-incorrect-word-p))))
+-
+ (ert-deftest test-markdown-flyspell/remove-overlay ()
+ "Test non-dictionary word in code block with `flyspell-mode'.
+ Details: https://github.com/jrblevin/markdown-mode/issues/311"
diff --git a/app-emacs/markdown-mode/markdown-mode-2.6.ebuild b/app-emacs/markdown-mode/markdown-mode-2.6.ebuild
new file mode 100644
index 000000000000..62b49e2f34bc
--- /dev/null
+++ b/app-emacs/markdown-mode/markdown-mode-2.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 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}.git"
+else
+ SRC_URI="https://github.com/jrblevin/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~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}"/${PN}-2.5-markdown-command.patch
+ "${FILESDIR}"/${PN}-2.5-test.patch
+ "${FILESDIR}"/${PN}-2.6-remove-failing-tests.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
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-31 21:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-29 13:32 [gentoo-commits] repo/gentoo:master commit in: app-emacs/markdown-mode/files/, app-emacs/markdown-mode/ Hans de Graaff
-- strict thread matches above, loose matches on Subject: below --
2019-10-15 7:35 Ulrich Müller
2021-01-02 9:17 Ulrich Müller
2023-08-31 21:22 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox