summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-04-18 07:03:50 +0000
committerTim Harder <radhermit@gentoo.org>2013-04-18 07:03:50 +0000
commit4fbdd9ba9cf0ed49172ec5810c790df137c46f0c (patch)
treed16d0c43b28b1061d2d703decd7718b43eccb5f2 /app-emulation
parentVersion bump (diff)
downloadgentoo-2-4fbdd9ba9cf0ed49172ec5810c790df137c46f0c.tar.gz
gentoo-2-4fbdd9ba9cf0ed49172ec5810c790df137c46f0c.tar.bz2
gentoo-2-4fbdd9ba9cf0ed49172ec5810c790df137c46f0c.zip
Version bump.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/vagrant/ChangeLog7
-rw-r--r--app-emulation/vagrant/vagrant-1.2.1.ebuild71
2 files changed, 77 insertions, 1 deletions
diff --git a/app-emulation/vagrant/ChangeLog b/app-emulation/vagrant/ChangeLog
index 0a8dbfbe9c78..f04ad547d7dd 100644
--- a/app-emulation/vagrant/ChangeLog
+++ b/app-emulation/vagrant/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/vagrant
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.15 2013/04/16 09:09:59 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.16 2013/04/18 07:03:50 radhermit Exp $
+
+*vagrant-1.2.1 (18 Apr 2013)
+
+ 18 Apr 2013; Tim Harder <radhermit@gentoo.org> +vagrant-1.2.1.ebuild:
+ Version bump.
*vagrant-1.1.5 (16 Apr 2013)
diff --git a/app-emulation/vagrant/vagrant-1.2.1.ebuild b/app-emulation/vagrant/vagrant-1.2.1.ebuild
new file mode 100644
index 000000000000..bb3673704ec6
--- /dev/null
+++ b/app-emulation/vagrant/vagrant-1.2.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/vagrant-1.2.1.ebuild,v 1.1 2013/04/18 07:03:50 radhermit Exp $
+
+EAPI="5"
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
+RUBY_FAKEGEM_EXTRAINSTALL="config keys plugins templates"
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox"
+HOMEPAGE="http://vagrantup.com/"
+SRC_URI="https://github.com/mitchellh/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
+IUSE="test"
+
+# Missing ebuild for contest
+RESTRICT="test"
+
+RDEPEND="${RDEPEND}
+ net-misc/curl
+ !x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
+
+ruby_add_rdepend "
+ >=dev-ruby/childprocess-0.3.7
+ >=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-ssh-2.6.6
+ >=dev-ruby/net-scp-1.1.0
+"
+
+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 -e '/childprocess\|erubis\|log4r\|net-scp\|net-ssh/s/~>/>=/' \
+ -i ${PN}.gemspec || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ # suppress official installer warning
+ sed -i '/^require/a ENV["VAGRANT_INSTALLER_ENV"] = "1"' "${D}"/usr/bin/vagrant || 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
+}