summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-03 15:41:47 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-03 15:46:41 +0200
commit10184767a9a3cbbd374819f34c107c4ecae20454 (patch)
tree2daaacd85a9678f7fb0df6466263e320a6a714bb /dev-ruby/sus
parentdev-ruby/websocket-driver: add 0.7.6 (diff)
downloadgentoo-10184767a9a3cbbd374819f34c107c4ecae20454.tar.gz
gentoo-10184767a9a3cbbd374819f34c107c4ecae20454.tar.bz2
gentoo-10184767a9a3cbbd374819f34c107c4ecae20454.zip
dev-ruby/sus: add 0.22.2
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.22.2.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest
index 1a56773c9f40..fd9436f87072 100644
--- a/dev-ruby/sus/Manifest
+++ b/dev-ruby/sus/Manifest
@@ -2,3 +2,4 @@ DIST sus-0.20.3.tar.gz 28845 BLAKE2B d10b142dd9d7ef44a453746f859a7d4a66eacd09ea1
DIST sus-0.21.0.tar.gz 29581 BLAKE2B c39102c006b1fdfec6f40ef7eaa973a0cd5039b73402c8c5ff9234a0c06131c24550070fd04d59dd8706edbd08d46604e943f9b69e071dd29eefda103a1a6d1f SHA512 1fdbcbe814411a0ff3b9ebc72143f64fc76dbe11faea915e9d46bda786da9837e62a5a3070ceb6f28ac6bfe2c4fc8646de865efbc679abe80ee2a7abe327c007
DIST sus-0.21.1.tar.gz 29580 BLAKE2B 9a30950b4ad9da13af48c50a96951ba9f9cace97fac3a603de5acfe489dc8c8d4581b064f2452c9bf5da96da4db8f488df42f89a2113dd924c8ba8fcf8fd9230 SHA512 73db74f791f47a898840db65cf9c2f98b92f3d2a5319828f26dc55c8aef8e0932060c1075f5010b3c2b887891c1467a3828728f78a84297725d851966093ce9e
DIST sus-0.21.2.tar.gz 30329 BLAKE2B ea0e9d4ffc994ce0370abbde8d68de668457f90e5f53e0c80e1aa146a28754782590eee7e53dc6373fe17b8816e481b82c5d97c4b2a39829a8a9a5a58faa42ba SHA512 eeced196ffc0871474495fb1afd8aa25f36a1881bad303447499a9b6c19ed94241896256563a4f61e9f7e1b32b8ed5e52e83f5c414c64002e283e81f1fc28b06
+DIST sus-0.22.2.tar.gz 30822 BLAKE2B 483a1e7e48f075e07c549bab9c1ee71ea7cf815ee4f950cb4b0487a5f923a7f509a6354567dd9026936908eb5f9c2c224ff55bedb5a9e300d52a100ff766349f SHA512 e4ee140be1b70947b92983f914a8c8b6c24ab20fa238c26558522fa6b12dd8f63f0842fbc770e8a9378e6a2dcb735504de12305436af100ba9e147869510eadd
diff --git a/dev-ruby/sus/sus-0.22.2.ebuild b/dev-ruby/sus/sus-0.22.2.ebuild
new file mode 100644
index 000000000000..47dc10e077b5
--- /dev/null
+++ b/dev-ruby/sus/sus-0.22.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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"
+IUSE=""
+
+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
+}