summaryrefslogtreecommitdiff
path: root/dev-ruby/maxitest
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/maxitest')
-rw-r--r--dev-ruby/maxitest/Manifest2
-rw-r--r--dev-ruby/maxitest/maxitest-5.5.0.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-ruby/maxitest/Manifest b/dev-ruby/maxitest/Manifest
index 924770ff3296..c1dff0a36c0c 100644
--- a/dev-ruby/maxitest/Manifest
+++ b/dev-ruby/maxitest/Manifest
@@ -2,8 +2,10 @@ DIST maxitest-4.4.1.tar.gz 62757 BLAKE2B 0023472200643dcc17aa7fc3720ebdaccb98862
DIST maxitest-5.2.0.tar.gz 63610 BLAKE2B 98efc803f43d02cfdec0431279446e555650928442593be436e0ebfcb0d21e505e69b9e26fd8560b12c4feb2ce307d9d46954ff8a82a80b328c2d0442c451f5a SHA512 10251961613a6a014c868c3fd2a8c4c51253b2dee058561450e88ef628de25b6042b17d04d7338afd400ca30e8c3c12923f0976ec28578b726630699d2a0d5b5
DIST maxitest-5.3.1.tar.gz 64755 BLAKE2B 8de322902638a284dadcf269fc16d82ee70a4b5fe4211c1859ce832a8b424c98347b005f103e9a2342df8384591ff98b23171bf2f61285177aa3bf1a0520bac9 SHA512 a287f880a1eb8695e716654c3921ffcf27430657285ec29002834145f87db620ae481f9dd5c023edec0473ce947c366eaeb78ddbbf556d26e08605f0b9341f69
DIST maxitest-5.4.0.tar.gz 64727 BLAKE2B 99751c419386ab1b2a10233371c151f8d7a55315dca223e65a72ccab5b6aabb655c2e853190dc94c09dacb77542a0cdadc4121f45207d1d756f5d8b0d727f457 SHA512 7bdff3081b294fa43fc9a03352eb8c3be4b1a0010de5ea6a3027a9207ffcee09aeb69cec5faf430cba8ed094e76e75e6b46c6ab60f749cde1f4fcfe763ab1242
+DIST maxitest-5.5.0.tar.gz 65102 BLAKE2B 46c7d0c9bcc794066316cc244f4628771a14224903416c4547b9c6d3f58aabae3597db93034a35f40140ee0bc443419d7e856d7a99f91565e8d6c3bbaa71a86c SHA512 331fd82a069494fbf2d1e2874de1c4bc5fe9b1ee430505e43aab4d1049f2e9dcf9c50bfcee8f8b897b881c2e859dbd7fe66d9d98c13b0cbc637cd8f87715abf7
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
EBUILD maxitest-5.4.0.ebuild 1492 BLAKE2B 6f5f23e2f7d82581be4a878d2b33e75dd6f7885aebab58e65a8c109828b60692cbb7106139e3183deb998f32f83e92356725a282aecc5cc1966112f944523fe2 SHA512 5f6d7a596cf270af4624499c615919ba70b855ce5f543b9533c8dcb9fd02c1d19181c058878c124d1054cbf9669949a5a28870de9c580638179c267d37dd20b6
+EBUILD maxitest-5.5.0.ebuild 1496 BLAKE2B ab00fa2584722956d2951c7849a53fa55695fa447957127cf9f732d123cd9afd9e3f4c5ffd81bf8c7d2374e5ced3d286cff873145f7e833a503e6ec84b4d7e7b SHA512 8064b88db1b8e3de59b9dc3c8f5a47b667a7350ac8afda9318a68e256514f026d7e6b17c59adf3cb10f5d519a660e14e5d14fdf80ee5c3ddb3fa1614cbf8d7c1
MISC metadata.xml 333 BLAKE2B 4f6d2cdebd14923f2841e9ccf9313f2b478a3c47c26979cf90c03d8977b8ed77e08a1369fc374a47a84603d546ad46d7225eda21224f423bc52c4b0320e6d80c SHA512 6e9425f636821a231213a9dee84cec2dc3394a52ea4f5f8a69e0c1691ffdc8e46946dbc0b99147bbbe05211557646a6538b3dbbe716ec6a469b21040b1c8b3fd
diff --git a/dev-ruby/maxitest/maxitest-5.5.0.ebuild b/dev-ruby/maxitest/maxitest-5.5.0.ebuild
new file mode 100644
index 000000000000..2d4e9c6b4e44
--- /dev/null
+++ b/dev-ruby/maxitest/maxitest-5.5.0.ebuild
@@ -0,0 +1,52 @@
+# 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.24.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 -e '/\(debug\|bump\)/ s:^:#:' \
+ -e 'agem "mutex_m"' \
+ -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
+}