Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/vagrant: ChangeLog vagrant-1.0.3.ebuild
Date: Wed, 02 May 2012 23:00:04
Message-Id: 20120502225952.52C2920047@flycatcher.gentoo.org
1 radhermit 12/05/02 22:59:52
2
3 Modified: ChangeLog
4 Added: vagrant-1.0.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 app-emulation/vagrant/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 25 Mar 2012 20:30:30 -0000 1.5
24 +++ ChangeLog 2 May 2012 22:59:52 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emulation/vagrant
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.5 2012/03/25 20:30:30 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.6 2012/05/02 22:59:52 radhermit Exp $
30 +
31 +*vagrant-1.0.3 (02 May 2012)
32 +
33 + 02 May 2012; Tim Harder <radhermit@g.o> +vagrant-1.0.3.ebuild:
34 + Version bump.
35
36 *vagrant-1.0.2 (25 Mar 2012)
37
38
39
40
41 1.1 app-emulation/vagrant/vagrant-1.0.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/vagrant-1.0.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/vagrant-1.0.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: vagrant-1.0.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/vagrant-1.0.3.ebuild,v 1.1 2012/05/02 22:59:52 radhermit Exp $
51
52 EAPI="4"
53 USE_RUBY="ruby18 ruby19"
54
55 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
56 RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
57 RUBY_FAKEGEM_EXTRAINSTALL="config keys templates"
58
59 inherit ruby-fakegem
60
61 DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox"
62 HOMEPAGE="http://vagrantup.com/"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86 ~x64-macos"
67 IUSE="test"
68
69 # Missing ebuild for contest
70 RESTRICT="test"
71
72 RDEPEND="${RDEPEND}
73 !x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
74
75 ruby_add_rdepend "
76 ~dev-ruby/archive-tar-minitar-0.5.2
77 >=dev-ruby/childprocess-0.3.1
78 >=dev-ruby/erubis-2.7.0
79 >=dev-ruby/i18n-0.6.0
80 >=dev-ruby/json-1.5.1
81 >=dev-ruby/log4r-1.1.9
82 >=dev-ruby/net-scp-1.0.4
83 >=dev-ruby/net-ssh-2.2.2
84 "
85
86 ruby_add_bdepend "
87 dev-ruby/rake
88 test? ( dev-ruby/mocha virtual/ruby-minitest )
89 "
90
91 all_ruby_prepare() {
92 # remove bundler support
93 sed -i -e '/[Bb]undler/d' Rakefile || die
94 rm Gemfile || die
95
96 # loosen unslotted dependencies
97 sed -i -e '/json\|net-ssh/s/~>/>=/' ${PN}.gemspec || die
98
99 # avoid calling git
100 sed -i -e '/git ls-files/d' ${PN}.gemspec || die
101 }
102
103 pkg_postinst() {
104 if use x64-macos ; then
105 ewarn
106 ewarn "For Mac OS X prefixes, you must install the virtualbox"
107 ewarn "package specifically for OS X which can be found at:"
108 ewarn "https://www.virtualbox.org/wiki/Downloads"
109 ewarn
110 fi
111 }