diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-07-21 07:39:22 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-07-21 07:51:14 +0200 |
commit | 2fed47eea090a0da34506b01b786f7337cd75a09 (patch) | |
tree | e7091166ffbfdd115168998e3782ff33eec70cba /dev-ruby/sus | |
parent | sci-libs/cartopy: Fix failing tests with >=sci-libs/proj-9.2 (diff) | |
download | gentoo-2fed47eea090a0da34506b01b786f7337cd75a09.tar.gz gentoo-2fed47eea090a0da34506b01b786f7337cd75a09.tar.bz2 gentoo-2fed47eea090a0da34506b01b786f7337cd75a09.zip |
dev-ruby/sus: add 0.21.2
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.21.2.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest index 663ba02a0573..1a56773c9f40 100644 --- a/dev-ruby/sus/Manifest +++ b/dev-ruby/sus/Manifest @@ -1,3 +1,4 @@ DIST sus-0.20.3.tar.gz 28845 BLAKE2B d10b142dd9d7ef44a453746f859a7d4a66eacd09ea157aef1887a95b01a88e7f749f9ca881518500eef48917b5cb1e67ac008327af0ae9df0200875bbe1de3b1 SHA512 1158f6ae53c5aae22454a15eaf7e613a00b1af730bf07af6662bd7e9d7f30365cea9dbebcddb5b6234931cf9414b8c3af0889d73194632cbaad439872cc89059 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 diff --git a/dev-ruby/sus/sus-0.21.2.ebuild b/dev-ruby/sus/sus-0.21.2.ebuild new file mode 100644 index 000000000000..47dc10e077b5 --- /dev/null +++ b/dev-ruby/sus/sus-0.21.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 +} |