summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-06-26 07:58:20 +0200
committerHans de Graaff <graaff@gentoo.org>2024-06-26 07:59:10 +0200
commit7f418144e6799dda6d35337ad8935e0af36a205c (patch)
tree8f27ab0225d9e666aa38c38628746f8d1904bb36 /dev-ruby/sus
parentdev-ruby/nokogiri: add 1.16.6 (diff)
downloadgentoo-7f418144e6799dda6d35337ad8935e0af36a205c.tar.gz
gentoo-7f418144e6799dda6d35337ad8935e0af36a205c.tar.bz2
gentoo-7f418144e6799dda6d35337ad8935e0af36a205c.zip
dev-ruby/sus: add 0.27.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sus')
-rw-r--r--dev-ruby/sus/Manifest1
-rw-r--r--dev-ruby/sus/sus-0.27.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest
index 020471e27cb0..6605d7810575 100644
--- a/dev-ruby/sus/Manifest
+++ b/dev-ruby/sus/Manifest
@@ -2,3 +2,4 @@ DIST sus-0.21.1.tar.gz 29580 BLAKE2B 9a30950b4ad9da13af48c50a96951ba9f9cace97fac
DIST sus-0.23.0.tar.gz 30932 BLAKE2B 8f08e167368c54814b674e42ab5855f06387646774b93551fd67b7b4b7eb3313aeaa82369d2346325d2214c5f134875b9730579559450519ddb49eb62b70ad40 SHA512 ee1815d70692154abef962d41cca7037b0fa1419861ff08518a0b1153e43e308c351eb21ca32b017b30fb30fbc1a3bd707681b2a59e4a74137642c36080dddbd
DIST sus-0.24.6.tar.gz 31923 BLAKE2B 793c8e6213ff210ff5080239f89646f3b2dfcdaca96c876ee51b210eaa68f583f3c9694afb2e2089fee46940868bee8e6db2c1d03acd4ad7b5d0a7736295da29 SHA512 6b661e0467cde29a7a192df3608ff1b629c558ea55b99c0bec40ce36b2f2876a796f7424722d6c221704edc9939a6da73cddd73a7f076287907494e027a01926
DIST sus-0.25.0.tar.gz 32018 BLAKE2B ae19948f8f786e6cab1b97d2d7d05db01f61eccf8c872445ab8c240c8b0c856d9548917c0299a9c876a362a3138682fcd7d49903eba939473da66e7f383cd89d SHA512 c0c8337efe193ef3c8a5ea88a0d4cc7ad06c095f1f32efb437d98f6fdeb49a9f403b49b9ca61e3b305799dc53d088a1e2c41c007df6c548ac37e9770536a55fe
+DIST sus-0.27.0.tar.gz 32228 BLAKE2B cc9835b23341ace34f2ded75bbb61a210991691ba507322f0c0b986de91a846429237e1fa7b06868c499c8f68c69d5bf4482becbedb9a8db519960fb07128d9a SHA512 30ea64379e1e157d359b5faa2710014292457de68587a0408f67077af19fc035e57d5c4bc0cdbd1ab7af5223dc81bb9262a34a94d9c0b0560030d61dbc93dd35
diff --git a/dev-ruby/sus/sus-0.27.0.ebuild b/dev-ruby/sus/sus-0.27.0.ebuild
new file mode 100644
index 000000000000..ba4876aa8a22
--- /dev/null
+++ b/dev-ruby/sus/sus-0.27.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A fast and scalable test runner"
+HOMEPAGE="https://github.com/ioquatix/sus"
+SRC_URI="https://github.com/ioquatix/sus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ # Remove the sus configuration which enabled coverage checks.
+ # Its dependency is not packaged.
+ rm -f config/sus.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} bin/sus-parallel || die
+}