summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-08-30 07:14:43 +0200
committerHans de Graaff <graaff@gentoo.org>2017-08-30 07:14:43 +0200
commit20cfcf7901236f40ea3e506483239f48e30e717a (patch)
treea19b0dc8301e6c867ecb9aae5da1a760ab7ca64b /dev-ruby/spreadsheet
parentdev-ruby/bindata: add 2.4.1 (diff)
downloadgentoo-20cfcf7901236f40ea3e506483239f48e30e717a.tar.gz
gentoo-20cfcf7901236f40ea3e506483239f48e30e717a.tar.bz2
gentoo-20cfcf7901236f40ea3e506483239f48e30e717a.zip
dev-ruby/spreadsheet: add 1.1.3
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/spreadsheet')
-rw-r--r--dev-ruby/spreadsheet/Manifest1
-rw-r--r--dev-ruby/spreadsheet/spreadsheet-1.1.3.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/spreadsheet/Manifest b/dev-ruby/spreadsheet/Manifest
index 4232083647b8..edb2ab70134f 100644
--- a/dev-ruby/spreadsheet/Manifest
+++ b/dev-ruby/spreadsheet/Manifest
@@ -1 +1,2 @@
DIST spreadsheet-0.6.9.gem 160256 SHA256 3f4c35eff313f1408b77ddc19fa90354472ff6bf82ee9f99faf979b3dc7cfedd SHA512 9400908153a671cfcf17dd9dfa8db7de0a9c95281ba6dbee1ac8002e9f0058616e5887e36eb2e1e2c790516731117d5a0f7efdbadcaaea3c69a8f9aa8d3091ac WHIRLPOOL 23b1f8e7d865c4a500fe006843aebfaa4a68e6089d23a1d0a70a2b9ff211e5240b3ee94f25f08505a16f87d176374cf36ff1cc5af34bdf2663b63ef7ddf1edaa
+DIST spreadsheet-1.1.3.tar.gz 4655837 SHA256 5fc45a1419935d2f0a082fbff817a8b7f1cc775bcd018e29b82e89ef747cdfe3 SHA512 c1529318384c4e48abe20aad21aa80d652ab91bca505379c310707fa23382654252bfc04d1f8bdb7aa6ec00d0e064790e3ffdcf1c1089bd49010e79729a36690 WHIRLPOOL a8ff21f569b9235abd779646cc3290257e3b8b84a4151d179188aaa7b596eb48f242b77a50b6dfd1df99adc3d34d2bc2747ff176b3376238e83e4431fd06be4a
diff --git a/dev-ruby/spreadsheet/spreadsheet-1.1.3.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.1.3.ebuild
new file mode 100644
index 000000000000..a55178d70a24
--- /dev/null
+++ b/dev-ruby/spreadsheet/spreadsheet-1.1.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+# Avoid the complexity of the "rake" recipe and run testrb-2 manually.
+RUBY_FAKEGEM_RECIPE_TEST=none
+
+# Same thing for the docs whose rake target just calls rdoc.
+RUBY_FAKEGEM_RECIPE_DOC=rdoc
+RUBY_FAKEGEM_EXTRADOC="GUIDE.md History.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby library to read and write spreadsheet documents"
+HOMEPAGE="https://rubygems.org/gems/spreadsheet"
+SRC_URI="https://github.com/zdavatz/spreadsheet/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+ruby_add_rdepend ">=dev-ruby/ruby-ole-1.0"
+
+each_ruby_test() {
+ ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/
+}