summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-07-30 10:52:10 +0200
committerHans de Graaff <graaff@gentoo.org>2017-07-30 11:18:32 +0200
commit22b00e26ea9431916e3e476df01ffed45d42e47c (patch)
tree6ecb286f680293870ffd36ac2c37d7f879db29cb /dev-ruby/forwardable-extended
parentsys-power/powertop: use HTTPS for GitHub (diff)
downloadgentoo-22b00e26ea9431916e3e476df01ffed45d42e47c.tar.gz
gentoo-22b00e26ea9431916e3e476df01ffed45d42e47c.tar.bz2
gentoo-22b00e26ea9431916e3e476df01ffed45d42e47c.zip
dev-ruby/forwardable-extended: add tests and doc support, add ruby24
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/forwardable-extended')
-rw-r--r--dev-ruby/forwardable-extended/Manifest1
-rw-r--r--dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/forwardable-extended/Manifest b/dev-ruby/forwardable-extended/Manifest
index 168036527802..82b63ef9fe66 100644
--- a/dev-ruby/forwardable-extended/Manifest
+++ b/dev-ruby/forwardable-extended/Manifest
@@ -1 +1,2 @@
DIST forwardable-extended-2.6.0.gem 6656 SHA256 1bec948c469bbddfadeb3bd90eb8c85f6e627a412a3e852acfd7eaedbac3ec97 SHA512 e78eed0d6e06c0db4c692718425aa92bb0d87060fb3cc3207c24d9105437caa2d3c421867077567e87cd462e8d6c2f255b82e14e2249b224e5eca2c2240355b7 WHIRLPOOL 034d37d21ea0f961bf4cf317365be0e2799a75660f7bed4d06e4ba9d7b1e335ee3361b2f32ec83992cc471a00913c14b8b5a31ba7dad18cbce1a34b7050bd86c
+DIST forwardable-extended-2.6.0.tar.gz 6602 SHA256 d19fc7802c7e2261530e50da15b612e3bdd4f77b50c310ab2733b0affe5e2a22 SHA512 23a682e06ee823b076d6b9925a1ef4ada4f1fc7fa63b02d1b9122485204b62f55c191866170b63b34891934c762ac903df46bf5a2b17055d7504ee7a70627a8b WHIRLPOOL 2739adf7b600dae4fe93a3909040404368416349dbd8614d01b2be2f060d9ea6c6709f71e550c99e1f808ab621aef3fff7f22b0635383bdcd7bcfa89cdcc16f5
diff --git a/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r1.ebuild b/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r1.ebuild
new file mode 100644
index 000000000000..9344b479a9d8
--- /dev/null
+++ b/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="Gem.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Forwardable with hash, and instance variable extensions"
+HOMEPAGE="https://rubygems.org/gems/forwardable-extended https://github.com/envygeeks/forwardable-extended"
+SRC_URI="https://github.com/envygeeks/forwardable-extended/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/\(coverage\|luna\|rspec\/helpers\)/ s:^:#:' spec/rspec/helper.rb || die
+ rm -f spec/support/coverage.rb || die
+}