From: | "PaweA Hajdan (phajdan.jr)" <phajdan.jr@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/ninja: ninja-1.6.0.ebuild ChangeLog |
Date: | Tue, 30 Jun 2015 05:18:40 |
Message-Id: | 20150630051824.04702738@oystercatcher.gentoo.org |
1 | phajdan.jr 15/06/30 05:18:24 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ninja-1.6.0.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.14/cvs/Linux i686, signed Manifest commit with key 0x4F1A2555EA71991D!) |
9 | |
10 | Revision Changes Path |
11 | 1.49 dev-util/ninja/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?rev=1.49&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?rev=1.49&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ChangeLog?r1=1.48&r2=1.49 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v |
20 | retrieving revision 1.48 |
21 | retrieving revision 1.49 |
22 | diff -u -r1.48 -r1.49 |
23 | --- ChangeLog 30 Jun 2015 04:53:29 -0000 1.48 |
24 | +++ ChangeLog 30 Jun 2015 05:18:23 -0000 1.49 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-util/ninja |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v 1.48 2015/06/30 04:53:29 jer Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja/ChangeLog,v 1.49 2015/06/30 05:18:23 phajdan.jr Exp $ |
30 | + |
31 | +*ninja-1.6.0 (30 Jun 2015) |
32 | + |
33 | + 30 Jun 2015; Pawel Hajdan jr <phajdan.jr@g.o> +ninja-1.6.0.ebuild: |
34 | + Version bump. |
35 | |
36 | 30 Jun 2015; Jeroen Roovers <jer@g.o> ninja-1.5.3.ebuild: |
37 | Stable for PPC64 (bug #552884). |
38 | |
39 | |
40 | |
41 | 1.1 dev-util/ninja/ninja-1.6.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ninja-1.6.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ninja/ninja-1.6.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ninja-1.6.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2015 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.6.0.ebuild,v 1.1 2015/06/30 05:18:23 phajdan.jr Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | PYTHON_COMPAT=( python2_7 ) |
55 | |
56 | inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs |
57 | |
58 | SRC_URI="https://github.com/martine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
59 | KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
60 | |
61 | DESCRIPTION="A small build system similar to make" |
62 | HOMEPAGE="http://github.com/martine/ninja" |
63 | |
64 | LICENSE="Apache-2.0" |
65 | SLOT="0" |
66 | |
67 | IUSE="doc emacs test vim-syntax zsh-completion" |
68 | |
69 | DEPEND=" |
70 | ${PYTHON_DEPS} |
71 | dev-util/re2c |
72 | doc? ( |
73 | app-text/asciidoc |
74 | app-doc/doxygen |
75 | dev-libs/libxslt |
76 | ) |
77 | test? ( dev-cpp/gtest ) |
78 | " |
79 | RDEPEND=" |
80 | emacs? ( virtual/emacs ) |
81 | vim-syntax? ( |
82 | || ( |
83 | app-editors/vim |
84 | app-editors/gvim |
85 | ) |
86 | ) |
87 | zsh-completion? ( app-shells/zsh ) |
88 | !<net-irc/ninja-1.5.9_pre14-r1" #436804 |
89 | |
90 | run_for_build() { |
91 | if tc-is-cross-compiler; then |
92 | local -x AR=$(tc-getBUILD_AR) |
93 | local -x CXX=$(tc-getBUILD_CXX) |
94 | local -x CFLAGS=${BUILD_CXXFLAGS} |
95 | local -x LDFLAGS=${BUILD_LDFLAGS} |
96 | fi |
97 | "$@" |
98 | } |
99 | |
100 | src_compile() { |
101 | tc-export AR CXX |
102 | |
103 | # configure.py uses CFLAGS instead of CXXFLAGS |
104 | export CFLAGS=${CXXFLAGS} |
105 | |
106 | run_for_build "${PYTHON}" bootstrap.py --verbose || die |
107 | |
108 | if tc-is-cross-compiler; then |
109 | mv ninja ninja-build || die |
110 | "${PYTHON}" configure.py || die |
111 | ./ninja-build -v ninja || die |
112 | else |
113 | ln ninja ninja-build || die |
114 | fi |
115 | |
116 | if use doc; then |
117 | ./ninja-build -v doxygen manual || die |
118 | fi |
119 | |
120 | if use emacs; then |
121 | elisp-compile misc/ninja-mode.el || die |
122 | fi |
123 | } |
124 | |
125 | src_test() { |
126 | if ! tc-is-cross-compiler; then |
127 | # Bug 485772 |
128 | ulimit -n 2048 |
129 | ./ninja-build -v ninja_test || die |
130 | ./ninja_test || die |
131 | fi |
132 | } |
133 | |
134 | src_install() { |
135 | dodoc README HACKING.md |
136 | if use doc; then |
137 | dohtml -r doc/doxygen/html/* |
138 | dohtml doc/manual.html |
139 | fi |
140 | dobin ninja |
141 | |
142 | newbashcomp misc/bash-completion "${PN}" |
143 | |
144 | if use vim-syntax; then |
145 | insinto /usr/share/vim/vimfiles/syntax/ |
146 | doins misc/"${PN}".vim |
147 | |
148 | echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/${PN}.vim" |
149 | insinto /usr/share/vim/vimfiles/ftdetect |
150 | doins "${T}/${PN}.vim" |
151 | fi |
152 | |
153 | if use zsh-completion; then |
154 | insinto /usr/share/zsh/site-functions |
155 | newins misc/zsh-completion _ninja |
156 | fi |
157 | |
158 | if use emacs; then |
159 | cd misc || die |
160 | elisp-install ${PN} ninja-mode.el* || die |
161 | fi |
162 | } |
163 | |
164 | pkg_postinst() { |
165 | use emacs && elisp-site-regen |
166 | } |
167 | |
168 | pkg_postrm() { |
169 | use emacs && elisp-site-regen |
170 | } |