1 |
commit: 369d90ff1a6ed3c8461229a81563afd276f71de7 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 23 09:46:55 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 23 09:47:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369d90ff |
7 |
|
8 |
app-emacs/treepy: Fix byte-compilation with Emacs 27. |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
12 |
|
13 |
app-emacs/treepy/files/treepy-0.1.1-cl-lib.patch | 12 ++++++++++++ |
14 |
app-emacs/treepy/treepy-0.1.1-r1.ebuild | 20 ++++++++++++++++++++ |
15 |
2 files changed, 32 insertions(+) |
16 |
|
17 |
diff --git a/app-emacs/treepy/files/treepy-0.1.1-cl-lib.patch b/app-emacs/treepy/files/treepy-0.1.1-cl-lib.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..0c7bfbad1b8 |
20 |
--- /dev/null |
21 |
+++ b/app-emacs/treepy/files/treepy-0.1.1-cl-lib.patch |
22 |
@@ -0,0 +1,12 @@ |
23 |
+Fix byte-compilation with Emacs 27. |
24 |
+ |
25 |
+--- treepy.el-0.1.1-orig/treepy.el |
26 |
++++ treepy.el-0.1.1/treepy.el |
27 |
+@@ -40,6 +40,7 @@ |
28 |
+ ;; |
29 |
+ ;;; Code: |
30 |
+ |
31 |
++(require 'cl-lib) |
32 |
+ (require 'map) |
33 |
+ |
34 |
+ ;;; Walk (recursive tree traversal) |
35 |
|
36 |
diff --git a/app-emacs/treepy/treepy-0.1.1-r1.ebuild b/app-emacs/treepy/treepy-0.1.1-r1.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..ed95978e060 |
39 |
--- /dev/null |
40 |
+++ b/app-emacs/treepy/treepy-0.1.1-r1.ebuild |
41 |
@@ -0,0 +1,20 @@ |
42 |
+# Copyright 1999-2019 Gentoo Authors |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=7 |
46 |
+NEED_EMACS=24 |
47 |
+ |
48 |
+inherit elisp |
49 |
+ |
50 |
+DESCRIPTION="Generic tree traversing tools for Emacs Lisp" |
51 |
+HOMEPAGE="https://github.com/volrath/treepy.el" |
52 |
+SRC_URI="https://github.com/volrath/treepy.el/archive/${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+S="${WORKDIR}/${PN}.el-${PV}" |
54 |
+ |
55 |
+LICENSE="GPL-3+" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64 ~x86" |
58 |
+ |
59 |
+PATCHES=("${FILESDIR}"/${P}-cl-lib.patch) |
60 |
+SITEFILE="50${PN}-gentoo.el" |
61 |
+DOCS="README.md" |