Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/maxitest/
Date: Tue, 24 Jan 2017 06:06:57
Message-Id: 1485238000.aa7079df81289f49a11831924edc1a30ebb1581a.graaff@gentoo
1 commit: aa7079df81289f49a11831924edc1a30ebb1581a
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 24 05:58:16 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 24 06:06:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa7079df
7
8 dev-ruby/maxitest: cleanup
9
10 Package-Manager: portage-2.3.0
11
12 dev-ruby/maxitest/Manifest | 2 --
13 dev-ruby/maxitest/maxitest-2.2.0.ebuild | 49 ---------------------------------
14 dev-ruby/maxitest/maxitest-2.3.0.ebuild | 49 ---------------------------------
15 3 files changed, 100 deletions(-)
16
17 diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest
18 index d36f5ea..dc3c198 100644
19 --- a/dev-ruby/maxitest/Manifest
20 +++ b/dev-ruby/maxitest/Manifest
21 @@ -1,3 +1 @@
22 -DIST maxitest-2.2.0.tar.gz 15147 SHA256 ef9b059f67528b53bc88356aaf77936f3e29373e002fdba44ae0ee20de765b0a SHA512 6b2ba017fed4d18469e1a6db8aacb50145a00fa75aa242926353b6e3765dc0c2db7b14cd5ce9923353f4f2dc6cbfaa24cee384761e131b4ee8cb31c7a004a37a WHIRLPOOL d2fc3c7b2190270c07e773b4ae5d68d4aa71169959cbcba0d586304acd9f8e1678f057401bff6ed41efa37bca4ad97563abc63c5cf2db5031beb486a14467b1f
23 -DIST maxitest-2.3.0.tar.gz 15395 SHA256 800806e66a223e3166002296e3a63294619d573d076d405eff66cf619b7730ae SHA512 e07c2aac3beaedfa6a7dca9293d519a63fdb323547ef650436c71f082403a9538b26429e747374c99b8364a68d69ac8a35ff79056196defe283130fb78110995 WHIRLPOOL 0997d96018be680752d09b0149b610048914a2213fba510767b7fa7c96279399be267b5bc23fcda84239a1ee3c62be1d7b326b55c7712e656b887283f97e9602
24 DIST maxitest-2.4.0.tar.gz 15370 SHA256 4a67ee0d6120d634cf3baf0f5fa28434ef9a9e63624fa5ffccdd74fd750fe8e9 SHA512 41fc6e8eaaebad76278e19574c48e5192363ef466327e83cfd5a3490b98d157bb736556cde57c01180a353ac383e583fed6433443e24a5a5fb6159ed9821a323 WHIRLPOOL 2e2d2c05e5d5b0b0696dda494284fbfaf1483244355460116fe9bbe746dea63fe2199b058b905bf9f7d95df8e72e0d2796d4ba96486af5a2f7ce91d67624e0c4
25
26 diff --git a/dev-ruby/maxitest/maxitest-2.2.0.ebuild b/dev-ruby/maxitest/maxitest-2.2.0.ebuild
27 deleted file mode 100644
28 index 5adb506..00000000
29 --- a/dev-ruby/maxitest/maxitest-2.2.0.ebuild
30 +++ /dev/null
31 @@ -1,49 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -USE_RUBY="ruby20 ruby21 ruby22 ruby23"
38 -
39 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
40 -RUBY_FAKEGEM_EXTRADOC="Readme.md"
41 -
42 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
43 -
44 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
45 -
46 -inherit versionator ruby-fakegem
47 -
48 -DESCRIPTION="Minitest + all the features you always wanted"
49 -HOMEPAGE="https://github.com/grosser/maxitest"
50 -SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz"
51 -
52 -LICENSE="MIT"
53 -SLOT="1"
54 -KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
55 -IUSE=""
56 -
57 -ruby_add_rdepend "<dev-ruby/minitest-5.10:5"
58 -
59 -ruby_add_bdepend "test? ( dev-ruby/bundler )"
60 -
61 -all_ruby_prepare() {
62 - rm -f Gemfile.lock || die
63 - # Remove developer-only gems from the gemspec and avoid git issues
64 - sed -i -e '/\(bump\|wwtd\)/ s:^:#:' \
65 - -e 's/git ls-files/find/' \
66 - ${RUBY_FAKEGEM_GEMSPEC} || die
67 - sed -i -e '/byebug/ s:^:#:' Gemfile || die
68 -
69 -}
70 -
71 -each_ruby_prepare() {
72 - # Use the correct target
73 - sed -i -e '/sh/ s:ruby:'${RUBY}':' \
74 - -e '/sh/ s:mtest:'${RUBY}' -S mtest:' \
75 - spec/maxitest_spec.rb || die
76 -}
77 -
78 -each_ruby_test() {
79 - PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec
80 -}
81
82 diff --git a/dev-ruby/maxitest/maxitest-2.3.0.ebuild b/dev-ruby/maxitest/maxitest-2.3.0.ebuild
83 deleted file mode 100644
84 index b400520..00000000
85 --- a/dev-ruby/maxitest/maxitest-2.3.0.ebuild
86 +++ /dev/null
87 @@ -1,49 +0,0 @@
88 -# Copyright 1999-2016 Gentoo Foundation
89 -# Distributed under the terms of the GNU General Public License v2
90 -# $Id$
91 -
92 -EAPI=5
93 -USE_RUBY="ruby20 ruby21 ruby22 ruby23"
94 -
95 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
96 -RUBY_FAKEGEM_EXTRADOC="Readme.md"
97 -
98 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
99 -
100 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
101 -
102 -inherit versionator ruby-fakegem
103 -
104 -DESCRIPTION="Minitest + all the features you always wanted"
105 -HOMEPAGE="https://github.com/grosser/maxitest"
106 -SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz"
107 -
108 -LICENSE="MIT"
109 -SLOT="1"
110 -KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
111 -IUSE=""
112 -
113 -ruby_add_rdepend "<dev-ruby/minitest-5.11:5"
114 -
115 -ruby_add_bdepend "test? ( dev-ruby/bundler )"
116 -
117 -all_ruby_prepare() {
118 - rm -f Gemfile.lock || die
119 - # Remove developer-only gems from the gemspec and avoid git issues
120 - sed -i -e '/\(bump\|wwtd\)/ s:^:#:' \
121 - -e 's/git ls-files/find/' \
122 - ${RUBY_FAKEGEM_GEMSPEC} || die
123 - sed -i -e '/byebug/ s:^:#:' Gemfile || die
124 -
125 -}
126 -
127 -each_ruby_prepare() {
128 - # Use the correct target
129 - sed -i -e '/sh/ s:ruby:'${RUBY}':' \
130 - -e '/sh/ s:mtest:'${RUBY}' -S mtest:' \
131 - spec/maxitest_spec.rb || die
132 -}
133 -
134 -each_ruby_test() {
135 - PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec
136 -}