mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-ruby/sus-fixtures-time: new package, add 0.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/sus-fixtures-time/Manifest
Normal file
1
dev-ruby/sus-fixtures-time/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sus-fixtures-time-0.1.0.tar.gz 8201 BLAKE2B 9d8e377ebf86f938af0bf3d38c40269f9273437b78e09aadb407b2696966d27d9515124f9eba176f5d70c35e7306223691fb55564537c0b0ab238a1e4c18812e SHA512 4532b8dc74f6e182ffd97d744fdc66297e67853e92679014e898e5fbf9f36fda717167eae94d8e93d5816de8a0e58827389c616c528159d906b006c6df56c0af
|
||||
12
dev-ruby/sus-fixtures-time/metadata.xml
Normal file
12
dev-ruby/sus-fixtures-time/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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">socketry/sus-fixtures-time</remote-id>
|
||||
<remote-id type="rubygems">sus-fixtures-time</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
32
dev-ruby/sus-fixtures-time/sus-fixtures-time-0.1.0.ebuild
Normal file
32
dev-ruby/sus-fixtures-time/sus-fixtures-time-0.1.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="readme.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="sus"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Test fixtures for capturing Console output"
|
||||
HOMEPAGE="https://github.com/socketry/sus-fixtures-time"
|
||||
SRC_URI="https://github.com/socketry/sus-fixtures-time/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/sus-0.10:0
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user