diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-09-15 20:51:22 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-09-15 20:51:22 +0000 |
commit | 0f5becb5fa9915aca8cd19ab7ef3ea2bbeffd4ab (patch) | |
tree | 6c26c4d202004b49bc212a3113f4432125a15575 /app-emulation/vagrant | |
parent | Fix virtualmake invocation in src_test(), thanks to Arfrever for all the help. (diff) | |
download | gentoo-2-0f5becb5fa9915aca8cd19ab7ef3ea2bbeffd4ab.tar.gz gentoo-2-0f5becb5fa9915aca8cd19ab7ef3ea2bbeffd4ab.tar.bz2 gentoo-2-0f5becb5fa9915aca8cd19ab7ef3ea2bbeffd4ab.zip |
Version bump.
(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/vagrant')
-rw-r--r-- | app-emulation/vagrant/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/vagrant/vagrant-1.0.4.ebuild | 67 |
2 files changed, 73 insertions, 1 deletions
diff --git a/app-emulation/vagrant/ChangeLog b/app-emulation/vagrant/ChangeLog index b449cf4f2f54..58463d112f36 100644 --- a/app-emulation/vagrant/ChangeLog +++ b/app-emulation/vagrant/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/vagrant # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.9 2012/06/02 21:02:55 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.10 2012/09/15 20:51:22 radhermit Exp $ + +*vagrant-1.0.4 (15 Sep 2012) + + 15 Sep 2012; Tim Harder <radhermit@gentoo.org> +vagrant-1.0.4.ebuild: + Version bump. 02 Jun 2012; Tim Harder <radhermit@gentoo.org> vagrant-1.0.3.ebuild: Don't try to generate docs (fixes bug #417577). diff --git a/app-emulation/vagrant/vagrant-1.0.4.ebuild b/app-emulation/vagrant/vagrant-1.0.4.ebuild new file mode 100644 index 000000000000..bfb44a7615f3 --- /dev/null +++ b/app-emulation/vagrant/vagrant-1.0.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/vagrant-1.0.4.ebuild,v 1.1 2012/09/15 20:51:22 radhermit Exp $ + +EAPI="4" +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec" +RUBY_FAKEGEM_EXTRAINSTALL="config keys templates" +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox" +HOMEPAGE="http://vagrantup.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos" +IUSE="test" + +# Missing ebuild for contest +RESTRICT="test" + +RDEPEND="${RDEPEND} + !x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )" + +ruby_add_rdepend " + >=dev-ruby/archive-tar-minitar-0.5.2 + >=dev-ruby/childprocess-0.3.1 + >=dev-ruby/erubis-2.7.0 + dev-ruby/i18n:0.6 + >=dev-ruby/json-1.5.1 + >=dev-ruby/log4r-1.1.9 + >=dev-ruby/net-scp-1.0.4 + >=dev-ruby/net-ssh-2.2.2 +" + +ruby_add_bdepend " + dev-ruby/rake + test? ( dev-ruby/mocha virtual/ruby-minitest ) +" + +all_ruby_prepare() { + # remove bundler support + sed -i '/[Bb]undler/d' Rakefile || die + rm Gemfile || die + + # loosen unslotted dependencies + sed -i -e '/childprocess\|erubis\|json\|log4r\|net-scp\|net-ssh/s/~>/>=/' \ + -e '/archive-tar-minitar/s/=/>=/' \ + ${PN}.gemspec || die + + # avoid calling git + sed -i '/git ls-files/d' ${PN}.gemspec || die +} + +pkg_postinst() { + if use x64-macos ; then + ewarn + ewarn "For Mac OS X prefixes, you must install the virtualbox" + ewarn "package specifically for OS X which can be found at:" + ewarn "https://www.virtualbox.org/wiki/Downloads" + ewarn + fi +} |