summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-02-23 07:32:15 +0100
committerHans de Graaff <graaff@gentoo.org>2019-02-23 07:32:15 +0100
commitf0f52227386357aba156b80a21e02fcdb31a4283 (patch)
tree25d98a4bc2b8ed0dbcc3dbd22fe2b0ce14492c6e /dev-ruby/spreadsheet
parentdev-ruby/spreadsheet: cleanup (diff)
downloadgentoo-f0f52227386357aba156b80a21e02fcdb31a4283.tar.gz
gentoo-f0f52227386357aba156b80a21e02fcdb31a4283.tar.bz2
gentoo-f0f52227386357aba156b80a21e02fcdb31a4283.zip
dev-ruby/spreadsheet: add 1.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/spreadsheet')
-rw-r--r--dev-ruby/spreadsheet/Manifest1
-rw-r--r--dev-ruby/spreadsheet/spreadsheet-1.2.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/spreadsheet/Manifest b/dev-ruby/spreadsheet/Manifest
index 5f4e306a41c9..c16fcd605cc9 100644
--- a/dev-ruby/spreadsheet/Manifest
+++ b/dev-ruby/spreadsheet/Manifest
@@ -1,2 +1,3 @@
DIST spreadsheet-1.1.8.tar.gz 4656238 BLAKE2B 583e3b45da505f398fb243387c375f97f13482ed39c8857caf96a865eb1f7babff188e459818e4609316ebdbd18f9050d60492fc27e0557aeebb0846dd3679cd SHA512 be90f9b3b21db98daced4bdaaf57fb1f0dd45e9f8fb330e451b51d68a78ffb0dbb2e7b08c1ee41836935ed263acd9639b074df45b7e429f5781d188bd7170e75
DIST spreadsheet-1.1.9.tar.gz 4656240 BLAKE2B cb2b663bc4721d916f0485fe51a5e46239f2e48dca2410d3b5e6f50ad4a4fb92982e3a9ba7605c4f202d538f3f69931837c2c0d323b8b30e9c25210fadca8796 SHA512 1a4d8f3e2f6772ff6fdfdc818893d8d808b03f68428125d6f3deab38830dc47ab203fbface21b01c66ab451e2175db38f4b6d3b0cc2423ac37578d3bd135305c
+DIST spreadsheet-1.2.0.tar.gz 4655737 BLAKE2B d0f909ee7d465acb83ac99f74e273b3d82c195ce0747a73a791807100397f89d61db5c771017c525942c68f6a11f38dbae8a6e1b5d25509388a9c4b5b0769793 SHA512 3767e4f7d027b9162f4ca2f10d7d9ed211ddce680bec9d414dd2b2afde327b61be6c821122357710ab5ee69f5cc5f7ba8f00e46e42ca240ef65263d820cbd166
diff --git a/dev-ruby/spreadsheet/spreadsheet-1.2.0.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.2.0.ebuild
new file mode 100644
index 000000000000..9f95a8c8f22c
--- /dev/null
+++ b/dev-ruby/spreadsheet/spreadsheet-1.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+# 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://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=""
+
+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/
+}