Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/restas/
Date: Sat, 02 Apr 2022 15:35:06
Message-Id: 1648913192.06f7db4298c4d759aee0ae7df9d3ef5433db18af.ulm@gentoo
1 commit: 06f7db4298c4d759aee0ae7df9d3ef5433db18af
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 15:26:32 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 15:26:32 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=06f7db42
7
8 dev-lisp/restas: Drop ~sparc because of unkeyworded dependencies
9
10 Rename "slime" use flag to "emacs".
11
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 dev-lisp/restas/restas-0.1.4.ebuild | 20 ++++++++++----------
15 1 file changed, 10 insertions(+), 10 deletions(-)
16
17 diff --git a/dev-lisp/restas/restas-0.1.4.ebuild b/dev-lisp/restas/restas-0.1.4.ebuild
18 index efd4be59..9641e93f 100644
19 --- a/dev-lisp/restas/restas-0.1.4.ebuild
20 +++ b/dev-lisp/restas/restas-0.1.4.ebuild
21 @@ -1,31 +1,31 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27
28 -inherit common-lisp-3 elisp-common eutils
29 +inherit common-lisp-3 elisp-common
30
31 MY_PV="version-${PV}"
32
33 DESCRIPTION="Common Lisp application server"
34 HOMEPAGE="https://github.com/archimag/restas"
35 SRC_URI="https://github.com/archimag/restas/archive/${MY_PV}.tar.gz"
36 +S="${WORKDIR}/${PN}-${MY_PV}"
37
38 LICENSE="LLGPL-2.1"
39 SLOT="0"
40 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
41 -IUSE="doc slime"
42 +KEYWORDS="~amd64 ~ppc ~x86"
43 +IUSE="doc emacs"
44
45 RDEPEND=" >=dev-lisp/cl-routes-0.2.2
46 dev-lisp/alexandria
47 >=dev-lisp/hunchentoot-1.2.0
48 - slime? ( dev-lisp/closer-mop )"
49 + emacs? ( dev-lisp/closer-mop )"
50
51 -S="${WORKDIR}/${PN}-${MY_PV}"
52 SITEFILE=70${PN}-gentoo.el
53
54 src_compile () {
55 - if use slime ; then
56 + if use emacs ; then
57 elisp-compile slime/${PN}.el || die "Cannot compile elisp files"
58 fi
59 }
60 @@ -36,16 +36,16 @@ src_install() {
61
62 doinitd "${FILESDIR}"/restas.lo || die "doinitd failed"
63
64 - if use slime; then
65 + if use emacs; then
66 elisp-install ${PN} slime/${PN}.el || die "Cannot install elisp sources"
67 elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die "Cannot install elisp site file"
68 fi
69 }
70
71 pkg_postinst() {
72 - use slime && elisp-site-regen
73 + use emacs && elisp-site-regen
74 }
75
76 pkg_postrm() {
77 - use slime && elisp-site-regen
78 + use emacs && elisp-site-regen
79 }