Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/filladapt/, app-emacs/filladapt/files/
Date: Sun, 28 Mar 2021 19:36:51
Message-Id: 1616960199.820166f26ba367eedd9be1371f3143ba469a1d27.ulm@gentoo
1 commit: 820166f26ba367eedd9be1371f3143ba469a1d27
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 28 19:33:10 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 28 19:36:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820166f2
7
8 app-emacs/filladapt: Fix byte-compilation with Emacs 27
9
10 Port to EAPI 7, readme.gentoo-r1.eclass.
11
12 Closes: https://bugs.gentoo.org/723246
13 Closes: https://bugs.gentoo.org/778716
14 Package-Manager: Portage-3.0.17, Repoman-3.0.2
15 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
16
17 .../filladapt/files/filladapt-2.12-backquote.patch | 11 +++++++++++
18 app-emacs/filladapt/filladapt-2.12-r2.ebuild | 21 +++++++++++++++++++++
19 2 files changed, 32 insertions(+)
20
21 diff --git a/app-emacs/filladapt/files/filladapt-2.12-backquote.patch b/app-emacs/filladapt/files/filladapt-2.12-backquote.patch
22 new file mode 100644
23 index 00000000000..83f5f921e2e
24 --- /dev/null
25 +++ b/app-emacs/filladapt/files/filladapt-2.12-backquote.patch
26 @@ -0,0 +1,11 @@
27 +--- a/filladapt.el
28 ++++ b/filladapt.el
29 +@@ -86,7 +86,7 @@
30 + (defmacro defgroup (&rest args)
31 + nil)
32 + (defmacro defcustom (var value doc &rest args)
33 +- (` (defvar (, var) (, value) (, doc))))))
34 ++ `(defvar ,var ,value ,doc))))
35 +
36 + (defgroup filladapt nil
37 + "Enhanced filling"
38
39 diff --git a/app-emacs/filladapt/filladapt-2.12-r2.ebuild b/app-emacs/filladapt/filladapt-2.12-r2.ebuild
40 new file mode 100644
41 index 00000000000..8d28c9ab62d
42 --- /dev/null
43 +++ b/app-emacs/filladapt/filladapt-2.12-r2.ebuild
44 @@ -0,0 +1,21 @@
45 +# Copyright 1999-2021 Gentoo Authors
46 +# Distributed under the terms of the GNU General Public License v2
47 +
48 +EAPI=7
49 +
50 +inherit elisp readme.gentoo-r1
51 +
52 +DESCRIPTION="Filladapt enhances the behavior of Emacs' fill functions"
53 +HOMEPAGE="http://www.wonderworks.com/"
54 +SRC_URI="mirror://gentoo/${P}.el.gz"
55 +
56 +LICENSE="GPL-2+"
57 +SLOT="0"
58 +KEYWORDS="~amd64 ~ppc ~x86"
59 +
60 +PATCHES=("${FILESDIR}"/${P}-backquote.patch)
61 +SITEFILE="50${PN}-gentoo.el"
62 +DOC_CONTENTS="Filladapt is not enabled as a site default. Add the following
63 + lines to your ~/.emacs file to enable adaptive fill by default:
64 + \n\t(require 'filladapt)
65 + \n\t(setq-default filladapt-mode t)"