Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/cedet: cedet-1.1.ebuild ChangeLog
Date: Sun, 29 Apr 2012 19:02:01
Message-Id: 20120429190152.8F0772004B@flycatcher.gentoo.org
1 ulm 12/04/29 19:01:52
2
3 Modified: ChangeLog
4 Added: cedet-1.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.57/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.74 app-emacs/cedet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?rev=1.74&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?rev=1.74&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?r1=1.73&r2=1.74
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v
20 retrieving revision 1.73
21 retrieving revision 1.74
22 diff -u -r1.73 -r1.74
23 --- ChangeLog 1 Feb 2012 17:27:58 -0000 1.73
24 +++ ChangeLog 29 Apr 2012 19:01:52 -0000 1.74
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-emacs/cedet
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v 1.73 2012/02/01 17:27:58 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v 1.74 2012/04/29 19:01:52 ulm Exp $
30 +
31 +*cedet-1.1 (29 Apr 2012)
32 +
33 + 29 Apr 2012; Ulrich Müller <ulm@g.o> files/50cedet-gentoo.el,
34 + +cedet-1.1.ebuild:
35 + Version bump.
36
37 01 Feb 2012; Ulrich Müller <ulm@g.o> -cedet-1.0.ebuild:
38 Remove vulnerable version wrt bug 398227.
39
40
41
42 1.1 app-emacs/cedet/cedet-1.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/cedet-1.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/cedet-1.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cedet-1.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.1.ebuild,v 1.1 2012/04/29 19:01:50 ulm Exp $
52
53 EAPI=4
54 NEED_EMACS=22
55
56 inherit elisp
57
58 MY_P=${P/_}
59 DESCRIPTION="CEDET: Collection of Emacs Development Environment Tools"
60 HOMEPAGE="http://cedet.sourceforge.net/"
61 SRC_URI="mirror://sourceforge/cedet/${MY_P}.tar.gz"
62
63 LICENSE="GPL-3 FDL-1.2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris"
66 IUSE=""
67
68 S="${WORKDIR}/${MY_P}"
69 SITEFILE="50${PN}-gentoo.el"
70 EMACSFLAGS="${EMACSFLAGS} -L ${S}/eieio -L ${S}/semantic -L ${S}/srecode \
71 -L ${S}/ede -L ${S}/speedbar -L ${S}/cogre"
72
73 src_compile() {
74 emake -j1 \
75 EMACS="${EMACS}" \
76 EMACSFLAGS="${EMACSFLAGS}"
77 }
78
79 src_test() {
80 emake -j1 \
81 EMACS="${EMACS}" \
82 EMACSFLAGS="${EMACSFLAGS}" \
83 utest
84 }
85
86 src_install() {
87 local target file dir
88 find . -type d -name tests -prune -o -type f -print | while read target
89 do
90 file=${target##*/}
91 dir=${target%/*}; dir=${dir#./}
92 case "${file}" in
93 *~ | Makefile | *.texi | *-script | PRERELEASE_CHECKLIST \
94 | Project.ede | USING_CEDET_FROM_BZR | grammar-fw-ov.txt)
95 # ignore
96 ;;
97 ChangeLog | README | AUTHORS | *NEWS | INSTALL \
98 | renamelist.txt | semanticdb.sh)
99 docinto "${dir}"
100 dodoc "${target}" ;;
101 *.el | *.by | *.wy)
102 # install grammar sources along with the elisp files, since
103 # the location where semantic expects them is not configurable
104 insinto "${SITELISP}/${PN}/${dir}"
105 doins "${target}" ;;
106 *.elc)
107 # we are in a subshell, so collecting in a variable won't work
108 echo "${target}" >>"${T}/elc-list.txt" ;;
109 *.srt | *.xpm)
110 insinto "${SITEETC}/${PN}/${dir}"
111 doins "${target}" ;;
112 *.info* | grammar-fw-ov.png)
113 doinfo "${target}" ;;
114 *)
115 die "Unrecognised file ${target}" ;;
116 esac
117 done
118
119 # make sure that the compiled elisp files don't have older time stamps
120 # than corresponding sources, in order to suppress warnings at run time
121 while read target; do
122 dir=${target%/*}; dir=${dir#./}
123 insinto "${SITELISP}/${PN}/${dir}"
124 doins "${target}"
125 done <"${T}/elc-list.txt"
126
127 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
128 }