1 |
commit: affef91256afa552b56874c4c373023c0889e60e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 30 21:48:56 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 22:21:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=affef912 |
7 |
|
8 |
dev-util/ninja: add 1.11.1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-util/ninja/Manifest | 1 + |
13 |
.../{ninja-9999.ebuild => ninja-1.11.1.ebuild} | 38 +++++++++------------- |
14 |
dev-util/ninja/ninja-9999.ebuild | 38 +++++++++------------- |
15 |
3 files changed, 31 insertions(+), 46 deletions(-) |
16 |
|
17 |
diff --git a/dev-util/ninja/Manifest b/dev-util/ninja/Manifest |
18 |
index 2ab6fa9d9107..b62f6953ec4d 100644 |
19 |
--- a/dev-util/ninja/Manifest |
20 |
+++ b/dev-util/ninja/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ninja-1.11.0.tar.gz 229475 BLAKE2B 71c8b6cf9524bdc11cf73f7e761f0d7deef2498a970c1439c10cc7d361e31fed1e3b54bcb185f3c7ed041f15704851a96e42560058af61b8a5df6e918d52ebf3 SHA512 9b9c8dae2251f9ddba50680911271b8504c292994fd90a0da94902f64c69a9edc72212217df5c651ddfc2f79c2ae03e84c99b805497dcd7497c53a1617de83e7 |
23 |
+DIST ninja-1.11.1.tar.gz 229479 BLAKE2B c96cf7c319b7abd65f644465688d256f8b3a576c4616d0c63852e25dd0dc5f63c66708d429d8dddb6228502eb147211a86a5dd369b80ec2228902b370d2343e5 SHA512 1bca38877c70ee6613f347ffccef5adc02ba0a3947c62ae004ea97f918442b5a3de92378e4f820ae2a7676bc7609d25fbc7d41f6cfb3a61e5e4b26ec3639e403 |
24 |
|
25 |
diff --git a/dev-util/ninja/ninja-9999.ebuild b/dev-util/ninja/ninja-1.11.1.ebuild |
26 |
similarity index 79% |
27 |
copy from dev-util/ninja/ninja-9999.ebuild |
28 |
copy to dev-util/ninja/ninja-1.11.1.ebuild |
29 |
index 81d813fea607..bedb66f577c5 100644 |
30 |
--- a/dev-util/ninja/ninja-9999.ebuild |
31 |
+++ b/dev-util/ninja/ninja-1.11.1.ebuild |
32 |
@@ -1,15 +1,15 @@ |
33 |
# Copyright 2012-2022 Gentoo Authors |
34 |
# Distributed under the terms of the GNU General Public License v2 |
35 |
|
36 |
-EAPI=7 |
37 |
+EAPI=8 |
38 |
|
39 |
PYTHON_COMPAT=( python3_{8..11} ) |
40 |
|
41 |
-inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs |
42 |
+inherit edo bash-completion-r1 elisp-common python-any-r1 toolchain-funcs |
43 |
|
44 |
if [[ ${PV} == 9999 ]]; then |
45 |
- inherit git-r3 |
46 |
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git" |
47 |
+ inherit git-r3 |
48 |
else |
49 |
SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
51 |
@@ -21,7 +21,7 @@ HOMEPAGE="https://ninja-build.org/" |
52 |
LICENSE="Apache-2.0" |
53 |
SLOT="0" |
54 |
|
55 |
-IUSE="doc emacs test vim-syntax" |
56 |
+IUSE="doc emacs test" |
57 |
RESTRICT="!test? ( test )" |
58 |
|
59 |
BDEPEND=" |
60 |
@@ -35,15 +35,7 @@ BDEPEND=" |
61 |
) |
62 |
test? ( dev-cpp/gtest ) |
63 |
" |
64 |
-RDEPEND=" |
65 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
66 |
- vim-syntax? ( |
67 |
- || ( |
68 |
- app-editors/vim |
69 |
- app-editors/gvim |
70 |
- ) |
71 |
- ) |
72 |
-" |
73 |
+RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )" |
74 |
|
75 |
PATCHES=( |
76 |
"${FILESDIR}"/ninja-cflags.patch |
77 |
@@ -90,30 +82,30 @@ src_test() { |
78 |
if ! tc-is-cross-compiler; then |
79 |
# Bug 485772 |
80 |
ulimit -n 2048 |
81 |
- ./ninja -v ninja_test || die |
82 |
- ./ninja_test || die |
83 |
+ edo ./ninja -v ninja_test |
84 |
+ edo ./ninja_test |
85 |
fi |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
dodoc README.md CONTRIBUTING.md |
90 |
+ |
91 |
if use doc; then |
92 |
docinto html |
93 |
dodoc -r doc/doxygen/html/. |
94 |
dodoc doc/manual.html |
95 |
fi |
96 |
+ |
97 |
dobin ninja |
98 |
|
99 |
- newbashcomp misc/bash-completion "${PN}" |
100 |
+ newbashcomp misc/bash-completion ${PN} |
101 |
|
102 |
- if use vim-syntax; then |
103 |
- insinto /usr/share/vim/vimfiles/syntax/ |
104 |
- doins misc/ninja.vim |
105 |
+ insinto /usr/share/vim/vimfiles/syntax/ |
106 |
+ doins misc/ninja.vim |
107 |
|
108 |
- echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/ninja.vim" |
109 |
- insinto /usr/share/vim/vimfiles/ftdetect |
110 |
- doins "${T}/ninja.vim" |
111 |
- fi |
112 |
+ echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}"/ninja.vim || die |
113 |
+ insinto /usr/share/vim/vimfiles/ftdetect |
114 |
+ doins "${T}"/ninja.vim |
115 |
|
116 |
insinto /usr/share/zsh/site-functions |
117 |
newins misc/zsh-completion _ninja |
118 |
|
119 |
diff --git a/dev-util/ninja/ninja-9999.ebuild b/dev-util/ninja/ninja-9999.ebuild |
120 |
index 81d813fea607..bedb66f577c5 100644 |
121 |
--- a/dev-util/ninja/ninja-9999.ebuild |
122 |
+++ b/dev-util/ninja/ninja-9999.ebuild |
123 |
@@ -1,15 +1,15 @@ |
124 |
# Copyright 2012-2022 Gentoo Authors |
125 |
# Distributed under the terms of the GNU General Public License v2 |
126 |
|
127 |
-EAPI=7 |
128 |
+EAPI=8 |
129 |
|
130 |
PYTHON_COMPAT=( python3_{8..11} ) |
131 |
|
132 |
-inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs |
133 |
+inherit edo bash-completion-r1 elisp-common python-any-r1 toolchain-funcs |
134 |
|
135 |
if [[ ${PV} == 9999 ]]; then |
136 |
- inherit git-r3 |
137 |
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git" |
138 |
+ inherit git-r3 |
139 |
else |
140 |
SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
141 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
142 |
@@ -21,7 +21,7 @@ HOMEPAGE="https://ninja-build.org/" |
143 |
LICENSE="Apache-2.0" |
144 |
SLOT="0" |
145 |
|
146 |
-IUSE="doc emacs test vim-syntax" |
147 |
+IUSE="doc emacs test" |
148 |
RESTRICT="!test? ( test )" |
149 |
|
150 |
BDEPEND=" |
151 |
@@ -35,15 +35,7 @@ BDEPEND=" |
152 |
) |
153 |
test? ( dev-cpp/gtest ) |
154 |
" |
155 |
-RDEPEND=" |
156 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
157 |
- vim-syntax? ( |
158 |
- || ( |
159 |
- app-editors/vim |
160 |
- app-editors/gvim |
161 |
- ) |
162 |
- ) |
163 |
-" |
164 |
+RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )" |
165 |
|
166 |
PATCHES=( |
167 |
"${FILESDIR}"/ninja-cflags.patch |
168 |
@@ -90,30 +82,30 @@ src_test() { |
169 |
if ! tc-is-cross-compiler; then |
170 |
# Bug 485772 |
171 |
ulimit -n 2048 |
172 |
- ./ninja -v ninja_test || die |
173 |
- ./ninja_test || die |
174 |
+ edo ./ninja -v ninja_test |
175 |
+ edo ./ninja_test |
176 |
fi |
177 |
} |
178 |
|
179 |
src_install() { |
180 |
dodoc README.md CONTRIBUTING.md |
181 |
+ |
182 |
if use doc; then |
183 |
docinto html |
184 |
dodoc -r doc/doxygen/html/. |
185 |
dodoc doc/manual.html |
186 |
fi |
187 |
+ |
188 |
dobin ninja |
189 |
|
190 |
- newbashcomp misc/bash-completion "${PN}" |
191 |
+ newbashcomp misc/bash-completion ${PN} |
192 |
|
193 |
- if use vim-syntax; then |
194 |
- insinto /usr/share/vim/vimfiles/syntax/ |
195 |
- doins misc/ninja.vim |
196 |
+ insinto /usr/share/vim/vimfiles/syntax/ |
197 |
+ doins misc/ninja.vim |
198 |
|
199 |
- echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/ninja.vim" |
200 |
- insinto /usr/share/vim/vimfiles/ftdetect |
201 |
- doins "${T}/ninja.vim" |
202 |
- fi |
203 |
+ echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}"/ninja.vim || die |
204 |
+ insinto /usr/share/vim/vimfiles/ftdetect |
205 |
+ doins "${T}"/ninja.vim |
206 |
|
207 |
insinto /usr/share/zsh/site-functions |
208 |
newins misc/zsh-completion _ninja |