summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-03-29 01:00:33 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-03-29 01:00:33 +0000
commite947a8c716b2988118460eb7eb363bebd450fa42 (patch)
tree862c19a3f3aead4bc6ef0d7dfccec21acf588f60 /dev-ruby/memoizable
parentRemove old. (diff)
downloadgentoo-2-e947a8c716b2988118460eb7eb363bebd450fa42.tar.gz
gentoo-2-e947a8c716b2988118460eb7eb363bebd450fa42.tar.bz2
gentoo-2-e947a8c716b2988118460eb7eb363bebd450fa42.zip
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/memoizable')
-rw-r--r--dev-ruby/memoizable/ChangeLog7
-rw-r--r--dev-ruby/memoizable/memoizable-0.4.2.ebuild30
2 files changed, 36 insertions, 1 deletions
diff --git a/dev-ruby/memoizable/ChangeLog b/dev-ruby/memoizable/ChangeLog
index 4ee8c73190c5..741007af8820 100644
--- a/dev-ruby/memoizable/ChangeLog
+++ b/dev-ruby/memoizable/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/memoizable
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/memoizable/ChangeLog,v 1.8 2014/03/26 10:16:33 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/memoizable/ChangeLog,v 1.9 2014/03/29 01:00:33 mrueg Exp $
+
+*memoizable-0.4.2 (29 Mar 2014)
+
+ 29 Mar 2014; Manuel Rüger <mrueg@gentoo.org> +memoizable-0.4.2.ebuild:
+ Version bump.
26 Mar 2014; Hans de Graaff <graaff@gentoo.org> memoizable-0.4.1-r1.ebuild:
Also require a new enough version of thread_safe.
diff --git a/dev-ruby/memoizable/memoizable-0.4.2.ebuild b/dev-ruby/memoizable/memoizable-0.4.2.ebuild
new file mode 100644
index 000000000000..ded4370cc283
--- /dev/null
+++ b/dev-ruby/memoizable/memoizable-0.4.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/memoizable/memoizable-0.4.2.ebuild,v 1.1 2014/03/29 01:00:33 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Memoize method return values"
+HOMEPAGE="https://github.com/dkubb/memoizable"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/thread_safe-0.2.0:0"
+
+all_ruby_prepare() {
+ sed -i -e "/simplecov/,/^end$/d" spec/spec_helper.rb || die
+
+ # Fix thread_safe dependency since 0.x versions are compatible.
+ sed -i -e 's/0.2.0/0.2/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}