Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-vcs/git-imerge/, dev-vcs/git-imerge/files/
Date: Sat, 23 May 2020 09:36:54
Message-Id: 1590226554.0a9700d7d7032e7bed4752932d432cd0096ae6b9.mgorny@gentoo
1 commit: 0a9700d7d7032e7bed4752932d432cd0096ae6b9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 23 09:35:54 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 23 09:35:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a9700d7
7
8 dev-vcs/git-imerge: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/718308
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-vcs/git-imerge/Manifest | 1 -
14 dev-vcs/git-imerge/files/git-imerge.bashcomplete | 267 -----------------------
15 dev-vcs/git-imerge/git-imerge-1.0.0.ebuild | 45 ----
16 dev-vcs/git-imerge/metadata.xml | 8 -
17 profiles/package.mask | 5 -
18 5 files changed, 326 deletions(-)
19
20 diff --git a/dev-vcs/git-imerge/Manifest b/dev-vcs/git-imerge/Manifest
21 deleted file mode 100644
22 index edbfa281961..00000000000
23 --- a/dev-vcs/git-imerge/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST git-imerge-1.0.0.tar.gz 58736 BLAKE2B 16665436d10d07058eeadab5d53a2325d68174f6fcf1748948d0fc4fbe11ab4fca87853bb557e167b0f485351aedd72889fcedaa70f09439d7e66b75a61d318b SHA512 919b80f157d635e3a3eb2b05cfaf8f6a7034fe6f43529c829fef0152007bce3bf5b296cc00f6db0c0a711bfb9e118c4adb0f5a2641ff841c973ff12610473e9b
27
28 diff --git a/dev-vcs/git-imerge/files/git-imerge.bashcomplete b/dev-vcs/git-imerge/files/git-imerge.bashcomplete
29 deleted file mode 100644
30 index 0fe8e04f64d..00000000000
31 --- a/dev-vcs/git-imerge/files/git-imerge.bashcomplete
32 +++ /dev/null
33 @@ -1,267 +0,0 @@
34 -__git_imerge_branches () {
35 - git for-each-ref --format='%(refname)' refs/heads/ refs/remotes/ 2>/dev/null |
36 - sed -e 's!^refs/heads/!!' -e 's!^refs/remotes/!!'
37 -}
38 -
39 -__git_imerge_names () {
40 - git for-each-ref --format='%(refname)' refs/imerge/ 2>/dev/null |
41 - sed -e 's/^refs\/imerge\/\(.*\)\/.*/\1/' -e '/manual/d' -e '/auto/d'
42 -}
43 -
44 -__git_imerge_goals="\
45 -merge
46 -rebase
47 -rebase-with-history
48 -full
49 -"
50 -
51 -__git_imerge_commands="\
52 -start
53 -merge
54 -rebase
55 -continue
56 -finish
57 -diagram
58 -list
59 -init
60 -record
61 -autofill
62 -simplify
63 -remove
64 -reparent
65 -"
66 -
67 -__git_imerge_start_options="\
68 ---help
69 ---manual
70 ---name
71 ---branch
72 ---goal
73 ---first-parent
74 -"
75 -
76 -__git_imerge_init_options=$__git_imerge_start_options
77 -
78 -__git_imerge_continue_options="\
79 ---help
80 ---name
81 ---edit
82 ---no-edit
83 -"
84 -
85 -__git_imerge_finish_options="\
86 ---help
87 ---name
88 ---goal
89 ---branch
90 ---force
91 -"
92 -
93 -__git_imerge_simplify_options=$__git_imerge_finish_options
94 -
95 -__git_imerge_merge_options="\
96 ---help
97 ---name
98 ---goal
99 ---branch
100 ---manual
101 -"
102 -
103 -__git_imerge_list_options="\
104 ---help
105 -"
106 -
107 -__git_imerge_reparent_options=$__git_imerge_list_options
108 -
109 -__git_imerge_record_options="\
110 ---help
111 ---name
112 ---edit
113 ---no-edit
114 -"
115 -
116 -__git_imerge_autofill_options="\
117 ---help
118 ---name
119 -"
120 -
121 -__git_imerge_diagram_options="\
122 ---help
123 ---name
124 ---commits
125 ---frontier
126 ---html
127 ---color
128 ---no-color
129 -"
130 -
131 -__git_imerge_remove_options=$__git_imerge_autofill_options
132 -
133 -__git_imerge_rebase_options=$__git_imerge_merge_options
134 -
135 -__git-imerge_start_completion() {
136 - case "$1_$cur" in
137 - --help_|--branch_|_--branch=|--name_|_--name=)
138 - return
139 - ;;
140 - --goal_*|*_--goal=*)
141 - __gitcomp "$__git_imerge_goals" "" "${cur##--goal=}"
142 - return
143 - ;;
144 - *-|*_-*?)
145 - __gitcomp "$__git_imerge_start_options"
146 - return
147 - ;;
148 - esac
149 - __gitcomp "$(__git_imerge_branches)"
150 -}
151 -
152 -__git-imerge_init_completion() {
153 - __git-imerge_start_completion $1
154 -}
155 -
156 -__git-imerge_continue_completion() {
157 - case "$1_$cur" in
158 - --help_)
159 - return
160 - ;;
161 - --name_*|*_--name=*)
162 - __gitcomp "$(__git_imerge_names)" "" "${cur##--name=}"
163 - return
164 - ;;
165 - esac
166 - __gitcomp "$__git_imerge_continue_options"
167 -}
168 -
169 -__git-imerge_finish_completion() {
170 - case "$1_$cur" in
171 - --help_)
172 - return
173 - ;;
174 - --goal_*|*_--goal=*)
175 - __gitcomp "$__git_imerge_goals" "" "${cur##--goal=}"
176 - return
177 - ;;
178 - --branch_*|*_--branch=*)
179 - __gitcomp "$(__git_imerge_branches)" "" "${cur##--branch=}"
180 - return
181 - ;;
182 - --name_*|*_--name=*)
183 - __gitcomp "$(__git_imerge_names)" "" "${cur##--name=}"
184 - return
185 - ;;
186 - esac
187 - __gitcomp "$__git_imerge_finish_options"
188 -}
189 -
190 -__git-imerge_simplify_completion() {
191 - __git-imerge_finish_completion $1
192 -}
193 -
194 -__git-imerge_merge_completion() {
195 - case "$1_$cur" in
196 - --help_|--branch_|_--branch=|--name_|_--name=)
197 - return
198 - ;;
199 - --goal_*|*_--goal=*)
200 - __gitcomp "$__git_imerge_goals" "" "${cur##--goal=}"
201 - return
202 - ;;
203 - *-|*_-*?)
204 - __gitcomp "$__git_imerge_merge_options"
205 - return
206 - ;;
207 - esac
208 - __gitcomp "$(__git_imerge_branches)"
209 -}
210 -
211 -__git-imerge_rebase_completion() {
212 - __git-imerge_merge_completion $1
213 -}
214 -
215 -__git-imerge_list_completion() {
216 - case "$1" in
217 - --help)
218 - return
219 - ;;
220 - esac
221 - __gitcomp "$__git_imerge_list_options"
222 -}
223 -
224 -__git-imerge_reparent_completion() {
225 - __git-imerge_list_completion $1
226 -}
227 -
228 -__git-imerge_record_completion() {
229 - case "$1_$cur" in
230 - --help_)
231 - return
232 - ;;
233 - --name_*|*_--name=*)
234 - __gitcomp "$(__git_imerge_names)" "" "${cur##--name=}"
235 - return
236 - ;;
237 - esac
238 - __gitcomp "$__git_imerge_record_options"
239 -}
240 -
241 -__git-imerge_autofill_completion() {
242 - case "$1_$cur" in
243 - --help_)
244 - return
245 - ;;
246 - --name_*|*_--name=*)
247 - __gitcomp "$(__git_imerge_names)" "" "${cur##--name=}"
248 - return
249 - ;;
250 - esac
251 - __gitcomp "$__git_imerge_autofill_options"
252 -}
253 -
254 -__git-imerge_remove_completion() {
255 - __git-imerge_autofill_completion $1
256 -}
257 -
258 -__git-imerge_diagram_completion() {
259 - case "$1_$cur" in
260 - --help_|--html_|_--html=)
261 - return
262 - ;;
263 - --name_*|*_--name=*)
264 - __gitcomp "$(__git_imerge_names)" "" "${cur##--name=}"
265 - return
266 - ;;
267 - esac
268 - __gitcomp "$__git_imerge_diagram_options"
269 -}
270 -
271 -_git_imerge () {
272 - # Disable default filename completion. Note that "compopt" is only
273 - # available in Bash 4 and newer, so we check for existence before
274 - # trying to use it.
275 - type compopt >/dev/null 2>&1 && compopt +o default +o bashdefault
276 -
277 - local i command cur_opt
278 - for ((i=0; i <= ${cword}; i++)); do
279 - if [ -n "$command" ] && [ "${words[i]}" != "$cur" ]; then
280 - cur_opt="${words[i]}"
281 - fi
282 - if [ -z "$command" ] && \
283 - [ "$i" -lt "${cword}" ] && \
284 - [[ "${words[i-1]}" == *"imerge"* ]]
285 - then
286 - command="${words[i]}"
287 - fi
288 - done
289 -
290 - if test -z "$command"; then
291 - __gitcomp "$__git_imerge_commands"
292 - return
293 - fi
294 -
295 - if [ -z `type -t __git-imerge_"$command"_completion "$cur_opt"` ]; then
296 - return
297 - fi
298 -
299 - __git-imerge_"$command"_completion "$cur_opt"
300 -}
301
302 diff --git a/dev-vcs/git-imerge/git-imerge-1.0.0.ebuild b/dev-vcs/git-imerge/git-imerge-1.0.0.ebuild
303 deleted file mode 100644
304 index 424d661ab00..00000000000
305 --- a/dev-vcs/git-imerge/git-imerge-1.0.0.ebuild
306 +++ /dev/null
307 @@ -1,45 +0,0 @@
308 -# Copyright 1999-2020 Gentoo Authors
309 -# Distributed under the terms of the GNU General Public License v2
310 -
311 -EAPI=6
312 -
313 -PYTHON_COMPAT=( python3_6 )
314 -
315 -inherit bash-completion-r1 python-r1
316 -
317 -DESCRIPTION="Incremental merge for git"
318 -HOMEPAGE="https://github.com/mhagger/git-imerge"
319 -SRC_URI="https://github.com/mhagger/git-imerge/archive/v${PV}.tar.gz -> ${P}.tar.gz"
320 -
321 -LICENSE="GPL-2+"
322 -SLOT="0"
323 -KEYWORDS="~amd64 ~x86"
324 -IUSE=""
325 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
326 -
327 -RDEPEND="${PYTHON_DEPS}
328 - dev-vcs/git"
329 -DEPEND="dev-python/docutils"
330 -
331 -src_compile() {
332 - for doc in *.rst; do
333 - rst2html.py "${doc}" > "${T}/${doc/.rst/.html}" \
334 - || die "failed to convert ${doc} to ${T}/${doc/.rst/.html}"
335 - done
336 -
337 - rst2s5.py \
338 - --theme=small-white \
339 - --current-slide \
340 - doc/presentations/GitMerge-2013/talk.rst \
341 - "${T}/talk.html" \
342 - || die 'failed to convert talk.rst to ${T}/talk.html'
343 -}
344 -
345 -src_install() {
346 - python_foreach_impl python_doscript "${PN}"
347 - newbashcomp "${FILESDIR}/git-imerge.bashcomplete" git-imerge
348 - dodoc *.rst "${T}"/*.html
349 -
350 - # Don't forget the CSS for the presentation.
351 - dodoc -r "${T}/ui"
352 -}
353
354 diff --git a/dev-vcs/git-imerge/metadata.xml b/dev-vcs/git-imerge/metadata.xml
355 deleted file mode 100644
356 index 33aa1137112..00000000000
357 --- a/dev-vcs/git-imerge/metadata.xml
358 +++ /dev/null
359 @@ -1,8 +0,0 @@
360 -<?xml version="1.0" encoding="UTF-8"?>
361 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
362 -<pkgmetadata>
363 - <!-- maintainer-needed -->
364 - <upstream>
365 - <remote-id type="github">mhagger/git-imerge</remote-id>
366 - </upstream>
367 -</pkgmetadata>
368
369 diff --git a/profiles/package.mask b/profiles/package.mask
370 index af3180f6cdb..2dbcc279557 100644
371 --- a/profiles/package.mask
372 +++ b/profiles/package.mask
373 @@ -577,11 +577,6 @@ media-sound/beets
374 # Removal in 30 days. Bug #718340.
375 media-gfx/qrencode-python
376
377 -# Michał Górny <mgorny@g.o> (2020-04-19)
378 -# Unmaintained. Stuck on Python 3.6.
379 -# Removal in 30 days. Bug #718308.
380 -dev-vcs/git-imerge
381 -
382 # Georgy Yakovlev <gyakovlev@g.o> (2020-04-18)
383 # Unmaintained, vulnerable oracle java ebuilds, even fetching distfiles
384 # requires agreement to restrictive license