Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/ninja: ninja-1.1.0.ebuild ChangeLog
Date: Mon, 31 Dec 2012 18:45:16
Message-Id: 20121231184505.231702171D@flycatcher.gentoo.org
1 ottxor 12/12/31 18:45:05
2
3 Modified: ChangeLog
4 Added: ninja-1.1.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key C2000586)
9
10 Revision Changes Path
11 1.6 dev-util/ninja/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 30 Dec 2012 23:53:50 -0000 1.5
24 +++ ChangeLog 31 Dec 2012 18:45:04 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/ninja
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v 1.5 2012/12/30 23:53:50 ottxor Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v 1.6 2012/12/31 18:45:04 ottxor Exp $
30 +
31 +*ninja-1.1.0 (31 Dec 2012)
32 +
33 + 31 Dec 2012; Christoph Junghans <ottxor@g.o> +ninja-1.1.0.ebuild:
34 + version bump
35
36 30 Dec 2012; Christoph Junghans <ottxor@g.o> ninja-1.0.0.ebuild:
37 fix collision with net-irc/ninja (bug #436804)
38
39
40
41 1.1 dev-util/ninja/ninja-1.1.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ninja-1.1.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ninja-1.1.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ninja-1.1.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ninja-1.1.0.ebuild,v 1.1 2012/12/31 18:45:04 ottxor Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="2"
55
56 inherit bash-completion-r1 elisp-common python toolchain-funcs
57
58 if [ "${PV}" = "999999" ]; then
59 EGIT_REPO_URI="git://github.com/martine/ninja.git http://github.com/martine/ninja.git"
60 inherit git-2
61 KEYWORDS=""
62 else
63 inherit vcs-snapshot
64 SRC_URI="https://github.com/martine/ninja/tarball/v${PV} -> ${P}.tar.gz"
65 KEYWORDS="~amd64 ~x86 ~ppc-macos"
66 fi
67
68 DESCRIPTION="A small build system similar to make."
69 HOMEPAGE="http://github.com/martine/ninja"
70
71 LICENSE="Apache-2.0"
72 SLOT="0"
73
74 IUSE="doc emacs vim-syntax zsh-completion"
75
76 DEPEND="
77 dev-util/re2c
78 doc? ( app-text/asciidoc app-doc/doxygen )
79 "
80 RDEPEND="
81 emacs? ( virtual/emacs )
82 vim-syntax? (
83 || (
84 app-editors/vim
85 app-editors/gvim
86 )
87 )
88 zsh-completion? ( app-shells/zsh )
89 !<net-irc/ninja-1.5.9_pre14-r1" #436804
90
91 pkg_setup() {
92 python_set_active_version 2
93 }
94
95 src_compile() {
96 tc-export BUILD_CXX
97 ./bootstrap.py || die
98 if use doc; then
99 ./ninja doxygen || die
100 fi
101
102 if use emacs; then
103 elisp-compile misc/ninja-mode.el || die
104 fi
105 }
106
107 src_install() {
108 dodoc README HACKING.md
109 use doc && dohtml -r doc/doxygen/html/*
110 dobin ninja
111
112 newbashcomp misc/bash-completion "${PN}"
113
114 if use vim-syntax; then
115 insinto /usr/share/vim/vimfiles/syntax/
116 doins misc/"${PN}".vim
117
118 echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/${PN}.vim"
119 insinto /usr/share/vim/vimfiles/ftdetect
120 doins "${T}/${PN}.vim"
121 fi
122
123 if use zsh-completion; then
124 insinto /usr/share/zsh/site-functions
125 newins misc/zsh-completion _ninja
126 fi
127
128 if use emacs; then
129 cd misc || die
130 elisp-install ${PN} ninja-mode.el* || die
131 fi
132 }
133
134 pkg_postinst() {
135 use emacs && elisp-site-regen
136 }
137
138 pkg_postrm() {
139 use emacs && elisp-site-regen
140 }