summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/wikipedia-mode')
-rw-r--r--app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch4
-rw-r--r--app-emacs/wikipedia-mode/wikipedia-mode-0.5-r2.ebuild (renamed from app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild)13
2 files changed, 9 insertions, 8 deletions
diff --git a/app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch b/app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch
index caefca757631..9ec17844508c 100644
--- a/app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch
+++ b/app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch
@@ -1,5 +1,5 @@
---- wikipedia-mode.el~
-+++ wikipedia-mode.el
+--- a/wikipedia-mode.el
++++ b/wikipedia-mode.el
@@ -386,2 +386,3 @@
(require 'font-lock)
+(require 'outline-magic)
diff --git a/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild b/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r2.ebuild
index 89c4f20828bb..c70b2cb4fe43 100644
--- a/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild
+++ b/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit elisp eutils
+inherit elisp
DESCRIPTION="Mode for editing Wikipedia articles off-line"
HOMEPAGE="https://www.emacswiki.org/emacs/WikipediaMode"
@@ -14,11 +14,12 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="outline-magic"
-DEPEND="outline-magic? ( app-emacs/outline-magic )"
-RDEPEND="${DEPEND}"
+RDEPEND="outline-magic? ( app-emacs/outline-magic )"
+BDEPEND="${RDEPEND}"
SITEFILE="50${PN}-gentoo.el"
src_prepare() {
- use outline-magic && epatch "${FILESDIR}/${P}-require-outline-magic.patch"
+ use outline-magic && eapply "${FILESDIR}"/${P}-require-outline-magic.patch
+ eapply_user
}