diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-10-23 09:21:14 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-10-23 09:21:41 +0200 |
commit | c083560d2ae0118f08b8659f8cc4abff5a0ce1b0 (patch) | |
tree | b18206669f3c3a3cec695b40b4694cfd9527436d /dev-ruby | |
parent | dev-ruby/fiber-local: comment out unused deps (diff) | |
download | gentoo-c083560d2ae0118f08b8659f8cc4abff5a0ce1b0.tar.gz gentoo-c083560d2ae0118f08b8659f8cc4abff5a0ce1b0.tar.bz2 gentoo-c083560d2ae0118f08b8659f8cc4abff5a0ce1b0.zip |
dev-ruby/sus: add 0.14.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/sus/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sus/sus-0.14.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest index 99b67330ae82..6c225813d200 100644 --- a/dev-ruby/sus/Manifest +++ b/dev-ruby/sus/Manifest @@ -1 +1,2 @@ DIST sus-0.13.0.tar.gz 23399 BLAKE2B f96717409f5f14727b359e39bc1bb4726fe1cae98de46bf06e6e008df9a23746219decdb8de171cbc1c6c39ac84b4011e475daa43c7996c01968f4acc5289c84 SHA512 c0cb1b1d02e2fc812c6b3cf555af59f543bcdd82829d744d0e4fafb9043e503e8c9ebb52da33e56703d23ccaeaff583abf72e1df55a726ceca59d50d21b51eb3 +DIST sus-0.14.0.tar.gz 24207 BLAKE2B 1132e6fdf7c842ec8835613b647c837a1f5ec46c19743d186f7b57a68aff35201c29443e43242f0a375d97a0209148e483b6e8b8e44e1b94848f12a717161c42 SHA512 007eab396caa7401c028ee3b72f368810a6d01b50f84e657376ad8f7ea406b9a9cd13e3d481292197de05947a521513761da1141fc6b7e73791624966969281b diff --git a/dev-ruby/sus/sus-0.14.0.ebuild b/dev-ruby/sus/sus-0.14.0.ebuild new file mode 100644 index 000000000000..439f98b70da2 --- /dev/null +++ b/dev-ruby/sus/sus-0.14.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 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 +} |