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.4.3-r2.ebuild
Date: Thu, 06 Feb 2014 06:09:05
Message-Id: 20140206060901.BF1292004C@flycatcher.gentoo.org
1 radhermit 14/02/06 06:09:01
2
3 Modified: ChangeLog
4 Added: vagrant-1.4.3-r2.ebuild
5 Log:
6 Loosen net-ssh dep (bug #500466) and move to ruby20.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.36 app-emulation/vagrant/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 22 Jan 2014 07:20:28 -0000 1.35
24 +++ ChangeLog 6 Feb 2014 06:09:01 -0000 1.36
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emulation/vagrant
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.35 2014/01/22 07:20:28 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.36 2014/02/06 06:09:01 radhermit Exp $
30 +
31 +*vagrant-1.4.3-r2 (06 Feb 2014)
32 +
33 + 06 Feb 2014; Tim Harder <radhermit@g.o> +vagrant-1.4.3-r2.ebuild:
34 + Loosen net-ssh dep (bug #500466) and move to ruby20.
35
36 22 Jan 2014; Tim Harder <radhermit@g.o> -vagrant-1.4.1.ebuild,
37 -vagrant-1.4.3.ebuild:
38
39
40
41 1.1 app-emulation/vagrant/vagrant-1.4.3-r2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/vagrant-1.4.3-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/vagrant-1.4.3-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: vagrant-1.4.3-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.4.3-r2.ebuild,v 1.1 2014/02/06 06:09:01 radhermit Exp $
51
52 EAPI="5"
53 USE_RUBY="ruby20"
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 ~x64-macos"
69 IUSE="test"
70
71 # Missing ebuild for contest
72 RESTRICT="test"
73
74 RDEPEND="${RDEPEND}
75 app-arch/libarchive
76 net-misc/curl
77 !x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
78
79 ruby_add_rdepend "
80 >=dev-ruby/childprocess-0.3.7
81 >=dev-ruby/erubis-2.7.0
82 dev-ruby/i18n:0.6
83 >=dev-ruby/json-1.5.1
84 >=dev-ruby/log4r-1.1.9
85 >=dev-ruby/net-ssh-2.6.6
86 >=dev-ruby/net-scp-1.1.0
87 "
88
89 ruby_add_bdepend "
90 dev-ruby/rake
91 test? ( dev-ruby/mocha virtual/ruby-minitest )
92 "
93
94 all_ruby_prepare() {
95 # remove bundler support
96 sed -i '/[Bb]undler/d' Rakefile || die
97 rm Gemfile || die
98
99 # loosen dependencies
100 sed -e '/childprocess\|erubis\|log4r\|net-scp/s/~>/>=/' \
101 -e '/net-ssh/s:, "< 2.8.0"::' \
102 -i ${PN}.gemspec || die
103
104 epatch "${FILESDIR}"/${PN}-1.2.1-no-warning.patch
105 epatch "${FILESDIR}"/${PN}-1.2.2-rvm.patch
106 }
107
108 pkg_postinst() {
109 if use x64-macos ; then
110 ewarn
111 ewarn "For Mac OS X prefixes, you must install the virtualbox"
112 ewarn "package specifically for OS X which can be found at:"
113 ewarn "https://www.virtualbox.org/wiki/Downloads"
114 ewarn
115 fi
116 }