dev-ruby/maxitest: drop 3.7.0-r1

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2023-06-16 07:21:56 +02:00
parent e424b821ea
commit 1e3af5eb68
2 changed files with 0 additions and 51 deletions

View File

@@ -1,2 +1 @@
DIST maxitest-3.7.0.tar.gz 62716 BLAKE2B 9919702c3b6c701edf6a5de8c1054547edaeeda518a7b7bae3f419cba9f92f535ec7870ece080fb472d7635243afec4aeed4a27fd839874aa40d63d6ce4ecab8 SHA512 4843f9d405a40177622e9892d1e5fffe297ae03cfef68b73ce3ee966cc3a36e126a9f5a5018b898465f5ad40f8d4fc1e6bf53f5c76b376efeff669b57dd1e8aa
DIST maxitest-4.4.1.tar.gz 62757 BLAKE2B 0023472200643dcc17aa7fc3720ebdaccb988628eedd55d69c47a0702b4700760dcc9178f1d63a29d8b0a461ceb7195f9d13579cf0393a3ca669515bcf77239a SHA512 927c5619541f13b2af064f1adb01670ec43570252a62d32b98674b7d4dd72ebc02594c000f6dfae7b9de275086df23e418f13c4c21595d47f429b86d0941dbc2

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby26 ruby27 ruby30"
RUBY_FAKEGEM_EXTRADOC="Readme.md"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
DESCRIPTION="Minitest + all the features you always wanted"
HOMEPAGE="https://github.com/grosser/maxitest"
SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="1"
KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE=""
ruby_add_rdepend "<dev-ruby/minitest-5.15:*"
ruby_add_bdepend "test? ( dev-ruby/bundler )"
all_ruby_prepare() {
rm -f Gemfile.lock || die
# Remove developer-only gems from the gemspec and avoid git issues
sed -i -e '/wwtd/ s:^:#:' \
-e 's/git ls-files/find */' \
${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/\(byebug\|bump\)/ s:^:#:' Gemfile || die
sed -e '/shows short backtraces/askip "fails on ruby27"' \
-e '/fails when not used/askip "fails with newer maxitest by design"' \
-i spec/maxitest_spec.rb || die
}
each_ruby_prepare() {
# Use the correct target
sed -i -e '/sh/ s:ruby:'${RUBY}':' \
-e '/sh/ s:mtest:'${RUBY}' -S mtest:' \
spec/maxitest_spec.rb || die
}
each_ruby_test() {
PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec
}