diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-03-23 07:24:00 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-03-23 07:42:45 +0100 |
commit | f228bcb809f70e626548ee9c3389919c128a33f6 (patch) | |
tree | 0d7ed7cdbcc861a015ab51a254814d4ba8785553 /dev-ruby/maxitest | |
parent | dev-ruby/rack-cache: cleanup (diff) | |
download | gentoo-f228bcb809f70e626548ee9c3389919c128a33f6.tar.gz gentoo-f228bcb809f70e626548ee9c3389919c128a33f6.tar.bz2 gentoo-f228bcb809f70e626548ee9c3389919c128a33f6.zip |
dev-ruby/maxitest: cleanup
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/maxitest')
-rw-r--r-- | dev-ruby/maxitest/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/maxitest/maxitest-3.6.0-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-ruby/maxitest/maxitest-3.6.0.ebuild | 50 |
3 files changed, 0 insertions, 104 deletions
diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest index e66357f3206d..82c5ff71cf77 100644 --- a/dev-ruby/maxitest/Manifest +++ b/dev-ruby/maxitest/Manifest @@ -1,2 +1 @@ -DIST maxitest-3.6.0.tar.gz 62261 BLAKE2B 4863b5892997ea7019d5dc65d1adf7febd7934e743276423b1fa8b1d81f3ec5d1deadbe57890e0af525a91ae371ab4c499be031b9a6875e5fc6f64d2e7c2cfad SHA512 41e816d21769382af598ebd64f918437a5816308fd9a9695a88ed97d05e7b41085b2a6f8343ffea50bc7016562857f09057591c2698e920a6bfbd5536edc283f DIST maxitest-3.7.0.tar.gz 62716 BLAKE2B 9919702c3b6c701edf6a5de8c1054547edaeeda518a7b7bae3f419cba9f92f535ec7870ece080fb472d7635243afec4aeed4a27fd839874aa40d63d6ce4ecab8 SHA512 4843f9d405a40177622e9892d1e5fffe297ae03cfef68b73ce3ee966cc3a36e126a9f5a5018b898465f5ad40f8d4fc1e6bf53f5c76b376efeff669b57dd1e8aa diff --git a/dev-ruby/maxitest/maxitest-3.6.0-r1.ebuild b/dev-ruby/maxitest/maxitest-3.6.0-r1.ebuild deleted file mode 100644 index a12d19fb13fd..000000000000 --- a/dev-ruby/maxitest/maxitest-3.6.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_rdepend "<dev-ruby/minitest-5.15:5" - -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 '/\(bump\|wwtd\)/ s:^:#:' \ - -e 's/git ls-files/find/' \ - ${RUBY_FAKEGEM_GEMSPEC} || die - sed -i -e '/byebug/ 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 - - # Allow minitest 5.14 (added upstream but not released) - sed -i -e '/minitest/ s/5.14/5.15/' ${RUBY_FAKEGEM_GEMSPEC} || 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 -} diff --git a/dev-ruby/maxitest/maxitest-3.6.0.ebuild b/dev-ruby/maxitest/maxitest-3.6.0.ebuild deleted file mode 100644 index 11398bba91fb..000000000000 --- a/dev-ruby/maxitest/maxitest-3.6.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_rdepend "<dev-ruby/minitest-5.14:5" - -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 '/\(bump\|wwtd\)/ s:^:#:' \ - -e 's/git ls-files/find/' \ - ${RUBY_FAKEGEM_GEMSPEC} || die - sed -i -e '/byebug/ 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 -} |