diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-02-19 08:55:30 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-02-19 09:10:34 +0100 |
commit | 17698970c26a03b9f791bb5fb6a9591f5e2a4013 (patch) | |
tree | 64a26499b4b3acb3e08347fff577679cb3627322 /dev-ruby/sus | |
parent | dev-ruby/sus: drop 0.13.0, 0.14.0, 0.15.0, 0.15.1 (diff) | |
download | gentoo-17698970c26a03b9f791bb5fb6a9591f5e2a4013.tar.gz gentoo-17698970c26a03b9f791bb5fb6a9591f5e2a4013.tar.bz2 gentoo-17698970c26a03b9f791bb5fb6a9591f5e2a4013.zip |
dev-ruby/sus: add 0.18.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sus')
-rw-r--r-- | dev-ruby/sus/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sus/sus-0.18.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest index 0f5741935bdc..ca9383021b22 100644 --- a/dev-ruby/sus/Manifest +++ b/dev-ruby/sus/Manifest @@ -1,2 +1,3 @@ DIST sus-0.15.2.tar.gz 25676 BLAKE2B 3cc99d849674b87c8ac919dc176d48cfc184de9ed302f33a40a3f171430e9cc0ad9624c29f95053e7a8bd0ab7b2741bd6a09c7a77707a9ef83a265b09a095b4d SHA512 0f2e0f3640cce798564c53ffb2cc93996eda28af3b49d4f0d89327be960ef68e8aee5b0e906cfbadca0582bf5b363633314fd7d2eabf7ebf4782fe2aed095394 DIST sus-0.16.0.tar.gz 26123 BLAKE2B 829e2ec74e60eb41809d85e9f74e1c8697d7803c6f26dd5da18f705fb0b35f85d8efb976eb858e07647db2137a1e864181346b69d2dd054d81289a6bd43cca2c SHA512 cd787e63b202df8b501c5d71198b9cfa23085b7e6ad7d9d9a4d023e4fab3a6c103d89390293f9940d14c023ea224b33b5ec728b67988aee8279cf248e20547cf +DIST sus-0.18.0.tar.gz 27299 BLAKE2B 235ee4b9229d27966eabddd9400b734bd98c9f175eb639830b45269977b75770c72357be7cc631076df90f35cec38cfa6137277394dc1af0053cf81de59a84bf SHA512 3aea3aeac304efeafd0dd27f523196965731521cebb123d781cbb3a59bbaf79a5db460f2bf8461d750865616ec1dd4cf4acc0c29d3be0a0d7f33e21c43e0844c diff --git a/dev-ruby/sus/sus-0.18.0.ebuild b/dev-ruby/sus/sus-0.18.0.ebuild new file mode 100644 index 000000000000..46c6a8c0fd05 --- /dev/null +++ b/dev-ruby/sus/sus-0.18.0.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="ruby27 ruby30 ruby31" + +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 +} |