summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-08-21 07:27:50 +0200
committerHans de Graaff <graaff@gentoo.org>2018-08-21 07:32:12 +0200
commit67537b9ebe7f1262ac887798fc3d844ad069b35d (patch)
treeeaac48dfae35020856ec45e917a905b52b87e1c0 /dev-ruby/spreadsheet
parentdev-ruby/logue: add 1.0.14 (diff)
downloadgentoo-67537b9ebe7f1262ac887798fc3d844ad069b35d.tar.gz
gentoo-67537b9ebe7f1262ac887798fc3d844ad069b35d.tar.bz2
gentoo-67537b9ebe7f1262ac887798fc3d844ad069b35d.zip
dev-ruby/spreadsheet: add 1.1.8
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/spreadsheet')
-rw-r--r--dev-ruby/spreadsheet/Manifest1
-rw-r--r--dev-ruby/spreadsheet/spreadsheet-1.1.8.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/spreadsheet/Manifest b/dev-ruby/spreadsheet/Manifest
index eb3e32aa0a3e..00ff1e59691b 100644
--- a/dev-ruby/spreadsheet/Manifest
+++ b/dev-ruby/spreadsheet/Manifest
@@ -1,2 +1,3 @@
DIST spreadsheet-1.1.3.tar.gz 4655837 BLAKE2B fdb28822c0d40eaceaeccd7ecb7861fa7ab9cf2f775aeca2f5fa00dc7932d17f1cbf5298aac4458109bada8e1d97a5a537f9054cc947aa4140dde3ae260556e3 SHA512 c1529318384c4e48abe20aad21aa80d652ab91bca505379c310707fa23382654252bfc04d1f8bdb7aa6ec00d0e064790e3ffdcf1c1089bd49010e79729a36690
DIST spreadsheet-1.1.7.tar.gz 4656117 BLAKE2B 4771d747609da7a552ada5d3c0d5de51e6fafbdd1d3dbc8740e50c7a8d3d6d981316816a0e0ea5f5e817e66ee6966ce501e239409a352bce56d22274816ee8e8 SHA512 f1617e1733bb41e7cdcde626a31248fce43160efbd16736822f2dc4e64db814ee5394c50feaf6986b8af4876488191e40e01d95dc76078666517f5cf14f97fcf
+DIST spreadsheet-1.1.8.tar.gz 4656238 BLAKE2B 583e3b45da505f398fb243387c375f97f13482ed39c8857caf96a865eb1f7babff188e459818e4609316ebdbd18f9050d60492fc27e0557aeebb0846dd3679cd SHA512 be90f9b3b21db98daced4bdaaf57fb1f0dd45e9f8fb330e451b51d68a78ffb0dbb2e7b08c1ee41836935ed263acd9639b074df45b7e429f5781d188bd7170e75
diff --git a/dev-ruby/spreadsheet/spreadsheet-1.1.8.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.1.8.ebuild
new file mode 100644
index 000000000000..6b5df7f52291
--- /dev/null
+++ b/dev-ruby/spreadsheet/spreadsheet-1.1.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+# 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/
+}