summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-05-29 15:31:46 +0200
committerHans de Graaff <graaff@gentoo.org>2016-05-29 15:32:10 +0200
commit725bcc657fc026420b7e851cdc4163784889f36d (patch)
treebadd61088237c3f55a3f138e513b57bf2621880d /app-emacs/markdown-mode/markdown-mode-2.1.ebuild
parentx11-apps/whyteboard: Cleanup due to #269417 (diff)
downloadgentoo-725bcc657fc026420b7e851cdc4163784889f36d.tar.gz
gentoo-725bcc657fc026420b7e851cdc4163784889f36d.tar.bz2
gentoo-725bcc657fc026420b7e851cdc4163784889f36d.zip
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
Diffstat (limited to 'app-emacs/markdown-mode/markdown-mode-2.1.ebuild')
-rw-r--r--app-emacs/markdown-mode/markdown-mode-2.1.ebuild23
1 files changed, 23 insertions, 0 deletions
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 000000000000..2770855453bd
--- /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 )