summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2012-08-11 08:34:29 +0000
committerBenedikt Boehm <hollow@gentoo.org>2012-08-11 08:34:29 +0000
commitd7beab87c9bf1b490a23fb67544753899a0a6ba0 (patch)
treec8880662b8c69777034fe3e125898b5bbcd95b36
parentcleanup (diff)
downloadgentoo-2-d7beab87c9bf1b490a23fb67544753899a0a6ba0.tar.gz
gentoo-2-d7beab87c9bf1b490a23fb67544753899a0a6ba0.tar.bz2
gentoo-2-d7beab87c9bf1b490a23fb67544753899a0a6ba0.zip
add ruby19 support; migrate to EAPI4 and rspec2
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
-rw-r--r--dev-ruby/mixlib-config/ChangeLog5
-rw-r--r--dev-ruby/mixlib-config/mixlib-config-1.1.2.ebuild22
2 files changed, 22 insertions, 5 deletions
diff --git a/dev-ruby/mixlib-config/ChangeLog b/dev-ruby/mixlib-config/ChangeLog
index 5725369816f4..b1e93aaaa65b 100644
--- a/dev-ruby/mixlib-config/ChangeLog
+++ b/dev-ruby/mixlib-config/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/mixlib-config
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-config/ChangeLog,v 1.2 2012/03/08 00:35:32 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-config/ChangeLog,v 1.3 2012/08/11 08:34:29 hollow Exp $
+
+ 11 Aug 2012; Benedikt Böhm <hollow@gentoo.org> mixlib-config-1.1.2.ebuild:
+ add ruby19 support; migrate to EAPI4 and rspec2
08 Mar 2012; Naohiro Aota <naota@gentoo.org> mixlib-config-1.1.2.ebuild:
Add ~x86-fbsd.
diff --git a/dev-ruby/mixlib-config/mixlib-config-1.1.2.ebuild b/dev-ruby/mixlib-config/mixlib-config-1.1.2.ebuild
index b522c3cf2c4c..e64319b513ce 100644
--- a/dev-ruby/mixlib-config/mixlib-config-1.1.2.ebuild
+++ b/dev-ruby/mixlib-config/mixlib-config-1.1.2.ebuild
@@ -1,19 +1,33 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-config/mixlib-config-1.1.2.ebuild,v 1.2 2012/03/08 00:35:32 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-config/mixlib-config-1.1.2.ebuild,v 1.3 2012/08/11 08:34:29 hollow Exp $
-EAPI="2"
-USE_RUBY="ruby18"
+EAPI=4
+USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_EXTRADOC="NOTICE README.rdoc"
inherit ruby-fakegem
DESCRIPTION="Simple class based Config mechanism"
HOMEPAGE="http://github.com/opscode/mixlib-config"
+SRC_URI="https://github.com/opscode/${PN}/tarball/${PV} -> ${P}.tgz"
+RUBY_S="opscode-${PN}-*"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE=""
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:2
+ dev-util/cucumber
+)"
+
+each_ruby_test() {
+ ${RUBY} -S rspec spec || die
+ ${RUBY} -S cucumber features || die
+}