Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vagrant/
Date: Sun, 30 Dec 2018 20:54:00
Message-Id: 1546203217.39b5c5814accad3ad2739d8f283ce89f7de9f533.gyakovlev@gentoo
1 commit: 39b5c5814accad3ad2739d8f283ce89f7de9f533
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 30 20:53:21 2018 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 30 20:53:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b5c581
7
8 app-emulation/vagrant: drop old
9
10 Package-Manager: Portage-2.3.53, Repoman-2.3.12
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 app-emulation/vagrant/vagrant-2.2.2-r1.ebuild | 90 ---------------------------
14 1 file changed, 90 deletions(-)
15
16 diff --git a/app-emulation/vagrant/vagrant-2.2.2-r1.ebuild b/app-emulation/vagrant/vagrant-2.2.2-r1.ebuild
17 deleted file mode 100644
18 index e8e2b858ed0..00000000000
19 --- a/app-emulation/vagrant/vagrant-2.2.2-r1.ebuild
20 +++ /dev/null
21 @@ -1,90 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -USE_RUBY="ruby23 ruby24 ruby25"
27 -
28 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
29 -RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
30 -RUBY_FAKEGEM_EXTRAINSTALL="keys plugins templates version.txt"
31 -RUBY_FAKEGEM_TASK_DOC=""
32 -
33 -inherit bash-completion-r1 ruby-fakegem
34 -
35 -DESCRIPTION="A tool for building and distributing development environments"
36 -HOMEPAGE="https://vagrantup.com/"
37 -SRC_URI="https://github.com/hashicorp/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
38 -
39 -LICENSE="MIT"
40 -SLOT="0"
41 -KEYWORDS="~amd64"
42 -IUSE="+virtualbox"
43 -RESTRICT="test"
44 -
45 -RDEPEND="${RDEPEND}
46 - app-arch/libarchive
47 - net-misc/curl
48 - virtualbox? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
49 -
50 -ruby_add_rdepend "
51 - >=dev-ruby/bcrypt_pbkdf-1.0.0
52 - >=dev-ruby/childprocess-0.6.0
53 - >=dev-ruby/ed25519-1.2.4
54 - >=dev-ruby/erubis-2.7.0
55 - >=dev-ruby/hashicorp-checkpoint-0.1.5
56 - >=dev-ruby/i18n-1.1.1:* <dev-ruby/i18n-1.2.0:*
57 - >=dev-ruby/listen-3.1.5
58 - >=dev-ruby/log4r-1.1.9 <dev-ruby/log4r-1.1.11
59 - <dev-ruby/mime-types-3:*
60 - >=dev-ruby/net-ssh-5.0.0:*
61 - >=dev-ruby/net-sftp-2.1
62 - >=dev-ruby/net-scp-1.2.0
63 - dev-ruby/rest-client:2
64 - >=dev-ruby/rubyzip-1.2.2
65 - >=dev-ruby/vagrant_cloud-2.0.0
66 -"
67 -
68 -# upstream specifies rake>=12 but it apparently doesn't need something this
69 -# recent. Because vagrant builds fine with rake 10 and because stabilizing rake
70 -# is tricky, we specify a lower dependency requirement here. This way, we'll be
71 -# able to stabilize vagrant sooner.
72 -ruby_add_bdepend "
73 - >=dev-ruby/rake-10.5.0
74 -"
75 -
76 -all_ruby_prepare() {
77 - # remove bundler support
78 - sed -i '/[Bb]undler/d' Rakefile || die
79 - rm Gemfile || die
80 -
81 - # loosen dependencies
82 - sed -e '/hashicorp-checkpoint\|listen\|net-ssh\|net-scp\|rake\|childprocess/s/~>/>=/' \
83 - -e '/ruby_dep/s/<=/>=/' \
84 - -i ${PN}.gemspec || die
85 -
86 - # remove windows-specific gems
87 - sed -e '/wdm\|winrm/d' \
88 - -i ${PN}.gemspec || die
89 -
90 - # remove bsd-specific gems
91 - sed -e '/rb-kqueue/d' \
92 - -i ${PN}.gemspec || die
93 -
94 - sed -e "s/@VAGRANT_VERSION@/${PV}/g" "${FILESDIR}/${PN}.in" > "${PN}" || die
95 -}
96 -
97 -all_ruby_install() {
98 - all_fakegem_install
99 -
100 - newbashcomp contrib/bash/completion.sh ${PN}
101 -
102 - # provide executable similar to upstream:
103 - # https://github.com/hashicorp/vagrant-installers/blob/master/substrate/modules/vagrant_installer/templates/vagrant.erb
104 - dobin "${PN}"
105 -
106 - # directory for plugins.json
107 - keepdir /var/lib/vagrant
108 -
109 - insinto /usr/share/vim/vimfiles/syntax/
110 - doins contrib/vim/vagrantfile.vim
111 -}