Gentoo Archives: gentoo-commits

From: Samuel Bernardo <samuelbernardo.mail@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/ssnb:master commit in: dev-util/osc/files/, dev-util/osc/
Date: Mon, 01 Nov 2021 11:39:31
Message-Id: 1635766755.050d31a6c798824c6193895d6ef18629a498b306.samuelbernardo@gentoo
1 commit: 050d31a6c798824c6193895d6ef18629a498b306
2 Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
3 AuthorDate: Mon Nov 1 11:39:15 2021 +0000
4 Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
5 CommitDate: Mon Nov 1 11:39:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=050d31a6
7
8 Remove osc since it is being supported by guru overlay
9
10 Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>
11
12 dev-util/osc/Manifest | 5 --
13 dev-util/osc/files/osc.zsh_completion | 147 ----------------------------------
14 dev-util/osc/metadata.xml | 11 ---
15 dev-util/osc/osc-0.169.1.ebuild | 70 ----------------
16 dev-util/osc/osc-9999.ebuild | 1 -
17 5 files changed, 234 deletions(-)
18
19 diff --git a/dev-util/osc/Manifest b/dev-util/osc/Manifest
20 deleted file mode 100644
21 index 70eabbb..0000000
22 --- a/dev-util/osc/Manifest
23 +++ /dev/null
24 @@ -1,5 +0,0 @@
25 -AUX osc.zsh_completion 4144 BLAKE2B 5b724cc3eda861eca4c8d691abbdbfbe98a53ae3dde75d6bf52ddb2757118b7e1bb7b37d8d7e0f93e695ae23fc7f4764ea6ae0a324a90e4c9a503b26c56beeb9 SHA512 08f110a7427165d19df1f46fd73cd015c0277d8590cc23687038f0a70941f9a353b7ae99cdfb067f1be6313b8f0f3efa2ad62dea243957b214adec938522f1e6
26 -DIST 0.169.1.tar.gz 357179 BLAKE2B d65b6b238aff7cd9c4e5e1509318bfcb4bccdb00c363485c4ae106fab40051f9e5f5b4b76baca3ac25b0cf64d66d0003b3580fcd930511aa6ea7c8d36d7f50e7 SHA512 9429864bcc61c47505c8924cdf35164289f55adf890bc6f28e3fb6063438a53722384594512e3c12662dffc1d31b84f2b292af873d72b3de552a27aa4403ab16
27 -EBUILD osc-0.169.1.ebuild 1617 BLAKE2B 0c03a10289c0e4877001b1abbdf81c73d6c9df19cf9c55b569d2c31430c89a4b611e6d93b37c2ed916bc39d723984b4f429b5567c51fff3fff5955986e964043 SHA512 b66f1078c1354ace3eecfae8528169e2666ec8b5349dec8e2f692f398ad417a517a38acb414cb16082381b7247a66e3f65a020aa5e61fda9bc1cccbfc24cd645
28 -EBUILD osc-9999.ebuild 1617 BLAKE2B 0c03a10289c0e4877001b1abbdf81c73d6c9df19cf9c55b569d2c31430c89a4b611e6d93b37c2ed916bc39d723984b4f429b5567c51fff3fff5955986e964043 SHA512 b66f1078c1354ace3eecfae8528169e2666ec8b5349dec8e2f692f398ad417a517a38acb414cb16082381b7247a66e3f65a020aa5e61fda9bc1cccbfc24cd645
29 -MISC metadata.xml 565 BLAKE2B 0ffe46fcdf0dca08cfe8acab107a08e772ef2aec7f64598735151384bedea0f144a85616db0da17e5fdce8a3adc9df394f8afe1be97f883c0b5991d5b35f88cd SHA512 e6ce3764cc97f76c22f64129534666a3b63f4bfa9bbe9ec609483ea738669cf519e04ff3a3ef3e30cb8b062b468db2fc83a38f3a69899c38a5d033d2177933c9
30
31 diff --git a/dev-util/osc/files/osc.zsh_completion b/dev-util/osc/files/osc.zsh_completion
32 deleted file mode 100644
33 index 74f2432..0000000
34 --- a/dev-util/osc/files/osc.zsh_completion
35 +++ /dev/null
36 @@ -1,147 +0,0 @@
37 -#compdef osc
38 -#
39 -# Copyright (C) 2009,2010 Holger Macht <holger@×××××.de>
40 -#
41 -# This file is released under the GPLv2.
42 -#
43 -# Based on the the zsh guide from http://zsh.dotsrc.org/Guide/zshguide06.html
44 -#
45 -# Toggle verbose completions: zstyle ':completion:*:osc:*' verbose no
46 -# zstyle ':completion:*:osc-subcommand:*' verbose no
47 -#
48 -# Use the variables $ZSH_OSC_BUILD_TARGETS_EXTRA and $ZSH_OSC_PROJECTS_EXTRA to
49 -# extend the list of possible completions in your ~/.zshrc like that:
50 -# export OSC_PROJECTS_EXTRA="Base:System Base:shells"
51 -#
52 -# version 0.2
53 -#
54 -
55 -OSC_BUILD_TARGETS="openSUSE_10.2 openSUSE_10.3 openSUSE_11.0 openSUSE_11.1 openSUSE_11.2 openSUSE_11.3 openSUSE_Factory"
56 -OSC_PROJECTS="openSUSE:Factory openSUSE:11.2 openSUSE:11.3 openSUSE:11.1 openSUSE:11.0 openSUSE:10.3"
57 -
58 -# user defined variables $OSC_BUILD_TARGETS_EXTRA and
59 -# $OSC_PROJECTS_EXTRA can add to the project/build target list
60 -OSC_BUILD_TARGETS="$OSC_BUILD_TARGETS $ZSH_OSC_BUILD_TARGETS_EXTRA"
61 -OSC_PROJECTS="$OSC_PROJECTS $ZSH_OSC_PROJECTS_EXTRA"
62 -
63 -# Main dispatcher
64 -
65 -_osc() {
66 - if (( CURRENT > 2 )) && [[ ${words[2]} != "help" ]]; then
67 - # Remember the subcommand name
68 - local cmd=${words[2]}
69 - # Set the context for the subcommand.
70 - curcontext="${curcontext%:*:*}:osc-subcommand"
71 - # Narrow the range of words we are looking at to exclude `osc'
72 - (( CURRENT-- ))
73 - shift words
74 - # Run the completion for the subcommand
75 - if [ "$cmd" = "submitreq" -o "$cmd" = "sr" ]; then
76 - _osc_cmd_submitreq
77 - elif [ "$cmd" = "getbinaries" ]; then
78 - _osc_cmd_getbinaries
79 - elif [ "$cmd" = "checkout" -o "$cmd" = "co" -o "$cmd" = "branch" ]; then
80 - _osc_cmd_checkout
81 - elif [ "$cmd" = "buildlog" -o "$cmd" = "buildinfo" -o "$cmd" = "bl" ]; then
82 - _osc_cmd_buildlog
83 - else
84 - _osc_cmd_do $cmd
85 - fi
86 - else
87 - local hline
88 - local -a cmdlist
89 - local tag=0
90 - _call_program help-commands osc help | while read -A hline; do
91 - # start parsing with "commands:"
92 - [[ $hline[1] = "commands:" ]] && tag=1
93 - # stop parsing at the line starting with "For"
94 - [[ $hline[1] = "For" ]] && tag=0
95 - [[ $tag = 0 ]] && continue
96 - # all commands have to start with lower case letters
97 - [[ $hline[1] =~ ^[A-Z] ]] && continue
98 - (( ${#hline} < 2 )) && continue
99 -
100 - # ${hline[1]%,} truncates the last ','
101 - cmdlist=($cmdlist "${hline[1]%,}:${hline[2,-1]}")
102 - done
103 - _describe -t osc-commands 'osc command' cmdlist
104 - fi
105 -}
106 -
107 -_osc_cmd_getbinaries() {
108 - _arguments \
109 - '1:PROJECT:( `echo $OSC_PROJECTS` )' \
110 - '2:PACKAGE:(PACKAGE)' \
111 - '3:REPOSITORY:( `echo $OSC_BUILD_TARGETS` )' \
112 - '4:ARCHITECTURE:(i586 x86_64)'
113 -}
114 -
115 -_osc_cmd_checkout() {
116 - _arguments \
117 - '1:PROJECT:( `echo $OSC_PROJECTS` )' \
118 - '2:PACKAGE:(PACKAGE)'
119 -}
120 -
121 -_osc_cmd_buildlog() {
122 - _arguments \
123 - '1:REPOSITORY:( `echo $OSC_BUILD_TARGETS` )' \
124 - '2:ARCHITECTURE:(i586 x86_64)'
125 -}
126 -
127 -_osc_cmd_submitreq() {
128 - local hline
129 - local -a cmdlist
130 - local tag=0
131 - _call_program help-commands osc help $cmd | while read -A hline; do
132 - # start parsing from "usage:"
133 - [[ $hline[1] = "usage:" ]] && tag=1
134 - [[ $tag = 0 ]] && continue
135 -
136 - if [[ $hline[1] =~ ^osc ]]; then
137 - shift hline; shift hline
138 - elif ! [[ $hline[1] =~ ^- ]]; then
139 - # Option has to start with a '-' or 'osc submitrequest'
140 - continue
141 - fi
142 -
143 - (( ${#hline} < 2 )) && continue
144 -
145 - cmdlist=($cmdlist "${hline[1]%,}:${hline[2,-1]}")
146 -
147 - done
148 -
149 - _describe -t osc-commands 'osc command' cmdlist
150 -}
151 -
152 -
153 -_osc_cmd_do() {
154 - local hline
155 - local -a cmdlist
156 - local tag=0
157 -
158 - # only start completion if theres some '-' on the line
159 - if ! [ "$words[2]" = "-" ]; then
160 - _complete
161 - return
162 - fi
163 -
164 - _call_program help-commands osc help $cmd | while read -A hline; do
165 - # start parsing from "Options:"
166 - [[ $hline[1] = "Options:" ]] && tag=1
167 - [[ $tag = 0 ]] && continue
168 - # Option has to start with a '-'
169 - [[ $hline[1] =~ ^- ]] || continue
170 - (( ${#hline} < 2 )) && continue
171 -
172 - cmdlist=($cmdlist "${hline[1]%,}:${hline[2,-1]}")
173 - done
174 -
175 - if [ -n "$cmdlist" ]; then
176 - _describe -t osc-commands 'osc command' cmdlist
177 - else
178 - _complete
179 - fi
180 -}
181 -
182 -# Code to make sure _osc is run when we load it
183 -_osc "$@"
184
185 diff --git a/dev-util/osc/metadata.xml b/dev-util/osc/metadata.xml
186 deleted file mode 100644
187 index d08913c..0000000
188 --- a/dev-util/osc/metadata.xml
189 +++ /dev/null
190 @@ -1,11 +0,0 @@
191 -<?xml version="1.0" encoding="UTF-8"?>
192 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
193 -<pkgmetadata>
194 - <maintainer type="person">
195 - <email>samuelbernardo.mail@×××××.com</email>
196 - <name>Samuel Bernardo</name>
197 - </maintainer>
198 - <longdescription lang="en">
199 - Subversion-like client for Open Build Service - http://open-build-service.org/ It serves as client for the source code repository part of the build service, and it is used to edit metadata or query about build results.
200 - </longdescription>
201 -</pkgmetadata>
202
203 diff --git a/dev-util/osc/osc-0.169.1.ebuild b/dev-util/osc/osc-0.169.1.ebuild
204 deleted file mode 100644
205 index cac3c5d..0000000
206 --- a/dev-util/osc/osc-0.169.1.ebuild
207 +++ /dev/null
208 @@ -1,70 +0,0 @@
209 -# Copyright 1999-2020 Gentoo Authors
210 -# Distributed under the terms of the GNU General Public License v2
211 -
212 -EAPI=7
213 -
214 -PYTHON_COMPAT=( python3_{6,7,8} )
215 -PYTHON_REQ_USE="xml"
216 -
217 -if [[ "${PV}" == "9999" ]]; then
218 - EGIT_REPO_URI="https://github.com/openSUSE/${PN}.git"
219 - EXTRA_ECLASS="git-r3"
220 -else
221 - SRC_URI="https://github.com/openSUSE/${PN}/archive/${PV}.tar.gz"
222 - OBS_PROJECT="openSUSE:Tools"
223 -fi
224 -
225 -DISTUTILS_SINGLE_IMPL=1
226 -inherit distutils-r1 ${EXTRA_ECLASS}
227 -unset EXTRA_ECLASS
228 -
229 -DESCRIPTION="Command line tool for Open Build Service"
230 -HOMEPAGE="https://en.opensuse.org/openSUSE:OSC"
231 -
232 -LICENSE="GPL-2"
233 -SLOT="0"
234 -IUSE=""
235 -
236 -# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
237 -[[ "${PV}" == "9999" ]] || \
238 -KEYWORDS="~amd64 ~x86"
239 -
240 -RDEPEND="
241 - app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
242 - $(python_gen_cond_dep '
243 - dev-python/m2crypto[${PYTHON_USEDEP}]
244 - ')
245 - ${PYTHON_SINGLE_DEPS}
246 -"
247 -
248 -BDEPEND="
249 - $(python_gen_cond_dep '
250 - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
251 - ')
252 - test? (
253 - ${RDEPEND}
254 - $(python_gen_cond_dep '
255 - dev-python/path-py[${PYTHON_USEDEP}]
256 - ')
257 - )
258 -"
259 -
260 -distutils_enable_tests pytest
261 -
262 -src_prepare() {
263 - distutils-r1_src_prepare
264 -}
265 -
266 -src_install() {
267 - distutils-r1_src_install
268 - dosym osc-wrapper.py /usr/bin/osc
269 - rm -f "${ED}"/usr/share/doc/${PN}*/TODO*
270 - insinto /usr/share/bash-completion/completions
271 - newins dist/complete.sh osc
272 - insinto /usr/lib/osc
273 - newins dist/osc.complete complete
274 - insinto /usr/share/zsh/site-functions
275 - newins ${FILESDIR}/osc.zsh_completion _osc
276 -}
277 -
278 -# vim:set sts=2 ts=2 sw=2 et:
279
280 diff --git a/dev-util/osc/osc-9999.ebuild b/dev-util/osc/osc-9999.ebuild
281 deleted file mode 120000
282 index bbd5538..0000000
283 --- a/dev-util/osc/osc-9999.ebuild
284 +++ /dev/null
285 @@ -1 +0,0 @@
286 -osc-0.169.1.ebuild
287 \ No newline at end of file