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-r1.ebuild
Date: Wed, 22 Jan 2014 07:19:55
Message-Id: 20140122071951.5A0C92004C@flycatcher.gentoo.org
1 radhermit 14/01/22 07:19:51
2
3 Modified: ChangeLog
4 Added: vagrant-1.4.3-r1.ebuild
5 Log:
6 Add libarchive dep (bug #497376 by Peter Wilmott).
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.34 app-emulation/vagrant/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?rev=1.34&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?rev=1.34&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/ChangeLog?r1=1.33&r2=1.34
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v
20 retrieving revision 1.33
21 retrieving revision 1.34
22 diff -u -r1.33 -r1.34
23 --- ChangeLog 4 Jan 2014 06:24:38 -0000 1.33
24 +++ ChangeLog 22 Jan 2014 07:19:51 -0000 1.34
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.33 2014/01/04 06:24:38 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/ChangeLog,v 1.34 2014/01/22 07:19:51 radhermit Exp $
30 +
31 +*vagrant-1.4.3-r1 (22 Jan 2014)
32 +
33 + 22 Jan 2014; Tim Harder <radhermit@g.o> +vagrant-1.4.3-r1.ebuild:
34 + Add libarchive dep (bug #497376 by Peter Wilmott).
35
36 04 Jan 2014; Tim Harder <radhermit@g.o> -vagrant-1.2.4.ebuild,
37 -vagrant-1.2.6.ebuild, -vagrant-1.2.7.ebuild, -vagrant-1.3.1.ebuild,
38
39
40
41 1.1 app-emulation/vagrant/vagrant-1.4.3-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/vagrant-1.4.3-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/vagrant/vagrant-1.4.3-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: vagrant-1.4.3-r1.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-r1.ebuild,v 1.1 2014/01/22 07:19:51 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 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\|net-ssh/s/~>/>=/' \
101 -i ${PN}.gemspec || die
102
103 epatch "${FILESDIR}"/${PN}-1.2.1-no-warning.patch
104 epatch "${FILESDIR}"/${PN}-1.2.2-rvm.patch
105 }
106
107 pkg_postinst() {
108 if use x64-macos ; then
109 ewarn
110 ewarn "For Mac OS X prefixes, you must install the virtualbox"
111 ewarn "package specifically for OS X which can be found at:"
112 ewarn "https://www.virtualbox.org/wiki/Downloads"
113 ewarn
114 fi
115 }