1 |
commit: 3f968545dfc71f1ab1897aec51b6f214be111bc7 |
2 |
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Aug 6 09:27:31 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 16:41:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f968545 |
7 |
|
8 |
app-admin/rex: drop old |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/17030 |
11 |
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com> |
12 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
13 |
|
14 |
app-admin/rex/Manifest | 4 - |
15 |
app-admin/rex/rex-1.10.0.ebuild | 185 ------------------------------------- |
16 |
app-admin/rex/rex-1.11.0.ebuild | 185 ------------------------------------- |
17 |
app-admin/rex/rex-1.12.0.ebuild | 196 ---------------------------------------- |
18 |
app-admin/rex/rex-1.9.0.ebuild | 185 ------------------------------------- |
19 |
5 files changed, 755 deletions(-) |
20 |
|
21 |
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest |
22 |
index 06f684b53fe..2343566f2db 100644 |
23 |
--- a/app-admin/rex/Manifest |
24 |
+++ b/app-admin/rex/Manifest |
25 |
@@ -1,5 +1 @@ |
26 |
-DIST Rex-1.10.0.tar.gz 332057 BLAKE2B fb8e22c25c6f5bbc696aa894cc2f77138e830bb7a41fcc42e677ae251b63fffc841d206a9c50dfda60e022fafccf4ca0181ba8ccb50151c74830994929cb70fa SHA512 eaebf722d741d028d1f89beefee756e0b2fa6e3ddb8c2d6196c4183aedb6b1dd0a7f5fd4bc4211e4da26f61138ee974aa689d84d909c8d63cc414f803227dcf2 |
27 |
-DIST Rex-1.11.0.tar.gz 333640 BLAKE2B 72f4ae7c661f90e406810d265fb72fd3114808576fb284ac05add4eac9e8501e1319dc9baffceff22d4480f02a8b56f5a502e41cef5062fd21460a61cfa7731f SHA512 efe4aac2d5437d7e174fcf8b285911abcb416b68fa96a424b5b0a871490c9b7fa5d584a746befcd9f2f57f80d4135e0050db6bf8b6ce150b431b6f1e3b008b70 |
28 |
-DIST Rex-1.12.0.tar.gz 338275 BLAKE2B 74f759196cd138c260833866aaff7086fe6e2b199657af629c7b2a9c88035dfa4100f6d9af216088838df9c614f629fb1ff81b897aadb4c6f863c2dd2f6dc7ae SHA512 155b409d6015ea30f56660a58758c3e59383a739d87b34fee6fb881f0ca7035f23aa73339ee627c628d4ff215e3103ad4e3225e0af394f7142cde5e31aa7951f |
29 |
DIST Rex-1.12.1.tar.gz 339065 BLAKE2B fd026e66a4e1cf6d4c8b15f7fcba0525a3e98346464170f27d5ef7bb54f1decd7450d87d9f23bee8378df4647eacf512c06a8d051bb76021cbcae472e2c2012d SHA512 774452511d97106bb6586324ff4e8642b05be628c80f3adbba7fd82558c82236878e969512bab398e26a1a7a271a7614108761bd0fb888a2122167806796bad1 |
30 |
-DIST Rex-1.9.0.tar.gz 331106 BLAKE2B 74bdf06be9454bc41c444a7d2bf576740e8ecfd2dd575d96172becaac5ee6031506b5ef111c6755a3bc3dcb1eb45722a14c050578cf816815954686a0e79a5ab SHA512 9f9f629d681cc9af3fabccbbb31a881ab7a0414b51e6f1fc45600772b5f7207f8bf27a757955576b15eb7e8e7339e9f4746c497e4111904ad57614ebf1e3cb55 |
31 |
|
32 |
diff --git a/app-admin/rex/rex-1.10.0.ebuild b/app-admin/rex/rex-1.10.0.ebuild |
33 |
deleted file mode 100644 |
34 |
index 5cc3866dba7..00000000000 |
35 |
--- a/app-admin/rex/rex-1.10.0.ebuild |
36 |
+++ /dev/null |
37 |
@@ -1,185 +0,0 @@ |
38 |
-# Copyright 1999-2020 Gentoo Authors |
39 |
-# Distributed under the terms of the GNU General Public License v2 |
40 |
- |
41 |
-EAPI=7 |
42 |
- |
43 |
-if [[ ${PV} == 9999 ]]; then |
44 |
- GITHUB_USER=RexOps |
45 |
- GITHUB_REPO=Rex |
46 |
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git" |
47 |
- EGIT_BRANCH="master" |
48 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git" |
49 |
- VCS_ECLASS="git-r3" |
50 |
-else |
51 |
- # This is intentional to stop perl-module.eclass doing magic things when it |
52 |
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex" |
53 |
- # Also prevents perl-module.eclass provisioning SRC_URI |
54 |
- DIST_AUTHOR=FERKI |
55 |
- DIST_NAME=Rex |
56 |
- KEYWORDS="~amd64 ~x86" |
57 |
-fi |
58 |
-inherit perl-module ${VCS_ECLASS} |
59 |
- |
60 |
-DESCRIPTION="(R)?ex, the friendly automation framework" |
61 |
- |
62 |
-SLOT="0" |
63 |
-IUSE="test" |
64 |
-RESTRICT="!test? ( test )" |
65 |
- |
66 |
-DZIL_DEPENDS=" |
67 |
- dev-perl/Dist-Zilla |
68 |
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests |
69 |
- dev-perl/Dist-Zilla-Plugin-ContributorsFile |
70 |
- dev-perl/Dist-Zilla-Plugin-Git-Contributors |
71 |
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome |
72 |
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors |
73 |
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package |
74 |
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic |
75 |
- dev-perl/Dist-Zilla-Plugin-OSPrereqs |
76 |
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion |
77 |
- dev-perl/Dist-Zilla-Plugin-Run |
78 |
- dev-perl/Software-License |
79 |
-" |
80 |
-RDEPEND=" |
81 |
- virtual/perl-Carp |
82 |
- virtual/perl-Data-Dumper |
83 |
- dev-perl/Data-Validate-IP |
84 |
- dev-perl/DBI |
85 |
- dev-perl/Devel-Caller |
86 |
- dev-perl/Digest-HMAC |
87 |
- virtual/perl-Digest-MD5 |
88 |
- dev-perl/Expect |
89 |
- virtual/perl-Exporter |
90 |
- virtual/perl-File-Spec |
91 |
- dev-perl/HTTP-Message |
92 |
- dev-perl/Hash-Merge |
93 |
- virtual/perl-IO |
94 |
- dev-perl/IO-String |
95 |
- dev-perl/IO-Tty |
96 |
- dev-perl/IPC-Shareable |
97 |
- dev-perl/JSON-MaybeXS |
98 |
- dev-perl/List-MoreUtils |
99 |
- virtual/perl-MIME-Base64 |
100 |
- dev-perl/Net-OpenSSH |
101 |
- dev-perl/Net-SFTP-Foreign |
102 |
- virtual/perl-Scalar-List-Utils |
103 |
- dev-perl/Parallel-ForkManager |
104 |
- dev-perl/Sort-Naturally |
105 |
- dev-perl/String-Escape |
106 |
- virtual/perl-Storable |
107 |
- dev-perl/TermReadKey |
108 |
- virtual/perl-Test-Simple |
109 |
- dev-perl/Text-Glob |
110 |
- virtual/perl-Text-Tabs+Wrap |
111 |
- virtual/perl-Time-HiRes |
112 |
- dev-perl/URI |
113 |
- dev-perl/XML-LibXML |
114 |
- dev-perl/XML-Simple |
115 |
- dev-perl/libwww-perl |
116 |
- dev-perl/YAML |
117 |
- virtual/perl-version |
118 |
-" |
119 |
- |
120 |
-BDEPEND=" |
121 |
- ${RDEPEND} |
122 |
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100 |
123 |
- test? ( |
124 |
- virtual/perl-File-Temp |
125 |
- dev-perl/Test-Deep |
126 |
- >=dev-perl/Test-UseAllModules-0.150.0 |
127 |
- ) |
128 |
-" |
129 |
- |
130 |
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}" |
131 |
- |
132 |
-src_unpack() { |
133 |
- if [[ $PV == 9999 ]]; then |
134 |
- "${VCS_ECLASS}"_src_unpack |
135 |
- mkdir -p "${S}" || die "Can't make ${S}" |
136 |
- else |
137 |
- default |
138 |
- fi |
139 |
-} |
140 |
- |
141 |
-dzil_src_prep() { |
142 |
- einfo "Patching dist.ini" |
143 |
- |
144 |
- # This block of sed invocations removes all plugins that aren't |
145 |
- # useful for users to have on Gentoo, because all of them are |
146 |
- # conditional and subjective style checks, which don't indicate |
147 |
- # a real issue for users, and paying the price of their dependencies is undesired. |
148 |
- |
149 |
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space |
150 |
- # so that the final [d]elete deletes the next line too. Can be expanded for each |
151 |
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match. |
152 |
- sed -e '/^\[Test::Kwalitee\]/d' \ |
153 |
- -e '/^\[Test::Perl::Critic\]/d' \ |
154 |
- -e '/^\[PodSyntaxTests\]/d' \ |
155 |
- -e '/^Test::Kwalitee =/d' \ |
156 |
- -e '/^Test::PerlTidy =/d' \ |
157 |
- -e '/^Test::Pod =/d' \ |
158 |
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \ |
159 |
- -e '/^\[Test::MinimumVersion\]/{N;d}' \ |
160 |
- -i dist.ini || die "Can't patch dist.ini" |
161 |
-} |
162 |
-dzil_env_setup() { |
163 |
- # NextRelease noise :( |
164 |
- mkdir -p ~/.dzil/ |
165 |
- local user="$(whoami)" |
166 |
- local host="$(hostname)" |
167 |
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini |
168 |
- |
169 |
-} |
170 |
-dzil_to_distdir() { |
171 |
- local dzil_root dest has_missing modname dzil_version |
172 |
- dzil_root="$1" |
173 |
- dest="$2" |
174 |
- |
175 |
- cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'"; |
176 |
- |
177 |
- dzil_src_prep |
178 |
- dzil_env_setup |
179 |
- |
180 |
- dzil_version="$(dzil version)" || die "Error invoking 'dzil version'" |
181 |
- einfo "Generating CPAN dist with ${dzil_version}" |
182 |
- |
183 |
- has_missing="" |
184 |
- |
185 |
- einfo "Checking dzil authordeps" |
186 |
- while IFS= read -d $'\n' -r modname; do |
187 |
- if [[ -z "${has_missing}" ]]; then |
188 |
- has_missing=1 |
189 |
- eerror "'dzil authordeps' indicates missing build dependencies" |
190 |
- eerror "These will prevent building, please report a bug" |
191 |
- eerror "Missing:" |
192 |
- fi |
193 |
- eerror " ${modname}" |
194 |
- done < <( dzil authordeps --missing --versions ) |
195 |
- |
196 |
- [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first" |
197 |
- |
198 |
- einfo "Checking dzil build deps" |
199 |
- while IFS= read -d $'\n' -r modname; do |
200 |
- if [[ -z "${has_missing}" ]]; then |
201 |
- has_missing=1 |
202 |
- ewarn "'dzil listdeps' indicates missing build dependencies" |
203 |
- ewarn "These may prevent building, please report a bug if they do" |
204 |
- ewarn "Missing:" |
205 |
- fi |
206 |
- ewarn " ${modname}" |
207 |
- done < <( dzil listdeps --missing --versions --author ) |
208 |
- |
209 |
- einfo "Generating release" |
210 |
- dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'" |
211 |
-} |
212 |
- |
213 |
-src_prepare() { |
214 |
- if [[ ${PV} == 9999 ]]; then |
215 |
- # Uses git sources in WORKDIR/rex-git |
216 |
- # to generate a CPAN-style tree in ${S} |
217 |
- # before letting perl-module.eclass do the rest |
218 |
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}" |
219 |
- fi |
220 |
- cd "${S}" || die "Can't enter build dir" |
221 |
- perl-module_src_prepare |
222 |
-} |
223 |
|
224 |
diff --git a/app-admin/rex/rex-1.11.0.ebuild b/app-admin/rex/rex-1.11.0.ebuild |
225 |
deleted file mode 100644 |
226 |
index 5cc3866dba7..00000000000 |
227 |
--- a/app-admin/rex/rex-1.11.0.ebuild |
228 |
+++ /dev/null |
229 |
@@ -1,185 +0,0 @@ |
230 |
-# Copyright 1999-2020 Gentoo Authors |
231 |
-# Distributed under the terms of the GNU General Public License v2 |
232 |
- |
233 |
-EAPI=7 |
234 |
- |
235 |
-if [[ ${PV} == 9999 ]]; then |
236 |
- GITHUB_USER=RexOps |
237 |
- GITHUB_REPO=Rex |
238 |
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git" |
239 |
- EGIT_BRANCH="master" |
240 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git" |
241 |
- VCS_ECLASS="git-r3" |
242 |
-else |
243 |
- # This is intentional to stop perl-module.eclass doing magic things when it |
244 |
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex" |
245 |
- # Also prevents perl-module.eclass provisioning SRC_URI |
246 |
- DIST_AUTHOR=FERKI |
247 |
- DIST_NAME=Rex |
248 |
- KEYWORDS="~amd64 ~x86" |
249 |
-fi |
250 |
-inherit perl-module ${VCS_ECLASS} |
251 |
- |
252 |
-DESCRIPTION="(R)?ex, the friendly automation framework" |
253 |
- |
254 |
-SLOT="0" |
255 |
-IUSE="test" |
256 |
-RESTRICT="!test? ( test )" |
257 |
- |
258 |
-DZIL_DEPENDS=" |
259 |
- dev-perl/Dist-Zilla |
260 |
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests |
261 |
- dev-perl/Dist-Zilla-Plugin-ContributorsFile |
262 |
- dev-perl/Dist-Zilla-Plugin-Git-Contributors |
263 |
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome |
264 |
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors |
265 |
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package |
266 |
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic |
267 |
- dev-perl/Dist-Zilla-Plugin-OSPrereqs |
268 |
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion |
269 |
- dev-perl/Dist-Zilla-Plugin-Run |
270 |
- dev-perl/Software-License |
271 |
-" |
272 |
-RDEPEND=" |
273 |
- virtual/perl-Carp |
274 |
- virtual/perl-Data-Dumper |
275 |
- dev-perl/Data-Validate-IP |
276 |
- dev-perl/DBI |
277 |
- dev-perl/Devel-Caller |
278 |
- dev-perl/Digest-HMAC |
279 |
- virtual/perl-Digest-MD5 |
280 |
- dev-perl/Expect |
281 |
- virtual/perl-Exporter |
282 |
- virtual/perl-File-Spec |
283 |
- dev-perl/HTTP-Message |
284 |
- dev-perl/Hash-Merge |
285 |
- virtual/perl-IO |
286 |
- dev-perl/IO-String |
287 |
- dev-perl/IO-Tty |
288 |
- dev-perl/IPC-Shareable |
289 |
- dev-perl/JSON-MaybeXS |
290 |
- dev-perl/List-MoreUtils |
291 |
- virtual/perl-MIME-Base64 |
292 |
- dev-perl/Net-OpenSSH |
293 |
- dev-perl/Net-SFTP-Foreign |
294 |
- virtual/perl-Scalar-List-Utils |
295 |
- dev-perl/Parallel-ForkManager |
296 |
- dev-perl/Sort-Naturally |
297 |
- dev-perl/String-Escape |
298 |
- virtual/perl-Storable |
299 |
- dev-perl/TermReadKey |
300 |
- virtual/perl-Test-Simple |
301 |
- dev-perl/Text-Glob |
302 |
- virtual/perl-Text-Tabs+Wrap |
303 |
- virtual/perl-Time-HiRes |
304 |
- dev-perl/URI |
305 |
- dev-perl/XML-LibXML |
306 |
- dev-perl/XML-Simple |
307 |
- dev-perl/libwww-perl |
308 |
- dev-perl/YAML |
309 |
- virtual/perl-version |
310 |
-" |
311 |
- |
312 |
-BDEPEND=" |
313 |
- ${RDEPEND} |
314 |
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100 |
315 |
- test? ( |
316 |
- virtual/perl-File-Temp |
317 |
- dev-perl/Test-Deep |
318 |
- >=dev-perl/Test-UseAllModules-0.150.0 |
319 |
- ) |
320 |
-" |
321 |
- |
322 |
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}" |
323 |
- |
324 |
-src_unpack() { |
325 |
- if [[ $PV == 9999 ]]; then |
326 |
- "${VCS_ECLASS}"_src_unpack |
327 |
- mkdir -p "${S}" || die "Can't make ${S}" |
328 |
- else |
329 |
- default |
330 |
- fi |
331 |
-} |
332 |
- |
333 |
-dzil_src_prep() { |
334 |
- einfo "Patching dist.ini" |
335 |
- |
336 |
- # This block of sed invocations removes all plugins that aren't |
337 |
- # useful for users to have on Gentoo, because all of them are |
338 |
- # conditional and subjective style checks, which don't indicate |
339 |
- # a real issue for users, and paying the price of their dependencies is undesired. |
340 |
- |
341 |
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space |
342 |
- # so that the final [d]elete deletes the next line too. Can be expanded for each |
343 |
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match. |
344 |
- sed -e '/^\[Test::Kwalitee\]/d' \ |
345 |
- -e '/^\[Test::Perl::Critic\]/d' \ |
346 |
- -e '/^\[PodSyntaxTests\]/d' \ |
347 |
- -e '/^Test::Kwalitee =/d' \ |
348 |
- -e '/^Test::PerlTidy =/d' \ |
349 |
- -e '/^Test::Pod =/d' \ |
350 |
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \ |
351 |
- -e '/^\[Test::MinimumVersion\]/{N;d}' \ |
352 |
- -i dist.ini || die "Can't patch dist.ini" |
353 |
-} |
354 |
-dzil_env_setup() { |
355 |
- # NextRelease noise :( |
356 |
- mkdir -p ~/.dzil/ |
357 |
- local user="$(whoami)" |
358 |
- local host="$(hostname)" |
359 |
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini |
360 |
- |
361 |
-} |
362 |
-dzil_to_distdir() { |
363 |
- local dzil_root dest has_missing modname dzil_version |
364 |
- dzil_root="$1" |
365 |
- dest="$2" |
366 |
- |
367 |
- cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'"; |
368 |
- |
369 |
- dzil_src_prep |
370 |
- dzil_env_setup |
371 |
- |
372 |
- dzil_version="$(dzil version)" || die "Error invoking 'dzil version'" |
373 |
- einfo "Generating CPAN dist with ${dzil_version}" |
374 |
- |
375 |
- has_missing="" |
376 |
- |
377 |
- einfo "Checking dzil authordeps" |
378 |
- while IFS= read -d $'\n' -r modname; do |
379 |
- if [[ -z "${has_missing}" ]]; then |
380 |
- has_missing=1 |
381 |
- eerror "'dzil authordeps' indicates missing build dependencies" |
382 |
- eerror "These will prevent building, please report a bug" |
383 |
- eerror "Missing:" |
384 |
- fi |
385 |
- eerror " ${modname}" |
386 |
- done < <( dzil authordeps --missing --versions ) |
387 |
- |
388 |
- [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first" |
389 |
- |
390 |
- einfo "Checking dzil build deps" |
391 |
- while IFS= read -d $'\n' -r modname; do |
392 |
- if [[ -z "${has_missing}" ]]; then |
393 |
- has_missing=1 |
394 |
- ewarn "'dzil listdeps' indicates missing build dependencies" |
395 |
- ewarn "These may prevent building, please report a bug if they do" |
396 |
- ewarn "Missing:" |
397 |
- fi |
398 |
- ewarn " ${modname}" |
399 |
- done < <( dzil listdeps --missing --versions --author ) |
400 |
- |
401 |
- einfo "Generating release" |
402 |
- dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'" |
403 |
-} |
404 |
- |
405 |
-src_prepare() { |
406 |
- if [[ ${PV} == 9999 ]]; then |
407 |
- # Uses git sources in WORKDIR/rex-git |
408 |
- # to generate a CPAN-style tree in ${S} |
409 |
- # before letting perl-module.eclass do the rest |
410 |
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}" |
411 |
- fi |
412 |
- cd "${S}" || die "Can't enter build dir" |
413 |
- perl-module_src_prepare |
414 |
-} |
415 |
|
416 |
diff --git a/app-admin/rex/rex-1.12.0.ebuild b/app-admin/rex/rex-1.12.0.ebuild |
417 |
deleted file mode 100644 |
418 |
index d8e8649d2bd..00000000000 |
419 |
--- a/app-admin/rex/rex-1.12.0.ebuild |
420 |
+++ /dev/null |
421 |
@@ -1,196 +0,0 @@ |
422 |
-# Copyright 1999-2020 Gentoo Authors |
423 |
-# Distributed under the terms of the GNU General Public License v2 |
424 |
- |
425 |
-EAPI=7 |
426 |
- |
427 |
-if [[ ${PV} == 9999 ]]; then |
428 |
- GITHUB_USER=RexOps |
429 |
- GITHUB_REPO=Rex |
430 |
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git" |
431 |
- EGIT_BRANCH="master" |
432 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git" |
433 |
- VCS_ECLASS="git-r3" |
434 |
-else |
435 |
- # This is intentional to stop perl-module.eclass doing magic things when it |
436 |
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex" |
437 |
- # Also prevents perl-module.eclass provisioning SRC_URI |
438 |
- DIST_AUTHOR=FERKI |
439 |
- DIST_NAME=Rex |
440 |
- KEYWORDS="~amd64 ~x86" |
441 |
-fi |
442 |
-inherit bash-completion-r1 perl-module ${VCS_ECLASS} |
443 |
- |
444 |
-DESCRIPTION="(R)?ex, the friendly automation framework" |
445 |
- |
446 |
-SLOT="0" |
447 |
-IUSE="test" |
448 |
-RESTRICT="!test? ( test )" |
449 |
- |
450 |
-DZIL_DEPENDS=" |
451 |
- dev-perl/Dist-Zilla |
452 |
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests |
453 |
- dev-perl/Dist-Zilla-Plugin-ContributorsFile |
454 |
- dev-perl/Dist-Zilla-Plugin-Git-Contributors |
455 |
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome |
456 |
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors |
457 |
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package |
458 |
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic |
459 |
- dev-perl/Dist-Zilla-Plugin-OSPrereqs |
460 |
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion |
461 |
- dev-perl/Dist-Zilla-Plugin-Run |
462 |
- dev-perl/Software-License |
463 |
-" |
464 |
-RDEPEND=" |
465 |
- virtual/perl-Carp |
466 |
- virtual/perl-Data-Dumper |
467 |
- dev-perl/Data-Validate-IP |
468 |
- dev-perl/DBI |
469 |
- dev-perl/Devel-Caller |
470 |
- dev-perl/Digest-HMAC |
471 |
- virtual/perl-Digest-MD5 |
472 |
- dev-perl/Expect |
473 |
- virtual/perl-Exporter |
474 |
- virtual/perl-File-Spec |
475 |
- dev-perl/HTTP-Message |
476 |
- dev-perl/Hash-Merge |
477 |
- virtual/perl-IO |
478 |
- dev-perl/IO-String |
479 |
- dev-perl/IO-Tty |
480 |
- dev-perl/IPC-Shareable |
481 |
- dev-perl/JSON-MaybeXS |
482 |
- dev-perl/List-MoreUtils |
483 |
- virtual/perl-MIME-Base64 |
484 |
- dev-perl/Net-OpenSSH |
485 |
- dev-perl/Net-SFTP-Foreign |
486 |
- virtual/perl-Scalar-List-Utils |
487 |
- dev-perl/Parallel-ForkManager |
488 |
- dev-perl/Sort-Naturally |
489 |
- dev-perl/String-Escape |
490 |
- virtual/perl-Storable |
491 |
- dev-perl/TermReadKey |
492 |
- virtual/perl-Test-Simple |
493 |
- dev-perl/Text-Glob |
494 |
- virtual/perl-Text-Tabs+Wrap |
495 |
- virtual/perl-Time-HiRes |
496 |
- dev-perl/URI |
497 |
- dev-perl/XML-LibXML |
498 |
- dev-perl/XML-Simple |
499 |
- dev-perl/libwww-perl |
500 |
- dev-perl/YAML |
501 |
- virtual/perl-version |
502 |
-" |
503 |
- |
504 |
-BDEPEND=" |
505 |
- ${RDEPEND} |
506 |
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100 |
507 |
- >=dev-perl/File-ShareDir-Install-0.60.0 |
508 |
- test? ( |
509 |
- virtual/perl-File-Temp |
510 |
- dev-perl/Test-Deep |
511 |
- >=dev-perl/Test-UseAllModules-0.150.0 |
512 |
- virtual/perl-autodie |
513 |
- ) |
514 |
-" |
515 |
- |
516 |
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}" |
517 |
- |
518 |
-src_unpack() { |
519 |
- if [[ $PV == 9999 ]]; then |
520 |
- "${VCS_ECLASS}"_src_unpack |
521 |
- mkdir -p "${S}" || die "Can't make ${S}" |
522 |
- else |
523 |
- default |
524 |
- fi |
525 |
-} |
526 |
- |
527 |
-dzil_src_prep() { |
528 |
- einfo "Patching dist.ini" |
529 |
- |
530 |
- # This block of sed invocations removes all plugins that aren't |
531 |
- # useful for users to have on Gentoo, because all of them are |
532 |
- # conditional and subjective style checks, which don't indicate |
533 |
- # a real issue for users, and paying the price of their dependencies is undesired. |
534 |
- |
535 |
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space |
536 |
- # so that the final [d]elete deletes the next line too. Can be expanded for each |
537 |
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match. |
538 |
- sed -e '/^\[Test::Kwalitee\]/d' \ |
539 |
- -e '/^\[Test::Perl::Critic\]/d' \ |
540 |
- -e '/^\[PodSyntaxTests\]/d' \ |
541 |
- -e '/^Test::Kwalitee =/d' \ |
542 |
- -e '/^Test::PerlTidy =/d' \ |
543 |
- -e '/^Test::Pod =/d' \ |
544 |
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \ |
545 |
- -e '/^\[Test::MinimumVersion\]/{N;d}' \ |
546 |
- -i dist.ini || die "Can't patch dist.ini" |
547 |
-} |
548 |
-dzil_env_setup() { |
549 |
- # NextRelease noise :( |
550 |
- mkdir -p ~/.dzil/ |
551 |
- local user="$(whoami)" |
552 |
- local host="$(hostname)" |
553 |
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini |
554 |
- |
555 |
-} |
556 |
-dzil_to_distdir() { |
557 |
- local dzil_root dest has_missing modname dzil_version |
558 |
- dzil_root="$1" |
559 |
- dest="$2" |
560 |
- |
561 |
- cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'"; |
562 |
- |
563 |
- dzil_src_prep |
564 |
- dzil_env_setup |
565 |
- |
566 |
- dzil_version="$(dzil version)" || die "Error invoking 'dzil version'" |
567 |
- einfo "Generating CPAN dist with ${dzil_version}" |
568 |
- |
569 |
- has_missing="" |
570 |
- |
571 |
- einfo "Checking dzil authordeps" |
572 |
- while IFS= read -d $'\n' -r modname; do |
573 |
- if [[ -z "${has_missing}" ]]; then |
574 |
- has_missing=1 |
575 |
- eerror "'dzil authordeps' indicates missing build dependencies" |
576 |
- eerror "These will prevent building, please report a bug" |
577 |
- eerror "Missing:" |
578 |
- fi |
579 |
- eerror " ${modname}" |
580 |
- done < <( dzil authordeps --missing --versions ) |
581 |
- |
582 |
- [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first" |
583 |
- |
584 |
- einfo "Checking dzil build deps" |
585 |
- while IFS= read -d $'\n' -r modname; do |
586 |
- if [[ -z "${has_missing}" ]]; then |
587 |
- has_missing=1 |
588 |
- ewarn "'dzil listdeps' indicates missing build dependencies" |
589 |
- ewarn "These may prevent building, please report a bug if they do" |
590 |
- ewarn "Missing:" |
591 |
- fi |
592 |
- ewarn " ${modname}" |
593 |
- done < <( dzil listdeps --missing --versions --author ) |
594 |
- |
595 |
- einfo "Generating release" |
596 |
- dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'" |
597 |
-} |
598 |
- |
599 |
-src_prepare() { |
600 |
- if [[ ${PV} == 9999 ]]; then |
601 |
- # Uses git sources in WORKDIR/rex-git |
602 |
- # to generate a CPAN-style tree in ${S} |
603 |
- # before letting perl-module.eclass do the rest |
604 |
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}" |
605 |
- fi |
606 |
- cd "${S}" || die "Can't enter build dir" |
607 |
- perl-module_src_prepare |
608 |
-} |
609 |
- |
610 |
-src_install() { |
611 |
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}" |
612 |
- |
613 |
- insinto /usr/share/zsh/site-functions |
614 |
- newins "share/${PN}-tab-completion.zsh" "_${PN}" |
615 |
- |
616 |
- perl-module_src_install |
617 |
-} |
618 |
|
619 |
diff --git a/app-admin/rex/rex-1.9.0.ebuild b/app-admin/rex/rex-1.9.0.ebuild |
620 |
deleted file mode 100644 |
621 |
index 26385e39127..00000000000 |
622 |
--- a/app-admin/rex/rex-1.9.0.ebuild |
623 |
+++ /dev/null |
624 |
@@ -1,185 +0,0 @@ |
625 |
-# Copyright 1999-2020 Gentoo Authors |
626 |
-# Distributed under the terms of the GNU General Public License v2 |
627 |
- |
628 |
-EAPI=7 |
629 |
- |
630 |
-if [[ ${PV} == 9999 ]]; then |
631 |
- GITHUB_USER=RexOps |
632 |
- GITHUB_REPO=Rex |
633 |
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git" |
634 |
- EGIT_BRANCH="master" |
635 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git" |
636 |
- VCS_ECLASS="git-r3" |
637 |
-else |
638 |
- # This is intentional to stop perl-module.eclass doing magic things when it |
639 |
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex" |
640 |
- # Also prevents perl-module.eclass provisioning SRC_URI |
641 |
- DIST_AUTHOR=FERKI |
642 |
- DIST_NAME=Rex |
643 |
- KEYWORDS="~amd64 ~x86" |
644 |
-fi |
645 |
-inherit perl-module ${VCS_ECLASS} |
646 |
- |
647 |
-DESCRIPTION="(R)?ex, the friendly automation framework" |
648 |
- |
649 |
-SLOT="0" |
650 |
-IUSE="test" |
651 |
-RESTRICT="!test? ( test )" |
652 |
- |
653 |
-DZIL_DEPENDS=" |
654 |
- dev-perl/Dist-Zilla |
655 |
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests |
656 |
- dev-perl/Dist-Zilla-Plugin-ContributorsFile |
657 |
- dev-perl/Dist-Zilla-Plugin-Git-Contributors |
658 |
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome |
659 |
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors |
660 |
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package |
661 |
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic |
662 |
- dev-perl/Dist-Zilla-Plugin-OSPrereqs |
663 |
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion |
664 |
- dev-perl/Dist-Zilla-Plugin-Run |
665 |
- dev-perl/Software-License |
666 |
-" |
667 |
-RDEPEND=" |
668 |
- virtual/perl-Carp |
669 |
- virtual/perl-Data-Dumper |
670 |
- dev-perl/Data-Validate-IP |
671 |
- dev-perl/DBI |
672 |
- dev-perl/Devel-Caller |
673 |
- dev-perl/Digest-HMAC |
674 |
- virtual/perl-Digest-MD5 |
675 |
- dev-perl/Expect |
676 |
- virtual/perl-Exporter |
677 |
- virtual/perl-File-Spec |
678 |
- dev-perl/HTTP-Message |
679 |
- dev-perl/Hash-Merge |
680 |
- virtual/perl-IO |
681 |
- dev-perl/IO-String |
682 |
- dev-perl/IO-Tty |
683 |
- dev-perl/IPC-Shareable |
684 |
- dev-perl/JSON-MaybeXS |
685 |
- dev-perl/List-MoreUtils |
686 |
- virtual/perl-MIME-Base64 |
687 |
- dev-perl/Net-OpenSSH |
688 |
- dev-perl/Net-SFTP-Foreign |
689 |
- virtual/perl-Scalar-List-Utils |
690 |
- dev-perl/Parallel-ForkManager |
691 |
- dev-perl/Sort-Naturally |
692 |
- dev-perl/String-Escape |
693 |
- virtual/perl-Storable |
694 |
- dev-perl/TermReadKey |
695 |
- virtual/perl-Test-Simple |
696 |
- dev-perl/Text-Glob |
697 |
- virtual/perl-Text-Tabs+Wrap |
698 |
- virtual/perl-Time-HiRes |
699 |
- dev-perl/URI |
700 |
- dev-perl/XML-LibXML |
701 |
- dev-perl/XML-Simple |
702 |
- dev-perl/libwww-perl |
703 |
- dev-perl/YAML |
704 |
- virtual/perl-version |
705 |
-" |
706 |
- |
707 |
-BDEPEND=" |
708 |
- ${RDEPEND} |
709 |
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100 |
710 |
- test? ( |
711 |
- virtual/perl-File-Temp |
712 |
- dev-perl/Test-Deep |
713 |
- >=dev-perl/Test-UseAllModules-0.150.0 |
714 |
- ) |
715 |
-" |
716 |
- |
717 |
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}" |
718 |
- |
719 |
-src_unpack() { |
720 |
- if [[ $PV == 9999 ]]; then |
721 |
- "${VCS_ECLASS}"_src_unpack |
722 |
- mkdir -p "${S}" || die "Can't make ${S}" |
723 |
- else |
724 |
- default |
725 |
- fi |
726 |
-} |
727 |
- |
728 |
-dzil_src_prep() { |
729 |
- einfo "Patching dist.ini" |
730 |
- |
731 |
- # This block of sed invocations removes all plugins that aren't |
732 |
- # useful for users to have on Gentoo, because all of them are |
733 |
- # conditional and subjective style checks, which don't indicate |
734 |
- # a real issue for users, and paying the price of their dependencies is undesired. |
735 |
- |
736 |
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space |
737 |
- # so that the final [d]elete deletes the next line too. Can be expanded for each |
738 |
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match. |
739 |
- sed -e '/^\[Test::Kwalitee\]/d' \ |
740 |
- -e '/^\[Test::Perl::Critic\]/d' \ |
741 |
- -e '/^\[PodSyntaxTests\]/d' \ |
742 |
- -e '/^Test::Kwalitee =/d' \ |
743 |
- -e '/^Test::PerlTidy =/d' \ |
744 |
- -e '/^Test::Pod =/d' \ |
745 |
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \ |
746 |
- -e '/^\[Test::MinimumVersion\]/{N;d}' \ |
747 |
- -i dist.ini || die "Can't patch dist.ini" |
748 |
-} |
749 |
-dzil_env_setup() { |
750 |
- # NextVersion noise :( |
751 |
- mkdir -p ~/.dzil/ |
752 |
- local user="$(whoami)" |
753 |
- local host="$(hostname)" |
754 |
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini |
755 |
- |
756 |
-} |
757 |
-dzil_to_distdir() { |
758 |
- local dzil_root dest has_missing modname dzil_version |
759 |
- dzil_root="$1" |
760 |
- dest="$2" |
761 |
- |
762 |
- cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'"; |
763 |
- |
764 |
- dzil_src_prep |
765 |
- dzil_env_setup |
766 |
- |
767 |
- dzil_version="$(dzil version)" || die "Error invoking 'dzil version'" |
768 |
- einfo "Generating CPAN dist with ${dzil_version}" |
769 |
- |
770 |
- has_missing="" |
771 |
- |
772 |
- einfo "Checking dzil authordeps" |
773 |
- while IFS= read -d $'\n' -r modname; do |
774 |
- if [[ -z "${has_missing}" ]]; then |
775 |
- has_missing=1 |
776 |
- eerror "'dzil authordeps' indicates missing build dependencies" |
777 |
- eerror "These will prevent building, please report a bug" |
778 |
- eerror "Missing:" |
779 |
- fi |
780 |
- eerror " ${modname}" |
781 |
- done < <( dzil authordeps --missing --versions ) |
782 |
- |
783 |
- [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first" |
784 |
- |
785 |
- einfo "Checking dzil build deps" |
786 |
- while IFS= read -d $'\n' -r modname; do |
787 |
- if [[ -z "${has_missing}" ]]; then |
788 |
- has_missing=1 |
789 |
- ewarn "'dzil listdeps' indicates missing build dependencies" |
790 |
- ewarn "These may prevent building, please report a bug if they do" |
791 |
- ewarn "Missing:" |
792 |
- fi |
793 |
- ewarn " ${modname}" |
794 |
- done < <( dzil listdeps --missing --versions --author ) |
795 |
- |
796 |
- einfo "Generating release" |
797 |
- dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'" |
798 |
-} |
799 |
- |
800 |
-src_prepare() { |
801 |
- if [[ ${PV} == 9999 ]]; then |
802 |
- # Uses git sources in WORKDIR/rex-git |
803 |
- # to generate a CPAN-style tree in ${S} |
804 |
- # before letting perl-module.eclass do the rest |
805 |
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}" |
806 |
- fi |
807 |
- cd "${S}" || die "Can't enter build dir" |
808 |
- perl-module_src_prepare |
809 |
-} |