1 |
commit: 21e37587ca0d510a43805f7679c7f4a7a8bc69d2 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 8 08:41:52 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 8 08:42:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e37587 |
7 |
|
8 |
app-emacs/yasnippet: Version bump to 0.14.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/816933 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
13 |
|
14 |
app-emacs/yasnippet/Manifest | 1 + |
15 |
app-emacs/yasnippet/yasnippet-0.14.0.ebuild | 36 +++++++++++++++++++++++++++++ |
16 |
2 files changed, 37 insertions(+) |
17 |
|
18 |
diff --git a/app-emacs/yasnippet/Manifest b/app-emacs/yasnippet/Manifest |
19 |
index a590a9403f4..ed61fef291f 100644 |
20 |
--- a/app-emacs/yasnippet/Manifest |
21 |
+++ b/app-emacs/yasnippet/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST yasnippet-0.13.0.tar.gz 577330 BLAKE2B 21830c0a2e99d7669093c16f527debb4921e96aad006887ec1c7e35da58745721658417f1aec96ea78ba4dc5f3951c857848fce67e6d2ff7f255d4aea5687ab9 SHA512 73b111f72e98c4183764cef08ddfaa861dba49f171f96026b074bf62a7aa5e2d8529f616805ba386dd4157b675da953784d5bcd832d6015ce1b72e9c240988c5 |
24 |
+DIST yasnippet-0.14.0.tar.gz 581053 BLAKE2B efae02939d0174724803819fb9a47a414acad3b1d58da91d4f35c42c02282db9773f4f3caa020d01c2d87de741d3c60b39e1406b6ff7b3e5310ed4efc477d635 SHA512 c7f704187b3c700f8ea9e0205941d7a32602b6994307007cb83aa984ccf7e7e37be9589277a56c294703eab82ee4b1dffae7040f2e175e7d56cda5ef3c70eb39 |
25 |
|
26 |
diff --git a/app-emacs/yasnippet/yasnippet-0.14.0.ebuild b/app-emacs/yasnippet/yasnippet-0.14.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..7e8fc0b1160 |
29 |
--- /dev/null |
30 |
+++ b/app-emacs/yasnippet/yasnippet-0.14.0.ebuild |
31 |
@@ -0,0 +1,36 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit elisp readme.gentoo-r1 |
38 |
+ |
39 |
+DESCRIPTION="Yet another snippet extension for Emacs" |
40 |
+HOMEPAGE="http://joaotavora.github.com/yasnippet/" |
41 |
+SRC_URI="https://github.com/joaotavora/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="doc" |
47 |
+ |
48 |
+SITEFILE="50${PN}-gentoo-0.13.0.el" |
49 |
+ |
50 |
+src_test() { |
51 |
+ ${EMACS} ${EMACSFLAGS} -L . -l yasnippet-tests \ |
52 |
+ -f ert-run-tests-batch-and-exit |
53 |
+} |
54 |
+ |
55 |
+src_install() { |
56 |
+ elisp-install ${PN} yasnippet.{el,elc} yasnippet-debug.{el,elc} |
57 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
58 |
+ dodoc CONTRIBUTING.md NEWS README.mdown |
59 |
+ use doc && dodoc -r doc/* |
60 |
+ |
61 |
+ local DOC_CONTENTS="Add the following to your ~/.emacs to use YASnippet: |
62 |
+ \n\t(require 'yasnippet) |
63 |
+ \n\t(yas-global-mode 1) |
64 |
+ \n\nYASnippet no longer bundles snippets directly. Install the package |
65 |
+ app-emacs/yasnippet-snippets for a collection of snippets." |
66 |
+ readme.gentoo_create_doc |
67 |
+} |