Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/coccigrep: coccigrep-1.13.ebuild ChangeLog
Date: Tue, 11 Feb 2014 04:30:40
Message-Id: 20140211043034.DB4442004C@flycatcher.gentoo.org
1 radhermit 14/02/11 04:30:34
2
3 Modified: ChangeLog
4 Added: coccigrep-1.13.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.16 dev-util/coccigrep/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccigrep/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccigrep/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccigrep/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/coccigrep/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 5 Sep 2013 18:40:35 -0000 1.15
24 +++ ChangeLog 11 Feb 2014 04:30:34 -0000 1.16
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/coccigrep
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/coccigrep/ChangeLog,v 1.15 2013/09/05 18:40:35 mgorny Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/coccigrep/ChangeLog,v 1.16 2014/02/11 04:30:34 radhermit Exp $
31 +
32 +*coccigrep-1.13 (11 Feb 2014)
33 +
34 + 11 Feb 2014; Tim Harder <radhermit@g.o> +coccigrep-1.13.ebuild:
35 + Version bump.
36
37 05 Sep 2013; Michał Górny <mgorny@g.o> coccigrep-1.12.ebuild:
38 Clean up PYTHON_COMPAT from old implementations.
39
40
41
42 1.1 dev-util/coccigrep/coccigrep-1.13.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccigrep/coccigrep-1.13.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/coccigrep/coccigrep-1.13.ebuild?rev=1.1&content-type=text/plain
46
47 Index: coccigrep-1.13.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/coccigrep/coccigrep-1.13.ebuild,v 1.1 2014/02/11 04:30:34 radhermit Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_6,2_7} )
55
56 inherit distutils-r1 elisp-common
57
58 DESCRIPTION="A semantic grep for the C language"
59 HOMEPAGE="http://home.regit.org/software/coccigrep/"
60 SRC_URI="https://github.com/regit/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
61
62 LICENSE="GPL-3"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="doc emacs vim"
66
67 RDEPEND="dev-util/coccinelle[python]
68 virtual/python-argparse[${PYTHON_USEDEP}]
69 emacs? ( virtual/emacs )
70 vim? ( || ( app-editors/vim app-editors/gvim ) )"
71 DEPEND="doc? ( dev-python/sphinx )
72 emacs? ( virtual/emacs )"
73
74 SITEFILE="50${PN}-gentoo.el"
75
76 python_compile_all() {
77 use doc && emake -C doc html
78
79 if use emacs ; then
80 elisp-compile editors/*.el || die
81 fi
82 }
83
84 python_install_all() {
85 distutils-r1_python_install_all
86
87 doman ${PN}.1
88
89 use doc && dohtml -r doc/_build/html/*
90
91 if use emacs ; then
92 elisp-install ${PN} editors/*.{el,elc} || die
93 elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
94 fi
95
96 if use vim ; then
97 insinto /usr/share/vim/vimfiles/plugin
98 doins editors/cocci-grep.vim
99 fi
100 }
101
102 pkg_postinst() {
103 use emacs && elisp-site-regen
104
105 einfo "Syntax highlighting is supported through dev-python/pygments."
106 einfo "Install it if you want colorized output formats."
107 }
108
109 pkg_postrm() {
110 use emacs && elisp-site-regen
111 }