summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-04-16 05:22:21 +0200
committerHans de Graaff <graaff@gentoo.org>2018-04-16 06:09:31 +0200
commit7c9e7f4f447cc9829eab84f268e8f2955fdfa20e (patch)
tree32cf99ff84873a0cfdbdc9dd4c1fa1e8bd4d5db4 /dev-ruby/spreadsheet
parentsys-fs/zfs: stabilizing 0.6.5.11 and 0.7.8. Removing corresponding (diff)
downloadgentoo-7c9e7f4f447cc9829eab84f268e8f2955fdfa20e.tar.gz
gentoo-7c9e7f4f447cc9829eab84f268e8f2955fdfa20e.tar.bz2
gentoo-7c9e7f4f447cc9829eab84f268e8f2955fdfa20e.zip
dev-ruby/spreadsheet: add 1.1.7
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/spreadsheet')
-rw-r--r--dev-ruby/spreadsheet/Manifest1
-rw-r--r--dev-ruby/spreadsheet/spreadsheet-1.1.7.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/spreadsheet/Manifest b/dev-ruby/spreadsheet/Manifest
index a931ce8cb02f..eb3e32aa0a3e 100644
--- a/dev-ruby/spreadsheet/Manifest
+++ b/dev-ruby/spreadsheet/Manifest
@@ -1 +1,2 @@
DIST spreadsheet-1.1.3.tar.gz 4655837 BLAKE2B fdb28822c0d40eaceaeccd7ecb7861fa7ab9cf2f775aeca2f5fa00dc7932d17f1cbf5298aac4458109bada8e1d97a5a537f9054cc947aa4140dde3ae260556e3 SHA512 c1529318384c4e48abe20aad21aa80d652ab91bca505379c310707fa23382654252bfc04d1f8bdb7aa6ec00d0e064790e3ffdcf1c1089bd49010e79729a36690
+DIST spreadsheet-1.1.7.tar.gz 4656117 BLAKE2B 4771d747609da7a552ada5d3c0d5de51e6fafbdd1d3dbc8740e50c7a8d3d6d981316816a0e0ea5f5e817e66ee6966ce501e239409a352bce56d22274816ee8e8 SHA512 f1617e1733bb41e7cdcde626a31248fce43160efbd16736822f2dc4e64db814ee5394c50feaf6986b8af4876488191e40e01d95dc76078666517f5cf14f97fcf
diff --git a/dev-ruby/spreadsheet/spreadsheet-1.1.7.ebuild b/dev-ruby/spreadsheet/spreadsheet-1.1.7.ebuild
new file mode 100644
index 000000000000..91d9ff175eb5
--- /dev/null
+++ b/dev-ruby/spreadsheet/spreadsheet-1.1.7.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="ruby22 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/
+}