commit: dfa65fd187d258c192cab5871f5592ff58e413cf
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 25 19:07:47 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jun 25 19:08:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa65fd1
dev-ruby/fiber-annotation: new package, add 0.2.0
New dependency for dev-ruby/console
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/fiber-annotation/Manifest | 1 +
.../fiber-annotation/fiber-annotation-0.2.0.ebuild | 28 ++++++++++++++++++++++
dev-ruby/fiber-annotation/metadata.xml | 12 ++++++++++
3 files changed, 41 insertions(+)
diff --git a/dev-ruby/fiber-annotation/Manifest
b/dev-ruby/fiber-annotation/Manifest
new file mode 100644
index 000000000000..859ca1bd42d8
--- /dev/null
+++ b/dev-ruby/fiber-annotation/Manifest
@@ -0,0 +1 @@
+DIST fiber-annotation-0.2.0.tar.gz 5743 BLAKE2B
87ab3601f53ecbac05ed251438b95f10d26078d319ced6fcde6e1b9c96d58bcbd5c8d5e9e15325f54c32543b61e91ce53f02964aacb8afc57d7636aa70597007
SHA512
d030ad1a3824ea2e7b31781ed31aa1fba187c44479351fb21911ade090f8596b38f5b6352420b26df705d12b086421b78a4987590169a33550de1ed565630e87
diff --git a/dev-ruby/fiber-annotation/fiber-annotation-0.2.0.ebuild
b/dev-ruby/fiber-annotation/fiber-annotation-0.2.0.ebuild
new file mode 100644
index 000000000000..5ba21af36201
--- /dev/null
+++ b/dev-ruby/fiber-annotation/fiber-annotation-0.2.0.ebuild
@@ -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
+}
diff --git a/dev-ruby/fiber-annotation/metadata.xml
b/dev-ruby/fiber-annotation/metadata.xml
new file mode 100644
index 000000000000..c20327fbd2e4
--- /dev/null
+++ b/dev-ruby/fiber-annotation/metadata.xml
@@ -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>[email protected]</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>