commit:     98cf1eb8940a1427efb923893a476c044fd3aaf2
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 17 05:47:11 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jul 17 05:47:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98cf1eb8

dev-ruby/ostruct: add 0.6.3

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/ostruct/Manifest             |  1 +
 dev-ruby/ostruct/ostruct-0.6.3.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-ruby/ostruct/Manifest b/dev-ruby/ostruct/Manifest
index 6407a8ba806c..ef1a838a46cc 100644
--- a/dev-ruby/ostruct/Manifest
+++ b/dev-ruby/ostruct/Manifest
@@ -1,2 +1,3 @@
 DIST ostruct-0.6.1.tar.gz 12181 BLAKE2B 
df7864c739b4a8beb601e8a8232c07393eb29f519660261f9cccde9a3a0164c6a14eaf3f0c9c9a098cfbafc110ea2ab1ddd19c05de98f1f67c5866eaf3e61cf6
 SHA512 
34c141dde253bed7b0637b353bc55fd052c708e5e1558e1a348e43e1aa633f0a0c7806231e7e2931b400a43c3dfde533ae5ac3ed20291ff73d1296121e0517b3
 DIST ostruct-0.6.2.tar.gz 12345 BLAKE2B 
c85cf1da1e55fbf531700fc40a0c517bf4b4a8b21ebdd920140ac4acb14eee57208d0aaec78eeb9c1a5c3603c95003619a00a06ba39140c99d5f3350a612897a
 SHA512 
e879233a73f304fb6e5c40d05eee556c46cc945d67ed8b4fc6e75cd60e4dcee26de4c7b92b174f8ba4b2887b657878dd51ec14445d94e9776d0ea5d877a3fde3
+DIST ostruct-0.6.3.tar.gz 12361 BLAKE2B 
9ec08e8ca352da0957f5fda11bafa765ffbcd090647ecf3f9d21c89b4e0d7bf86fecc62a028b83964031805de0931966f131d1b6a6d94afcaac237574e0b457a
 SHA512 
9e1686c60e4c9b4eda1cbae54adc5fea5ba4d1a52f047a836de2c103c161f456b13de7494fe10565f7bd54a2dff9212969b7b36db7950bacd303d0860219515e

diff --git a/dev-ruby/ostruct/ostruct-0.6.3.ebuild 
b/dev-ruby/ostruct/ostruct-0.6.3.ebuild
new file mode 100644
index 000000000000..7b99ced8d50d
--- /dev/null
+++ b/dev-ruby/ostruct/ostruct-0.6.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="ostruct.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Class to build custom data structures, similar to a Hash"
+HOMEPAGE="https://github.com/ruby/ostruct";
+SRC_URI="https://github.com/ruby/ostruct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_depend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+all_ruby_prepare() {
+       sed -e 's/__FILE__/"ostruct.gemspec"/' \
+               -e 's/__dir__/"."/' \
+               -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}

Reply via email to