Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/ninja: metadata.xml ninja-1.3.3.ebuild ChangeLog
Date: Tue, 28 May 2013 03:51:42
Message-Id: 20130528035135.2ED1E2171D@flycatcher.gentoo.org
1 floppym 13/05/28 03:51:35
2
3 Modified: metadata.xml ChangeLog
4 Added: ninja-1.3.3.ebuild
5 Log:
6 Version bump and various improvements. Add chromium herd to metadata. Bug 471252.
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
9
10 Revision Changes Path
11 1.3 dev-util/ninja/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/ninja/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 23 Oct 2012 15:50:41 -0000 1.2
24 +++ metadata.xml 28 May 2013 03:51:35 -0000 1.3
25 @@ -1,6 +1,7 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 + <herd>chromium</herd>
30 <maintainer>
31 <email>ottxor@g.o</email>
32 <name>Christoph Junghans</name>
33
34
35
36 1.12 dev-util/ninja/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?rev=1.12&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?rev=1.12&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?r1=1.11&r2=1.12
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v
45 retrieving revision 1.11
46 retrieving revision 1.12
47 diff -u -r1.11 -r1.12
48 --- ChangeLog 7 Mar 2013 01:50:01 -0000 1.11
49 +++ ChangeLog 28 May 2013 03:51:35 -0000 1.12
50 @@ -1,6 +1,13 @@
51 # ChangeLog for dev-util/ninja
52 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v 1.11 2013/03/07 01:50:01 ottxor Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v 1.12 2013/05/28 03:51:35 floppym Exp $
55 +
56 +*ninja-1.3.3 (28 May 2013)
57 +
58 + 28 May 2013; Mike Gilbert <floppym@g.o> +ninja-1.3.3.ebuild,
59 + metadata.xml:
60 + Version bump and various improvements. Add chromium herd to metadata. Bug
61 + 471252.
62
63 07 Mar 2013; Christoph Junghans <ottxor@g.o> ninja-1.1.0.ebuild:
64 added ~x86-macos (test by me)
65
66
67
68 1.1 dev-util/ninja/ninja-1.3.3.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ninja-1.3.3.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ninja-1.3.3.ebuild?rev=1.1&content-type=text/plain
72
73 Index: ninja-1.3.3.ebuild
74 ===================================================================
75 # Copyright 1999-2013 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ninja-1.3.3.ebuild,v 1.1 2013/05/28 03:51:35 floppym Exp $
78
79 EAPI=5
80
81 PYTHON_COMPAT=( python{2_6,2_7} )
82
83 inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs
84
85 if [ "${PV}" = "999999" ]; then
86 EGIT_REPO_URI="git://github.com/martine/ninja.git http://github.com/martine/ninja.git"
87 inherit git-2
88 KEYWORDS=""
89 else
90 SRC_URI="https://github.com/martine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
91 KEYWORDS="~alpha ~amd64 ~arm ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
92 fi
93
94 DESCRIPTION="A small build system similar to make."
95 HOMEPAGE="http://github.com/martine/ninja"
96
97 LICENSE="Apache-2.0"
98 SLOT="0"
99
100 IUSE="doc emacs test vim-syntax zsh-completion"
101
102 DEPEND="
103 ${PYTHON_DEPS}
104 dev-util/re2c
105 doc? (
106 app-text/asciidoc
107 app-doc/doxygen
108 dev-libs/libxslt
109 )
110 test? ( dev-cpp/gtest )
111 "
112 RDEPEND="
113 emacs? ( virtual/emacs )
114 vim-syntax? (
115 || (
116 app-editors/vim
117 app-editors/gvim
118 )
119 )
120 zsh-completion? ( app-shells/zsh )
121 !<net-irc/ninja-1.5.9_pre14-r1" #436804
122
123 src_compile() {
124 # If somebody wants to cross-compile, we will probably need to do 2 builds.
125 tc-export CXX
126
127 "${PYTHON}" bootstrap.py --verbose || die
128
129 if use doc; then
130 ./ninja -v doxygen manual || die
131 fi
132
133 if use emacs; then
134 elisp-compile misc/ninja-mode.el || die
135 fi
136 }
137
138 src_test() {
139 ./ninja -v ninja_test || die
140 ./ninja_test || die
141 }
142
143 src_install() {
144 dodoc README HACKING.md
145 if use doc; then
146 dohtml -r doc/doxygen/html/*
147 dohtml doc/manual.html
148 fi
149 dobin ninja
150
151 newbashcomp misc/bash-completion "${PN}"
152
153 if use vim-syntax; then
154 insinto /usr/share/vim/vimfiles/syntax/
155 doins misc/"${PN}".vim
156
157 echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/${PN}.vim"
158 insinto /usr/share/vim/vimfiles/ftdetect
159 doins "${T}/${PN}.vim"
160 fi
161
162 if use zsh-completion; then
163 insinto /usr/share/zsh/site-functions
164 newins misc/zsh-completion _ninja
165 fi
166
167 if use emacs; then
168 cd misc || die
169 elisp-install ${PN} ninja-mode.el* || die
170 fi
171 }
172
173 pkg_postinst() {
174 use emacs && elisp-site-regen
175 }
176
177 pkg_postrm() {
178 use emacs && elisp-site-regen
179 }