diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2012-08-11 08:20:59 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2012-08-11 08:20:59 +0000 |
commit | 0de202b1b180926b962c19e777240e3262b2485f (patch) | |
tree | ca0e54677523a128cca18553c519f3ed3a48c1f0 | |
parent | readd missing RUBY_FAKEGEM_TASK_DOC (diff) | |
download | gentoo-2-0de202b1b180926b962c19e777240e3262b2485f.tar.gz gentoo-2-0de202b1b180926b962c19e777240e3262b2485f.tar.bz2 gentoo-2-0de202b1b180926b962c19e777240e3262b2485f.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-cli/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/mixlib-cli/mixlib-cli-1.2.0.ebuild | 19 | ||||
-rw-r--r-- | dev-ruby/mixlib-cli/mixlib-cli-1.2.2.ebuild | 16 |
3 files changed, 12 insertions, 29 deletions
diff --git a/dev-ruby/mixlib-cli/ChangeLog b/dev-ruby/mixlib-cli/ChangeLog index 0aa6d5dce34a..0c2764d001cc 100644 --- a/dev-ruby/mixlib-cli/ChangeLog +++ b/dev-ruby/mixlib-cli/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/mixlib-cli # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-cli/ChangeLog,v 1.3 2012/03/08 00:34:28 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-cli/ChangeLog,v 1.4 2012/08/11 08:20:59 hollow Exp $ + + 11 Aug 2012; Benedikt Böhm <hollow@gentoo.org> -mixlib-cli-1.2.0.ebuild, + mixlib-cli-1.2.2.ebuild: + add ruby19 support; migrate to EAPI4 and rspec2 08 Mar 2012; Naohiro Aota <naota@gentoo.org> mixlib-cli-1.2.2.ebuild: Add ~x86-fbsd. diff --git a/dev-ruby/mixlib-cli/mixlib-cli-1.2.0.ebuild b/dev-ruby/mixlib-cli/mixlib-cli-1.2.0.ebuild deleted file mode 100644 index ab5dee28554f..000000000000 --- a/dev-ruby/mixlib-cli/mixlib-cli-1.2.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-cli/mixlib-cli-1.2.0.ebuild,v 1.1 2010/07/03 11:58:53 hollow Exp $ - -EAPI="2" -USE_RUBY="ruby18" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_TASK_TEST="" - -inherit ruby-fakegem - -DESCRIPTION="Mixin for creating command line applications" -HOMEPAGE="http://github.com/opscode/mixlib-cli" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" diff --git a/dev-ruby/mixlib-cli/mixlib-cli-1.2.2.ebuild b/dev-ruby/mixlib-cli/mixlib-cli-1.2.2.ebuild index 7a9c1b5ec2c9..a888fe722411 100644 --- a/dev-ruby/mixlib-cli/mixlib-cli-1.2.2.ebuild +++ b/dev-ruby/mixlib-cli/mixlib-cli-1.2.2.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-cli/mixlib-cli-1.2.2.ebuild,v 1.2 2012/03/08 00:34:28 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-cli/mixlib-cli-1.2.2.ebuild,v 1.3 2012/08/11 08:20:59 hollow Exp $ -EAPI="2" -USE_RUBY="ruby18 ree18 jruby" +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18 jruby" RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_TASK_TEST="none" +RUBY_FAKEGEM_TASK_TEST="spec" RUBY_FAKEGEM_EXTRADOC="README.rdoc" @@ -14,14 +14,12 @@ inherit ruby-fakegem DESCRIPTION="Mixin for creating command line applications" HOMEPAGE="http://github.com/opscode/mixlib-cli" +SRC_URI="https://github.com/opscode/${PN}/tarball/3318b8d -> ${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:0 )" - -each_ruby_test() { - ${RUBY} -S spec spec || die "Tests failed." -} +ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" |