commit:     ce62bf9bff65b4940f0f843a78875606079ec467
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 06:31:05 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 06:31:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce62bf9b

dev-ruby/spreadsheet: add 1.3.3

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

 dev-ruby/spreadsheet/Manifest                 |  1 +
 dev-ruby/spreadsheet/spreadsheet-1.3.3.ebuild | 37 +++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-ruby/spreadsheet/Manifest b/dev-ruby/spreadsheet/Manifest
index 420f48a617f8..b0f16c8178f7 100644
--- a/dev-ruby/spreadsheet/Manifest
+++ b/dev-ruby/spreadsheet/Manifest
@@ -1 +1,2 @@
 DIST spreadsheet-1.3.0.tar.gz 4654545 BLAKE2B 
c3658dbab73874d403da2be235d862be80ee8764eeac4cbf31b78121fa288ecfa2821734b6d97a31eecf29f21b52b9f7bd752ccb6b45edf7d2ef7c8ecc3cc410
 SHA512 
1e671d01fc4b21f6fee034cace68c711968983978cc815b5bda051c5ed14c736653a4151fa6f4393416b914a678e4ac471db795c318816036c17c2ac79703c05
+DIST spreadsheet-1.3.3.tar.gz 4657370 BLAKE2B 
9732a2dba7b9dc2c97b8364422790418d9e527b5ea5d2b2ef10cf6af573a0bed18e6fa26af03bc4333335194fc6fd9e39842f00dbe644e00057c17494f96b4c8
 SHA512 
a3d4cadc551d71f9647691d79f1dafe200a9b22f6330f54f7aa0b7642b27096ec75106932620b23e65f49b00b18c94b6e6874c3a026627bfd9092da21a1d303c

diff --git a/dev-ruby/spreadsheet/spreadsheet-1.3.3.ebuild 
b/dev-ruby/spreadsheet/spreadsheet-1.3.3.ebuild
new file mode 100644
index 000000000000..a0e3e0988c67
--- /dev/null
+++ b/dev-ruby/spreadsheet/spreadsheet-1.3.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+# Avoid the complexity of the "rake" recipe and run testrb-2 manually.
+RUBY_FAKEGEM_RECIPE_TEST=none
+
+RUBY_FAKEGEM_EXTRADOC="GUIDE.md History.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="spreadsheet.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby library to read and write spreadsheet documents"
+HOMEPAGE="https://github.com/zdavatz/spreadsheet";
+SRC_URI="https://github.com/zdavatz/spreadsheet/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+ruby_add_rdepend "
+       dev-ruby/bigdecimal
+       >=dev-ruby/ruby-ole-1.0
+"
+
+all_ruby_prepare() {
+       sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+       ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/
+}

Reply via email to