diff options
author | matoro <matoro@users.noreply.github.com> | 2022-06-15 00:41:00 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-10-22 17:33:11 -0400 |
commit | ff962ce8d158fa089070f708ee6bbd7f063eb3b0 (patch) | |
tree | f5acfe7da56ba26a90a59ba0aa13d131e422b0e5 /dev-ruby/sus | |
parent | dev-ruby/sinatra: revbump 2.2.0-r1, enable ruby31 (diff) | |
download | gentoo-ff962ce8d158fa089070f708ee6bbd7f063eb3b0.tar.gz gentoo-ff962ce8d158fa089070f708ee6bbd7f063eb3b0.tar.bz2 gentoo-ff962ce8d158fa089070f708ee6bbd7f063eb3b0.zip |
dev-ruby/sus: new package, add 0.6.2
Signed-off-by: matoro <matoro@users.noreply.github.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-ruby/sus')
-rw-r--r-- | dev-ruby/sus/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sus/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/sus/sus-0.6.2.ebuild | 27 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest new file mode 100644 index 000000000000..a6d56eb9b815 --- /dev/null +++ b/dev-ruby/sus/Manifest @@ -0,0 +1 @@ +DIST sus-0.6.2.tar.gz 14860 BLAKE2B 4af1171128070f0bc72fcf16e4baedc4cff75c8431c03859e15cb95c298cb7110032d92d980d25163f5704430ad220507dee49e82bee9e79cf04da50c5b2e924 SHA512 3ff5c282f3876ad952b77004e88bd87d29b631683f2c5c9ed757525433ac2909b834fdfcbc5234de83fc1b81ae8442c6c936dc2bbb01e769d9de4055e8151628 diff --git a/dev-ruby/sus/metadata.xml b/dev-ruby/sus/metadata.xml new file mode 100644 index 000000000000..2a4c88d07149 --- /dev/null +++ b/dev-ruby/sus/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">ioquatix/sus</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/sus/sus-0.6.2.ebuild b/dev-ruby/sus/sus-0.6.2.ebuild new file mode 100644 index 000000000000..bc7527aa046d --- /dev/null +++ b/dev-ruby/sus/sus-0.6.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" +RUBY_FAKEGEM_RECIPE_TEST="" +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/refs/tags/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 +} + +each_ruby_test() { + "${RUBY}" "bin/sus-parallel" || die +} |