diff options
Diffstat (limited to 'dev-ruby/spreadsheet')
-rw-r--r-- | dev-ruby/spreadsheet/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/spreadsheet/spreadsheet-1.3.3.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/spreadsheet/Manifest b/dev-ruby/spreadsheet/Manifest index 2f8ad6a30506..8b1d6120724a 100644 --- a/dev-ruby/spreadsheet/Manifest +++ b/dev-ruby/spreadsheet/Manifest @@ -1,3 +1,5 @@ DIST spreadsheet-1.3.0.tar.gz 4654545 BLAKE2B c3658dbab73874d403da2be235d862be80ee8764eeac4cbf31b78121fa288ecfa2821734b6d97a31eecf29f21b52b9f7bd752ccb6b45edf7d2ef7c8ecc3cc410 SHA512 1e671d01fc4b21f6fee034cace68c711968983978cc815b5bda051c5ed14c736653a4151fa6f4393416b914a678e4ac471db795c318816036c17c2ac79703c05 +DIST spreadsheet-1.3.3.tar.gz 4657370 BLAKE2B 9732a2dba7b9dc2c97b8364422790418d9e527b5ea5d2b2ef10cf6af573a0bed18e6fa26af03bc4333335194fc6fd9e39842f00dbe644e00057c17494f96b4c8 SHA512 a3d4cadc551d71f9647691d79f1dafe200a9b22f6330f54f7aa0b7642b27096ec75106932620b23e65f49b00b18c94b6e6874c3a026627bfd9092da21a1d303c EBUILD spreadsheet-1.3.0.ebuild 890 BLAKE2B c02b20d00405ddcc7c6c71d9b81fa59432d27486e408476ce9eb1a96cff7e21f433dc21f0475695daea1a4131a1c1d100aaa4a1df0a32c73c0f32235f9860696 SHA512 6ddcb6e4175a9bdc14ffa91a7f4a42bf1799d130723844736aa4f2d3974c47f9a6a5e1c28f0d5d9b8d16781da9cffa72248da34db6dcdef0d5fe6b5ffea7c94e +EBUILD spreadsheet-1.3.3.ebuild 918 BLAKE2B a28e47078c83f2d41e706d948d89f89b065450724c2da8c231442ba0828810bc57fc3477546ec654ff372766f92bab0699e7fffb47eb6845102fde3880748314 SHA512 21db6342245b7cb47d3cad04b9a06c6227cdb75f013593b4818ea266e4b653f34ceedbf8d482fe57dc4ed9261ecd4f96f7b75a6db31aafb445f5d1e66239d7f4 MISC metadata.xml 514 BLAKE2B ab61f0f7f44edcd83dd591d69948ddfb5e62cd3d73eac34be23ebac5ca6df7fc8bfb9bd9d1e4a83950805696060f476badc4840ed6f5795e9ec3dcb926c0cb49 SHA512 6ce9cb9a0959b18d9711f186a999cd66e931b55ea929c22ba95381f680eb592c14047ee22e47586197caaafd98e07c43637445eb4d03874beb7f5fa3261cb60e 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/ +} |