diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-05-30 06:13:24 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-05-30 06:13:24 +0200 |
commit | 385a51f97842208fa2765a6db699709f22a87228 (patch) | |
tree | 1318fcc2c6635097de0bb6ea11572da3f227768d /dev-ruby/maxitest | |
parent | dev-vcs/git-2.16.4: ppc64 stable, bug 656868 (diff) | |
download | gentoo-385a51f97842208fa2765a6db699709f22a87228.tar.gz gentoo-385a51f97842208fa2765a6db699709f22a87228.tar.bz2 gentoo-385a51f97842208fa2765a6db699709f22a87228.zip |
dev-ruby/maxitest: cleanup
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/maxitest')
-rw-r--r-- | dev-ruby/maxitest/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/maxitest/maxitest-2.4.0.ebuild | 48 |
2 files changed, 0 insertions, 49 deletions
diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest index be80fd0bee61..b864f3379a24 100644 --- a/dev-ruby/maxitest/Manifest +++ b/dev-ruby/maxitest/Manifest @@ -1,3 +1,2 @@ -DIST maxitest-2.4.0.tar.gz 15370 BLAKE2B 1645e818c06c42590e919f73c581407aa38dc4f1ff58fe06c7a5a734c3570a4342c7952cbf5130ca9db66f081a3e4c5d32ca2166d6ed5937474a3bbc093ab13c SHA512 41fc6e8eaaebad76278e19574c48e5192363ef466327e83cfd5a3490b98d157bb736556cde57c01180a353ac383e583fed6433443e24a5a5fb6159ed9821a323 DIST maxitest-2.8.0.tar.gz 60742 BLAKE2B 313e7efeca866961f3ee4c43279557bf628bd5d6d75e119fc9723b16a4dc7d38784a34078a9c6c6c5893f4bd28723757658122794deeca70f1abf54187819acf SHA512 cf05087052bb9162d20cca5180808edc00606d0125d461968c033cc4ee44a193d45a337fa2d61f34e8c2097d71bad5eba16da6cf10166ee8afaacda29654ab89 DIST maxitest-3.0.1.tar.gz 60926 BLAKE2B 9ef03af6e55e7565acfa89d64e04aab40ef11445f0266ee85e68daa7224000922b8107c72cf77e75c4ba630ec19207cab3f5b0ce08f42270756deabfa5124b28 SHA512 c71e8af37387a8dd8f73aa01cde1c5baf772a7fe6125df5962ffb1aaf07515ebcd6d0f8530f306cc60927a289f21e4c75e0fece674230d8cdab82f5bfecfb899 diff --git a/dev-ruby/maxitest/maxitest-2.4.0.ebuild b/dev-ruby/maxitest/maxitest-2.4.0.ebuild deleted file mode 100644 index a14fa048dc9e..000000000000 --- a/dev-ruby/maxitest/maxitest-2.4.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23 ruby24" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="Readme.md" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit versionator 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 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_rdepend "<dev-ruby/minitest-5.11: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 - -} - -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 -} |