mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-ruby/fiber-annotation: new package, add 0.2.0
New dependency for dev-ruby/console Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/fiber-annotation/Manifest
Normal file
1
dev-ruby/fiber-annotation/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST fiber-annotation-0.2.0.tar.gz 5743 BLAKE2B 87ab3601f53ecbac05ed251438b95f10d26078d319ced6fcde6e1b9c96d58bcbd5c8d5e9e15325f54c32543b61e91ce53f02964aacb8afc57d7636aa70597007 SHA512 d030ad1a3824ea2e7b31781ed31aa1fba187c44479351fb21911ade090f8596b38f5b6352420b26df705d12b086421b78a4987590169a33550de1ed565630e87
|
||||
28
dev-ruby/fiber-annotation/fiber-annotation-0.2.0.ebuild
Normal file
28
dev-ruby/fiber-annotation/fiber-annotation-0.2.0.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="sus"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A mechanism for annotating fibers"
|
||||
HOMEPAGE="https://github.com/ioquatix/fiber-annotation"
|
||||
SRC_URI="https://github.com/ioquatix/fiber-annotation/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
|
||||
# Avoid unpackaged sus covered
|
||||
rm -f config/sus.rb
|
||||
}
|
||||
12
dev-ruby/fiber-annotation/metadata.xml
Normal file
12
dev-ruby/fiber-annotation/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">ioquatix/fiber-annotation</remote-id>
|
||||
<remote-id type="rubygems">fiber-annotation</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user