mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
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>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DIST sus-0.6.2.tar.gz 14860 BLAKE2B 4af1171128070f0bc72fcf16e4baedc4cff75c8431c03859e15cb95c298cb7110032d92d980d25163f5704430ad220507dee49e82bee9e79cf04da50c5b2e924 SHA512 3ff5c282f3876ad952b77004e88bd87d29b631683f2c5c9ed757525433ac2909b834fdfcbc5234de83fc1b81ae8442c6c936dc2bbb01e769d9de4055e8151628
|
||||
@@ -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>
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user