diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-03-21 07:08:08 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-03-21 07:08:08 +0000 |
commit | 801b8052e0fdabf7284b443ed718c0ad4593367c (patch) | |
tree | 556a1ddb4c11e1fdf7eafa635841fe3c7b1208f6 /app-emulation | |
parent | Use gentoo mirrors. (diff) | |
download | gentoo-2-801b8052e0fdabf7284b443ed718c0ad4593367c.tar.gz gentoo-2-801b8052e0fdabf7284b443ed718c0ad4593367c.tar.bz2 gentoo-2-801b8052e0fdabf7284b443ed718c0ad4593367c.zip |
Initial import (bug #391367). Ebuild by me.
(Portage version: 2.2.0_alpha93/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/vagrant/ChangeLog | 10 | ||||
-rw-r--r-- | app-emulation/vagrant/Manifest | 4 | ||||
-rw-r--r-- | app-emulation/vagrant/metadata.xml | 8 | ||||
-rw-r--r-- | app-emulation/vagrant/vagrant-1.0.0.ebuild | 54 |
4 files changed, 76 insertions, 0 deletions
diff --git a/app-emulation/vagrant/ChangeLog b/app-emulation/vagrant/ChangeLog new file mode 100644 index 000000000000..2c6193ab6d33 --- /dev/null +++ b/app-emulation/vagrant/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2012/03/21 07:08:08 radhermit Exp $ + +*vagrant-1.0.0 (21 Mar 2012) + + 21 Mar 2012; Tim Harder <radhermit@gentoo.org> +vagrant-1.0.0.ebuild, + +metadata.xml: + Initial import (bug #391367). Ebuild by me. + diff --git a/app-emulation/vagrant/Manifest b/app-emulation/vagrant/Manifest new file mode 100644 index 000000000000..9a04140b5b53 --- /dev/null +++ b/app-emulation/vagrant/Manifest @@ -0,0 +1,4 @@ +DIST vagrant-1.0.0.gem 1000960 RMD160 aadb5910a86bb5750ba5b877e58733bf09e5cc66 SHA1 696f9a5d5b706e3761c2d3a5677dd7170c070712 SHA256 ffee3f8b4b02dbf1ec7965342c17d555927e92658dd42eae82e527ab34f196aa +EBUILD vagrant-1.0.0.ebuild 1252 RMD160 0d42f69899f4d3152064af12ecf1b27de901d56b SHA1 2f23fbe674133b55d379c83328f705088bba00dc SHA256 b9f7d3563e056c418df06583ec91a3f6f462128769f30dbcd45563a28c845046 +MISC ChangeLog 288 RMD160 9ba3a111802ed7802852a39afb8b3ed7e41ff2a1 SHA1 56113be0ceb768544e6f528e12b550f1f97122d8 SHA256 47e729b51386c7da2c44099bcce77aaee0d18f475b40d1299c0a7efad1d962cc +MISC metadata.xml 232 RMD160 9725fc18735b1d8d4079f25759ee0823a0c6795d SHA1 ec75efe30e67f74a4f315324afc75ed2a8d30bb4 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a diff --git a/app-emulation/vagrant/metadata.xml b/app-emulation/vagrant/metadata.xml new file mode 100644 index 000000000000..157326a7e891 --- /dev/null +++ b/app-emulation/vagrant/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> diff --git a/app-emulation/vagrant/vagrant-1.0.0.ebuild b/app-emulation/vagrant/vagrant-1.0.0.ebuild new file mode 100644 index 000000000000..2f32f7329936 --- /dev/null +++ b/app-emulation/vagrant/vagrant-1.0.0.ebuild @@ -0,0 +1,54 @@ +# 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.0.ebuild,v 1.1 2012/03/21 07:08:08 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" + +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" +IUSE="test" + +# Missing ebuild for contest +RESTRICT="test" + +RDEPEND="${RDEPEND} + || ( 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.0 + >=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 -e '/[Bb]undler/d' Rakefile || die + rm Gemfile || die + + # Loosen unslotted dependencies + sed -i -e '/json\|net-ssh/s/~>/>=/' ${PN}.gemspec || die + + # Remove a runtime dependency that we can't satisfy + sed -i -e '/git ls-files/d' ${PN}.gemspec || die +} |