summaryrefslogtreecommitdiff
path: root/dev-ruby/naught
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ruby/naught
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-ruby/naught')
-rw-r--r--dev-ruby/naught/Manifest1
-rw-r--r--dev-ruby/naught/metadata.xml9
-rw-r--r--dev-ruby/naught/naught-1.1.0-r1.ebuild30
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/naught/Manifest b/dev-ruby/naught/Manifest
new file mode 100644
index 000000000000..06998a8a25ff
--- /dev/null
+++ b/dev-ruby/naught/Manifest
@@ -0,0 +1 @@
+DIST naught-1.1.0.gem 19456 BLAKE2B 175611b8653966500ef7cd963b8c9bd895f82e72af87b0f3358b74b91e5915dccf4da76fc916e30214d6f45ee3c84f232f83cf04afef3fa5c7b1283614c41339 SHA512 0a25825df0234f15a53dc7a8dff546846c605fde9b1e3ce0b3e88f6e1753117bd48586b450dcd08c45a0d4877a04ac19feb98fd70d929f9da3ccba8478e46a57
diff --git a/dev-ruby/naught/metadata.xml b/dev-ruby/naught/metadata.xml
new file mode 100644
index 000000000000..c685ebad7e3a
--- /dev/null
+++ b/dev-ruby/naught/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-ruby/naught/naught-1.1.0-r1.ebuild b/dev-ruby/naught/naught-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..b0030ae49a64
--- /dev/null
+++ b/dev-ruby/naught/naught-1.1.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A toolkit for building Null Objects in Ruby"
+HOMEPAGE="https://github.com/avdi/naught"
+
+LICENSE="MIT"
+SLOT="5"
+KEYWORDS="~amd64"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
+
+ # Account for different call stack messages in Ruby 3.4.
+ sed -e '/with/ s/\$/.?$/' \
+ -e '/with/ s/from block/block/' \
+ -e '/with/ s/from call_method/from.*call_method/' \
+ -i spec/pebble_spec.rb || die
+}