Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/cl-closure-template/
Date: Mon, 29 Jul 2013 17:06:21
Message-Id: 1375117606.7fb0de5a68849e573118febc6a314ff7a61aecc3.nimiux@gentoo
1 commit: 7fb0de5a68849e573118febc6a314ff7a61aecc3
2 Author: Chema Alonso <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 29 17:06:46 2013 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 29 17:06:46 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=7fb0de5a
7
8 dev-lisp/cl-closure-template: bump to version 0.2.1
9
10 ---
11 .../cl-closure-template-0.2.1.ebuild | 56 ++++++++++++++++++++++
12 1 file changed, 56 insertions(+)
13
14 diff --git a/dev-lisp/cl-closure-template/cl-closure-template-0.2.1.ebuild b/dev-lisp/cl-closure-template/cl-closure-template-0.2.1.ebuild
15 new file mode 100644
16 index 0000000..70b6b80
17 --- /dev/null
18 +++ b/dev-lisp/cl-closure-template/cl-closure-template-0.2.1.ebuild
19 @@ -0,0 +1,56 @@
20 +# Copyright 1999-2013 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI=5
25 +
26 +inherit common-lisp-3 elisp-common eutils
27 +
28 +MY_PV="version-${PV}"
29 +
30 +DESCRIPTION="Common Lisp implementation of Closure Template from Google"
31 +HOMEPAGE="https://github.com/archimag/cl-closure-template"
32 +SRC_URI="https://github.com/archimag/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="LLGPL-2.1"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
37 +IUSE="doc emacs"
38 +
39 +RDEPEND="dev-lisp/babel
40 + dev-lisp/closer-mop
41 + dev-lisp/esrap
42 + dev-lisp/iterate
43 + dev-lisp/parenscript
44 + dev-lisp/parse-number
45 + dev-lisp/lift
46 + emacs? ( virtual/emacs )"
47 +
48 +S="${WORKDIR}/${PN}-${MY_PV}"
49 +
50 +SITEFILE="50${PN}-gentoo.el"
51 +
52 +src_install() {
53 + common-lisp-install-sources -t all src t
54 + common-lisp-install-asdf
55 +
56 + if use doc; then
57 + insinto /usr/share/doc/${PF}/examples
58 + doins -r example/* || die
59 + fi
60 +
61 + if use emacs; then
62 + elisp-install ${PN} closure-template-html-mode.el || die "Cannot install elisp sources"
63 + elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die "Cannot install elisp site file"
64 + fi
65 +
66 + dodoc README.markdown
67 +}
68 +
69 +pkg_postinst() {
70 + use emacs && elisp-site-regen
71 +}
72 +
73 +pkg_postrm() {
74 + use emacs && elisp-site-regen
75 +}