From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-emacs/markdown-mode/Manifest | 7 +++++++ .../markdown-mode/files/50markdown-mode-gentoo.el | 5 +++++ .../files/markdown-mode-2.1-text-auto-mode.patch | 23 +++++++++++++++++++++ app-emacs/markdown-mode/markdown-mode-2.1.ebuild | 21 +++++++++++++++++++ app-emacs/markdown-mode/markdown-mode-2.3.ebuild | 24 ++++++++++++++++++++++ app-emacs/markdown-mode/metadata.xml | 12 +++++++++++ 6 files changed, 92 insertions(+) create mode 100644 app-emacs/markdown-mode/Manifest create mode 100644 app-emacs/markdown-mode/files/50markdown-mode-gentoo.el create mode 100644 app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch create mode 100644 app-emacs/markdown-mode/markdown-mode-2.1.ebuild create mode 100644 app-emacs/markdown-mode/markdown-mode-2.3.ebuild create mode 100644 app-emacs/markdown-mode/metadata.xml (limited to 'app-emacs/markdown-mode') diff --git a/app-emacs/markdown-mode/Manifest b/app-emacs/markdown-mode/Manifest new file mode 100644 index 000000000000..f7589f5fae92 --- /dev/null +++ b/app-emacs/markdown-mode/Manifest @@ -0,0 +1,7 @@ +AUX 50markdown-mode-gentoo.el 252 BLAKE2B 1b718b5fb40ac043f74647d1bbf344bf07a63e530bd4ab3a52231c148b3bf824815a5e15482481ef4a9a183acc8894b9edcf3726af270dcbcfd9b42d502105b2 SHA512 403f80133fddcd2647d1e0c077628bb984e33b89dd68fdee05f87a13aa6b89e344c76944d3885789789884e7298dc9c1ced716fe721b1b2ed6dcf9bbb0f24f91 +AUX markdown-mode-2.1-text-auto-mode.patch 833 BLAKE2B fb0eade55f75123e1166fdc4b59199daf5fd58771a8aadaf890220d84d844657d9f2b3b87c2f5f1db31dfd45042f404d7b4dd248e4d6ce9fc5937579cc21a126 SHA512 72d1206398d3f72a35c20e14f267bbe1419102f479feff55d80054309ff7e7bce291dc50b6e010a34f435f9fbdfe249261f8ab073c986994160f91ed5bf8a8ee +DIST markdown-mode-2.1.el.xz 50484 BLAKE2B 12ae664f0680a420727148c2ed78275ab7dcdc8ae742a0152f82dc25150cea9bd5d880b9244351792354ac1d64789267163512e55c2b83f64855bbc0ab0ac33e SHA512 3f0d68b03408281e49c9dbf4d26b8c1f766aa675efea6789b13722c7b1d831af35d3ea30ac071be00242279bca31d04fe92a28b901698fe2072d4504d9901253 +DIST markdown-mode-2.3.el 387130 BLAKE2B acb583126a6f952835537f9e386df5f9a8fda5e49a14520e153c0cc99fc58cca596607b282f9f7070b001fe8165d50adb9abb81de1b03ae102cf2061de587810 SHA512 0820c5ae585e0f5ee8fef9eca40f2de2ad632a2559ea7f447cd19ded592de38bf2f3df8491796c15eb06723fe2af904335535af145356c7a7f9f855612263aaf +EBUILD markdown-mode-2.1.ebuild 656 BLAKE2B b9f8506be2cf90606894ac35871114b1da8b4efd9d21a187f6812d33a0f7a6161440d6781a30cdfba8b15c8d3532296c2276f702c82b342f0c2a348fe2b76647 SHA512 5da9fda79af6213b5afa30ac58dfc0664f438ac027b840d0481a5637e5b72750b461e57f8f3ecddbe68391f279b1745982b6981003238090a8422c3a088e88ae +EBUILD markdown-mode-2.3.ebuild 544 BLAKE2B 71db933d1f2befe6058416fa91aa09135df4e1e24f195a5ef717717aecb078a91fa12c977dde87585435f9e8f36b73fb989d3c4b1da20a21963214ed6f277583 SHA512 a74d3433cbf3cee27233b2f9d55e0d238c667840f3feafe2e2a2fa1a0ac7e7521e710ed12acd12e9a5ff05cb113fee2d3c682967b380bc1a8d31288a89591914 +MISC metadata.xml 357 BLAKE2B e316ea7b6be23cb10196d2ce47b4eb745e69fb92ceabceac4e3f33d295ff5dbd0b9db66f316895849ee54b53880b41d5708e6233f48bfc8f073128c543f6c427 SHA512 0bb062f8a6e739e53898467f8314b799b1997a9161c71cd39287da713e18f748080674ec34d56ca3e478dafbcb8462962d5c8949fb1e8bbc3cf866a2b95301ea diff --git a/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el b/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el new file mode 100644 index 000000000000..fb4a5cba03e8 --- /dev/null +++ b/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el @@ -0,0 +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 000000000000..91449c6daa54 --- /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 +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)) + + +-- +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 000000000000..571a3cbe3b7c --- /dev/null +++ b/app-emacs/markdown-mode/markdown-mode-2.1.ebuild @@ -0,0 +1,21 @@ +# 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" diff --git a/app-emacs/markdown-mode/markdown-mode-2.3.ebuild b/app-emacs/markdown-mode/markdown-mode-2.3.ebuild new file mode 100644 index 000000000000..1a8f2d0437c3 --- /dev/null +++ b/app-emacs/markdown-mode/markdown-mode-2.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 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/" +SRC_URI="https://stable.melpa.org/packages/${P}.el" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="|| ( dev-python/markdown2 dev-python/markdown )" + +S="${WORKDIR}" + +SITEFILE="50${PN}-gentoo.el" + +src_unpack() { + cp "${DISTDIR}"/${P}.el ${PN}.el || die +} diff --git a/app-emacs/markdown-mode/metadata.xml b/app-emacs/markdown-mode/metadata.xml new file mode 100644 index 000000000000..40217af13785 --- /dev/null +++ b/app-emacs/markdown-mode/metadata.xml @@ -0,0 +1,12 @@ + + + + + naota@gentoo.org + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + -- cgit v1.2.3