summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-06-16 05:59:23 +0000
committerHans de Graaff <graaff@gentoo.org>2012-06-16 05:59:23 +0000
commit65ccfb684b2dfa15b14fd8a497ccc45d5f999a23 (patch)
tree349749aa8f9f3156c25c6eb5c69081cf438ad83e /dev-ruby
parentAvoid allison template, bug 334937. (diff)
downloadgentoo-2-65ccfb684b2dfa15b14fd8a497ccc45d5f999a23.tar.gz
gentoo-2-65ccfb684b2dfa15b14fd8a497ccc45d5f999a23.tar.bz2
gentoo-2-65ccfb684b2dfa15b14fd8a497ccc45d5f999a23.zip
Don't run memcache tests, bug 332919. Add ree18.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/moneta/ChangeLog7
-rw-r--r--dev-ruby/moneta/moneta-0.6.0-r1.ebuild16
2 files changed, 16 insertions, 7 deletions
diff --git a/dev-ruby/moneta/ChangeLog b/dev-ruby/moneta/ChangeLog
index 0afb5e2972af..8e7455a054c2 100644
--- a/dev-ruby/moneta/ChangeLog
+++ b/dev-ruby/moneta/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/moneta
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/moneta/ChangeLog,v 1.4 2010/10/09 08:42:23 graaff Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/moneta/ChangeLog,v 1.5 2012/06/16 05:59:23 graaff Exp $
+
+ 16 Jun 2012; Hans de Graaff <graaff@gentoo.org> moneta-0.6.0-r1.ebuild:
+ Don't run memcache tests, bug 332919. Add ree18.
09 Oct 2010; Hans de Graaff <graaff@gentoo.org> moneta-0.6.0-r1.ebuild:
Depend on rspec-1.
diff --git a/dev-ruby/moneta/moneta-0.6.0-r1.ebuild b/dev-ruby/moneta/moneta-0.6.0-r1.ebuild
index 6afaf3e85cfa..78daf6d6a853 100644
--- a/dev-ruby/moneta/moneta-0.6.0-r1.ebuild
+++ b/dev-ruby/moneta/moneta-0.6.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/moneta/moneta-0.6.0-r1.ebuild,v 1.2 2010/10/09 08:42:23 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/moneta/moneta-0.6.0-r1.ebuild,v 1.3 2012/06/16 05:59:23 graaff Exp $
-EAPI="2"
-USE_RUBY="ruby18"
+EAPI="4"
+USE_RUBY="ruby18 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST="spec"
@@ -23,8 +23,14 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-S="${WORKDIR}/${GITHUB_USER}-${PN}-*"
+RUBY_S="${GITHUB_USER}-${PN}-*"
RUBY_PATCHES=( "${P}-optional-memcache.patch" )
ruby_add_bdepend "test? ( dev-ruby/rspec:0 )"
+
+all_ruby_prepare() {
+ # Remove non-optional memcache spec because we cannot guarantee that
+ # a memcache will be running to test against, bug 332919
+ rm spec/moneta_memcache_spec.rb || die
+}