1 |
commit: bf9c7a0232731d7d9e0f547439e56c3d142de5c8 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 7 06:21:40 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 7 06:53:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf9c7a02 |
7 |
|
8 |
dev-ruby/maxitest: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/maxitest/Manifest | 1 - |
14 |
dev-ruby/maxitest/maxitest-3.5.0.ebuild | 47 --------------------------------- |
15 |
2 files changed, 48 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest |
18 |
index 6d91a518580..8b203f2f5f5 100644 |
19 |
--- a/dev-ruby/maxitest/Manifest |
20 |
+++ b/dev-ruby/maxitest/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST maxitest-3.5.0.tar.gz 61982 BLAKE2B 2098e0b1c2f77ea535d78e5165ba9289a8470ce5c883a0994b03b822cdcba2a6d90077940a3d483505579fc7c89f347f0d492196b28fe8292406e5d6975c6241 SHA512 1a2557cea0ac70d3fd9b487157e5b6943dfd5cdf8b953731041d495049a9c58be84110e831cc57171ded3d5540ce5a3cd3c68e97f7767e30b04e933849202f40 |
23 |
DIST maxitest-3.6.0.tar.gz 62261 BLAKE2B 4863b5892997ea7019d5dc65d1adf7febd7934e743276423b1fa8b1d81f3ec5d1deadbe57890e0af525a91ae371ab4c499be031b9a6875e5fc6f64d2e7c2cfad SHA512 41e816d21769382af598ebd64f918437a5816308fd9a9695a88ed97d05e7b41085b2a6f8343ffea50bc7016562857f09057591c2698e920a6bfbd5536edc283f |
24 |
|
25 |
diff --git a/dev-ruby/maxitest/maxitest-3.5.0.ebuild b/dev-ruby/maxitest/maxitest-3.5.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 23c274fbfae..00000000000 |
28 |
--- a/dev-ruby/maxitest/maxitest-3.5.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,47 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
-USE_RUBY="ruby24 ruby25 ruby26" |
36 |
- |
37 |
-RUBY_FAKEGEM_EXTRADOC="Readme.md" |
38 |
- |
39 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
40 |
- |
41 |
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
42 |
- |
43 |
-inherit ruby-fakegem |
44 |
- |
45 |
-DESCRIPTION="Minitest + all the features you always wanted" |
46 |
-HOMEPAGE="https://github.com/grosser/maxitest" |
47 |
-SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="MIT" |
50 |
-SLOT="1" |
51 |
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
52 |
-IUSE="" |
53 |
- |
54 |
-ruby_add_rdepend "<dev-ruby/minitest-5.14:5" |
55 |
- |
56 |
-ruby_add_bdepend "test? ( dev-ruby/bundler )" |
57 |
- |
58 |
-all_ruby_prepare() { |
59 |
- rm -f Gemfile.lock || die |
60 |
- # Remove developer-only gems from the gemspec and avoid git issues |
61 |
- sed -i -e '/\(bump\|wwtd\)/ s:^:#:' \ |
62 |
- -e 's/git ls-files/find/' \ |
63 |
- ${RUBY_FAKEGEM_GEMSPEC} || die |
64 |
- sed -i -e '/byebug/ s:^:#:' Gemfile || die |
65 |
- |
66 |
-} |
67 |
- |
68 |
-each_ruby_prepare() { |
69 |
- # Use the correct target |
70 |
- sed -i -e '/sh/ s:ruby:'${RUBY}':' \ |
71 |
- -e '/sh/ s:mtest:'${RUBY}' -S mtest:' \ |
72 |
- spec/maxitest_spec.rb || die |
73 |
-} |
74 |
- |
75 |
-each_ruby_test() { |
76 |
- PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec |
77 |
-} |