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.2.7.ebuild
Date: Wed, 31 Jul 2013 00:12:44
Message-Id: 20130731001235.668812171C@flycatcher.gentoo.org
1 radhermit 13/07/31 00:12:35
2
3 Modified: ChangeLog
4 Added: vagrant-1.2.7.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.25 app-emulation/vagrant/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -u -r1.24 -r1.25
23 --- ChangeLog 27 Jul 2013 22:44:09 -0000 1.24
24 +++ ChangeLog 31 Jul 2013 00:12:35 -0000 1.25
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emulation/vagrant
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.24 2013/07/27 22:44:09 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.25 2013/07/31 00:12:35 radhermit Exp $
30 +
31 +*vagrant-1.2.7 (31 Jul 2013)
32 +
33 + 31 Jul 2013; Tim Harder <radhermit@g.o> +vagrant-1.2.7.ebuild:
34 + Version bump.
35
36 *vagrant-1.2.6 (27 Jul 2013)
37
38
39
40
41 1.1 app-emulation/vagrant/vagrant-1.2.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/vagrant-1.2.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/vagrant-1.2.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: vagrant-1.2.7.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.2.7.ebuild,v 1.1 2013/07/31 00:12:35 radhermit Exp $
51
52 EAPI="5"
53 USE_RUBY="ruby19"
54
55 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
56 RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
57 RUBY_FAKEGEM_EXTRAINSTALL="config keys plugins templates"
58 RUBY_FAKEGEM_TASK_DOC=""
59
60 inherit ruby-fakegem eutils
61
62 DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox"
63 HOMEPAGE="http://vagrantup.com/"
64 SRC_URI="https://github.com/mitchellh/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
65
66 LICENSE="MIT"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86 ~x64-macos"
69 IUSE="test"
70
71 # Missing ebuild for contest
72 RESTRICT="test"
73
74 RDEPEND="${RDEPEND}
75 net-misc/curl
76 !x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
77
78 ruby_add_rdepend "
79 >=dev-ruby/childprocess-0.3.7
80 >=dev-ruby/erubis-2.7.0
81 dev-ruby/i18n:0.6
82 >=dev-ruby/json-1.5.1
83 >=dev-ruby/log4r-1.1.9
84 >=dev-ruby/net-ssh-2.6.6
85 >=dev-ruby/net-scp-1.1.0
86 "
87
88 ruby_add_bdepend "
89 dev-ruby/rake
90 test? ( dev-ruby/mocha virtual/ruby-minitest )
91 "
92
93 all_ruby_prepare() {
94 # remove bundler support
95 sed -i '/[Bb]undler/d' Rakefile || die
96 rm Gemfile || die
97
98 # loosen dependencies
99 sed -e '/childprocess\|erubis\|log4r\|net-scp\|net-ssh/s/~>/>=/' \
100 -i ${PN}.gemspec || die
101
102 epatch "${FILESDIR}"/${PN}-1.2.1-no-warning.patch
103 epatch "${FILESDIR}"/${PN}-1.2.2-rvm.patch
104 }
105
106 pkg_postinst() {
107 if use x64-macos ; then
108 ewarn
109 ewarn "For Mac OS X prefixes, you must install the virtualbox"
110 ewarn "package specifically for OS X which can be found at:"
111 ewarn "https://www.virtualbox.org/wiki/Downloads"
112 ewarn
113 fi
114 }