summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-12-09 08:52:21 +0100
committerHans de Graaff <graaff@gentoo.org>2023-12-09 08:53:20 +0100
commitbbbc8ee0302a89b745fc62ef8205c1713943f515 (patch)
tree462d04919e4c9be81b8ceeaaad2db521dbbe5ba5 /dev-ruby
parentdev-libs/libcgroup: Stabilize 3.1.0 x86, #919434 (diff)
downloadgentoo-bbbc8ee0302a89b745fc62ef8205c1713943f515.tar.gz
gentoo-bbbc8ee0302a89b745fc62ef8205c1713943f515.tar.bz2
gentoo-bbbc8ee0302a89b745fc62ef8205c1713943f515.zip
dev-ruby/sus: add 0.24.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sus/Manifest1
-rw-r--r--dev-ruby/sus/sus-0.24.2.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest
index c7a4ef846c48..0ac6450676b4 100644
--- a/dev-ruby/sus/Manifest
+++ b/dev-ruby/sus/Manifest
@@ -3,3 +3,4 @@ DIST sus-0.21.2.tar.gz 30329 BLAKE2B ea0e9d4ffc994ce0370abbde8d68de668457f90e5f5
DIST sus-0.22.2.tar.gz 30822 BLAKE2B 483a1e7e48f075e07c549bab9c1ee71ea7cf815ee4f950cb4b0487a5f923a7f509a6354567dd9026936908eb5f9c2c224ff55bedb5a9e300d52a100ff766349f SHA512 e4ee140be1b70947b92983f914a8c8b6c24ab20fa238c26558522fa6b12dd8f63f0842fbc770e8a9378e6a2dcb735504de12305436af100ba9e147869510eadd
DIST sus-0.23.0.tar.gz 30932 BLAKE2B 8f08e167368c54814b674e42ab5855f06387646774b93551fd67b7b4b7eb3313aeaa82369d2346325d2214c5f134875b9730579559450519ddb49eb62b70ad40 SHA512 ee1815d70692154abef962d41cca7037b0fa1419861ff08518a0b1153e43e308c351eb21ca32b017b30fb30fbc1a3bd707681b2a59e4a74137642c36080dddbd
DIST sus-0.24.0.tar.gz 31229 BLAKE2B 4e335d72f61ede7d946f4d375abe5a7640fefd17d2fc7697bb489f5e14dc42711a6777baaed35e91cb8c76bfba62127ecfdf866e36e54bc1d9fd0f705424ade4 SHA512 1f879dc59af1f348b29da4b1555dbe4f999c9b695a327f233a381382be33f7e7b1a47213f20f72ff420d57fc7c42024e6a1c34737666e88b808518588389d3fb
+DIST sus-0.24.2.tar.gz 31233 BLAKE2B 4090aac36d529984e5e447e529988838ed68f9ca4f2ef9b8a3829e158622216435152937d600be55c86982cce59d45c55026323c4264541ff0990a26e56e5c34 SHA512 693378800db2f4c683be78529a8b2b07c64cb25c7b67e970ad3b2ca2f3fb7b9f6069074acedb44828e5377a48318fd24ba36f811c43073eeffb19478041cf358
diff --git a/dev-ruby/sus/sus-0.24.2.ebuild b/dev-ruby/sus/sus-0.24.2.ebuild
new file mode 100644
index 000000000000..bd56aec6e77e
--- /dev/null
+++ b/dev-ruby/sus/sus-0.24.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="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
+}