diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-15 04:04:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-15 04:04:09 +0100 |
commit | 45392c898b8ba163e95028bd98896e77f0c73806 (patch) | |
tree | bf6b64dd472acc2960a5c24b26dd0ac036b47d0d /dev-ruby/maxitest | |
parent | 2916cf6049cf9d3092021e247d56c580df6029a7 (diff) |
gentoo auto-resync : 15:10:2024 - 04:04:09
Diffstat (limited to 'dev-ruby/maxitest')
-rw-r--r-- | dev-ruby/maxitest/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/maxitest/maxitest-5.7.1.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest index 107a2a5adb96..488d8b6807e3 100644 --- a/dev-ruby/maxitest/Manifest +++ b/dev-ruby/maxitest/Manifest @@ -1,7 +1,9 @@ DIST maxitest-5.5.0.tar.gz 65102 BLAKE2B 46c7d0c9bcc794066316cc244f4628771a14224903416c4547b9c6d3f58aabae3597db93034a35f40140ee0bc443419d7e856d7a99f91565e8d6c3bbaa71a86c SHA512 331fd82a069494fbf2d1e2874de1c4bc5fe9b1ee430505e43aab4d1049f2e9dcf9c50bfcee8f8b897b881c2e859dbd7fe66d9d98c13b0cbc637cd8f87715abf7 DIST maxitest-5.6.0.tar.gz 65326 BLAKE2B c1835499216d50f8edce61507b83b7129cdf73ceb9b8226964b7e9da076255515edbcf09dca7618b4c033c97310251f6462bcfdab04f622c49cf507191d18ace SHA512 42345419ee462cc62a18e7f40bc1cf1f2d5aecd6dabd61f1f4b49604bcaf6ba5597055195a3343044401c8574d626a43c0de772bc196ec2e8bd452aeddfef763 DIST maxitest-5.7.0.tar.gz 65394 BLAKE2B 6c9358c1e60f3edfdc7954a9069e7ad30dc4b69bc817f276f16889e09a26730fcdb73933dea146b1046d3ae759af2f03aaaa718d0988e465748acb95687feee9 SHA512 e2e4ad30ab8f5b9b4fd1885f04d4b47ab8f212ad45096980693d44def2b6f0a07a686bad586cfa0c22087f401362d110a86809c9e81bb29df9fabd2163920754 +DIST maxitest-5.7.1.tar.gz 65849 BLAKE2B c377923ae8e9a27bc57fba4a672deed04fbf397e518aa5ed33e63885176b8c2e6aff59b8eab2e2c7d6ba972ed4cde1033c5bc3017864c910275fcbdd7ecb967d SHA512 6b030a1d47e4c3c6502dc672d7aa0277965aadf371ba2037c7e9e21f5e305a71b3e19d7e67fd6adabe84f6c9686e28e6e2697fb1c4350915c2bdf58a7eef857c EBUILD maxitest-5.5.0.ebuild 1494 BLAKE2B d1b37842255e55eb50d4598fc093666d6b543977664947bd9711989b20c9d93318b311d60d1fa724df07661adccb27413a052259d7a884652e14d0320a2a39b1 SHA512 5783ff3fbf517b2c641dda77f5b5db1a3f62cb4b5a52721e0e9c10218e6b8ee7cb7233c4e4317b9eb8e9d846820ee45b83a3762c8c72d11cedc95ec694ce10bf EBUILD maxitest-5.6.0.ebuild 1499 BLAKE2B cd0f648872ba4f28ce684eec16fd6e1525ed221995a5b517ba1b7f3a85a42fdb6c222680a4757b8df71e6e8682ff0e8a566768adec6824cd3c4209e1c26fb632 SHA512 1e803d49dd60f656a24a60606510e6f05af4a7260378423f6c4b76025b4af9ed85d9462eb1a50e9e77ac9a4cf151e5808a6db05179bcd64b3730f7ee8bd9fe91 EBUILD maxitest-5.7.0.ebuild 1499 BLAKE2B 5313dd2fdf872d3db3e22c0fe0468e79124a3a22d13fa2869d59b74ae60fc2d4e0c884e3aff4703499d5b9bd175854d8742043bc6433d28798e91734adea98ac SHA512 aa397623ac137c5b7174c8ba2a821ac91e8949eaf41802a5ca7d0510fba380d0641ed036ad4805a07c753fc069c7f40ff068de54e5bb42142548a4b9e4c82681 +EBUILD maxitest-5.7.1.ebuild 1499 BLAKE2B 5313dd2fdf872d3db3e22c0fe0468e79124a3a22d13fa2869d59b74ae60fc2d4e0c884e3aff4703499d5b9bd175854d8742043bc6433d28798e91734adea98ac SHA512 aa397623ac137c5b7174c8ba2a821ac91e8949eaf41802a5ca7d0510fba380d0641ed036ad4805a07c753fc069c7f40ff068de54e5bb42142548a4b9e4c82681 MISC metadata.xml 333 BLAKE2B 4f6d2cdebd14923f2841e9ccf9313f2b478a3c47c26979cf90c03d8977b8ed77e08a1369fc374a47a84603d546ad46d7225eda21224f423bc52c4b0320e6d80c SHA512 6e9425f636821a231213a9dee84cec2dc3394a52ea4f5f8a69e0c1691ffdc8e46946dbc0b99147bbbe05211557646a6538b3dbbe716ec6a469b21040b1c8b3fd diff --git a/dev-ruby/maxitest/maxitest-5.7.1.ebuild b/dev-ruby/maxitest/maxitest-5.7.1.ebuild new file mode 100644 index 000000000000..3d03a8ddb68a --- /dev/null +++ b/dev-ruby/maxitest/maxitest-5.7.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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="test" + +ruby_add_rdepend ">=dev-ruby/minitest-5.14.0:* <dev-ruby/minitest-5.26.0:*" + +ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/minitest-5.21.0 )" + +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 -e '/\(debug\|bump\)/ s:^:#:' \ + -i 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 +} |