diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-21 09:59:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-21 09:59:48 +0100 |
commit | 54c57c0355214cac06d4618d5f9d4b1ae9aeaac3 (patch) | |
tree | 43735a7fec07f4d0069579eb33e71aff2b885e83 /dev-ruby/maxitest | |
parent | 206ec2c4ffbadc599d05d0abde0ca644856bbf68 (diff) |
gentoo auto-resync : 21:10:2023 - 09:59:47
Diffstat (limited to 'dev-ruby/maxitest')
-rw-r--r-- | dev-ruby/maxitest/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/maxitest/maxitest-5.3.1.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest index ca3fa66849ad..e0004668b586 100644 --- a/dev-ruby/maxitest/Manifest +++ b/dev-ruby/maxitest/Manifest @@ -1,5 +1,7 @@ DIST maxitest-4.4.1.tar.gz 62757 BLAKE2B 0023472200643dcc17aa7fc3720ebdaccb988628eedd55d69c47a0702b4700760dcc9178f1d63a29d8b0a461ceb7195f9d13579cf0393a3ca669515bcf77239a SHA512 927c5619541f13b2af064f1adb01670ec43570252a62d32b98674b7d4dd72ebc02594c000f6dfae7b9de275086df23e418f13c4c21595d47f429b86d0941dbc2 DIST maxitest-5.2.0.tar.gz 63610 BLAKE2B 98efc803f43d02cfdec0431279446e555650928442593be436e0ebfcb0d21e505e69b9e26fd8560b12c4feb2ce307d9d46954ff8a82a80b328c2d0442c451f5a SHA512 10251961613a6a014c868c3fd2a8c4c51253b2dee058561450e88ef628de25b6042b17d04d7338afd400ca30e8c3c12923f0976ec28578b726630699d2a0d5b5 +DIST maxitest-5.3.1.tar.gz 64755 BLAKE2B 8de322902638a284dadcf269fc16d82ee70a4b5fe4211c1859ce832a8b424c98347b005f103e9a2342df8384591ff98b23171bf2f61285177aa3bf1a0520bac9 SHA512 a287f880a1eb8695e716654c3921ffcf27430657285ec29002834145f87db620ae481f9dd5c023edec0473ce947c366eaeb78ddbbf556d26e08605f0b9341f69 EBUILD maxitest-4.4.1-r1.ebuild 1490 BLAKE2B aa15ed93d79d264b9bd864a427f16a09f9d80472faa09445167663a4c49c0e7820021f5d1912a8b3405eb3ae463b9673bbdeec57a02d273389a70f6a0d83bc47 SHA512 5976ec5af350f8eb11ddb2663a607ed8d7f86c0dee63471136f907dd91a47ac918452e33c6dac85430f1deb3ab576c7d6b69669778a3fe6bd8dae7859aa86338 EBUILD maxitest-5.2.0.ebuild 1457 BLAKE2B f6087b0353ade73587acce38d8f6b01f2c828444d4bddcfb4f321a75c28d99be3c0d20510c9ca117bd6a855a8f18a467e9fde4395c716df0c843985fbb5afb01 SHA512 c63bfca7e8bb422b89bc7eafe205a5e0ccee21050477de6951d84e34702adfb0ccf72e4b29a005d979de6d1db58d2260a2465ce91d510948d570ad25dde95e28 +EBUILD maxitest-5.3.1.ebuild 1457 BLAKE2B f6087b0353ade73587acce38d8f6b01f2c828444d4bddcfb4f321a75c28d99be3c0d20510c9ca117bd6a855a8f18a467e9fde4395c716df0c843985fbb5afb01 SHA512 c63bfca7e8bb422b89bc7eafe205a5e0ccee21050477de6951d84e34702adfb0ccf72e4b29a005d979de6d1db58d2260a2465ce91d510948d570ad25dde95e28 MISC metadata.xml 333 BLAKE2B 4f6d2cdebd14923f2841e9ccf9313f2b478a3c47c26979cf90c03d8977b8ed77e08a1369fc374a47a84603d546ad46d7225eda21224f423bc52c4b0320e6d80c SHA512 6e9425f636821a231213a9dee84cec2dc3394a52ea4f5f8a69e0c1691ffdc8e46946dbc0b99147bbbe05211557646a6538b3dbbe716ec6a469b21040b1c8b3fd diff --git a/dev-ruby/maxitest/maxitest-5.3.1.ebuild b/dev-ruby/maxitest/maxitest-5.3.1.ebuild new file mode 100644 index 000000000000..254679bd2a01 --- /dev/null +++ b/dev-ruby/maxitest/maxitest-5.3.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md 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.14.0:* <dev-ruby/minitest-5.20.0:*" + +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 -e 's:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/\(debug\|bump\)/ s:^:#:' Gemfile || die + + sed -e '/shows backtrace for/askip' \ + -e '/describe.*line/ s/describe/xdescribe/' \ + -e '/describe.*color/ s/describe/xdescribe/' \ + -i spec/maxitest_spec.rb || die +} + +each_ruby_prepare() { + # Use the correct target + sed -e '/\(run_cmd\|sh\)/ s:ruby:'${RUBY}':' \ + -e '/\(run_cmd\|sh\)/ s:mtest:'${RUBY}' -S bin/mtest:' \ + -i spec/maxitest_spec.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" RSPEC_VERSION=3 ruby-ng_rspec spec +} |