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/yasnippet/, app-emacs/yasnippet/files/
Date: Sat, 02 Jun 2018 20:02:56
Message-Id: 1527969760.56671a0fe3a07439c1b7690a5e6f4b8ab78bffdc.ulm@gentoo
1 commit: 56671a0fe3a07439c1b7690a5e6f4b8ab78bffdc
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 2 19:53:30 2018 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 2 20:02:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56671a0f
7
8 app-emacs/yasnippet: Version bump.
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-emacs/yasnippet/Manifest | 1 +
13 .../yasnippet/files/50yasnippet-gentoo-0.13.0.el | 4 +++
14 app-emacs/yasnippet/metadata.xml | 3 +-
15 app-emacs/yasnippet/yasnippet-0.13.0.ebuild | 36 ++++++++++++++++++++++
16 4 files changed, 42 insertions(+), 2 deletions(-)
17
18 diff --git a/app-emacs/yasnippet/Manifest b/app-emacs/yasnippet/Manifest
19 index c29b73a3b3f..730ee2c486e 100644
20 --- a/app-emacs/yasnippet/Manifest
21 +++ b/app-emacs/yasnippet/Manifest
22 @@ -1,2 +1,3 @@
23 +DIST yasnippet-0.13.0.tar.gz 577330 BLAKE2B 21830c0a2e99d7669093c16f527debb4921e96aad006887ec1c7e35da58745721658417f1aec96ea78ba4dc5f3951c857848fce67e6d2ff7f255d4aea5687ab9 SHA512 73b111f72e98c4183764cef08ddfaa861dba49f171f96026b074bf62a7aa5e2d8529f616805ba386dd4157b675da953784d5bcd832d6015ce1b72e9c240988c5
24 DIST yasnippet-0.6.1c.tar.bz2 47493 BLAKE2B d3bb0d1c343c05f9bc212a0fc114d3c816c02d8de685c55c0f3407a02ee6d1c1e6c24681872dc66e67af773e0e98a78a0366bbfe72ebfd543c5174d2e2f994b0 SHA512 ea4c5850ae80e4db9a188788654a099eddc43e29371ef0cb6367e1a39d3ee9f3e9dab7201178955ae47c92bcecbb5120e0b817e47e9c88c5bcef9e561636a603
25 DIST yasnippet-doc-0.6.1c.tar.bz2 490738 BLAKE2B e312481c7693094d62eb0aec465412ea1c894ca5132df9c2beba49c3c78daaec90ca80d17fc9404edbdd8cea1fce63804a102cbe9b7d3d7b23f0761b8a0ea552 SHA512 c96955cac11f319107e0ea907c92860049598cbfd47b6a2e3211dc2b030face77b03aa9495d7e9d78171be87083f77268e90c6c86b0cc467a96a5bd724daf8f1
26
27 diff --git a/app-emacs/yasnippet/files/50yasnippet-gentoo-0.13.0.el b/app-emacs/yasnippet/files/50yasnippet-gentoo-0.13.0.el
28 new file mode 100644
29 index 00000000000..e58ee2b29cf
30 --- /dev/null
31 +++ b/app-emacs/yasnippet/files/50yasnippet-gentoo-0.13.0.el
32 @@ -0,0 +1,4 @@
33 +(add-to-list 'load-path "@SITELISP@")
34 +(autoload 'yas-minor-mode "yasnippet" "Toggle YASnippet mode." t)
35 +(autoload 'yas-global-mode "yasnippet" nil t)
36 +(autoload 'snippet-mode "yasnippet" "A mode for editing yasnippets" t)
37
38 diff --git a/app-emacs/yasnippet/metadata.xml b/app-emacs/yasnippet/metadata.xml
39 index 3ae6c22024b..1f59a55f0dc 100644
40 --- a/app-emacs/yasnippet/metadata.xml
41 +++ b/app-emacs/yasnippet/metadata.xml
42 @@ -10,7 +10,6 @@
43 cleaner and more powerful than smart-snippet.
44 </longdescription>
45 <upstream>
46 - <remote-id type="google-code">yasnippet</remote-id>
47 - <remote-id type="github">capitaomorte/yasnippet</remote-id>
48 + <remote-id type="github">joaotavora/yasnippet</remote-id>
49 </upstream>
50 </pkgmetadata>
51
52 diff --git a/app-emacs/yasnippet/yasnippet-0.13.0.ebuild b/app-emacs/yasnippet/yasnippet-0.13.0.ebuild
53 new file mode 100644
54 index 00000000000..e6ba47b23dc
55 --- /dev/null
56 +++ b/app-emacs/yasnippet/yasnippet-0.13.0.ebuild
57 @@ -0,0 +1,36 @@
58 +# Copyright 1999-2018 Gentoo Foundation
59 +# Distributed under the terms of the GNU General Public License v2
60 +
61 +EAPI=6
62 +
63 +inherit elisp readme.gentoo-r1
64 +
65 +DESCRIPTION="Yet another snippet extension for Emacs"
66 +HOMEPAGE="http://joaotavora.github.com/yasnippet/"
67 +SRC_URI="https://github.com/joaotavora/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
68 +
69 +LICENSE="GPL-3+"
70 +SLOT="0"
71 +KEYWORDS="~amd64 ~x86"
72 +IUSE="doc"
73 +
74 +SITEFILE="50${PN}-gentoo-${PV}.el"
75 +
76 +src_test() {
77 + ${EMACS} ${EMACSFLAGS} -L . -l yasnippet-tests \
78 + -f ert-run-tests-batch-and-exit
79 +}
80 +
81 +src_install() {
82 + elisp-install ${PN} yasnippet.el{,c} yasnippet-debug.el{,c}
83 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
84 + dodoc CONTRIBUTING.md NEWS README.mdown
85 + use doc && dodoc -r doc/*
86 +
87 + DOC_CONTENTS="Add the following to your ~/.emacs to use YASnippet:
88 + \n\t(require 'yasnippet)
89 + \n\t(yas-global-mode 1)
90 + \n\nYASnippet no longer bundles snippets directly. Install the package
91 + app-emacs/yasnippet-snippets for a collection of snippets."
92 + readme.gentoo_create_doc
93 +}