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/files/, app-emulation/vagrant/
Date: Sat, 01 Dec 2018 03:25:17
Message-Id: 1543634436.be1b9590db51c709dfd721ca9bfbc49efeee91e3.gyakovlev@gentoo
1 commit: be1b9590db51c709dfd721ca9bfbc49efeee91e3
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 1 03:20:36 2018 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 1 03:20:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be1b9590
7
8 app-emulation/vagrant: drop old
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 app-emulation/vagrant/Manifest | 2 -
14 app-emulation/vagrant/files/vagrant.in | 61 --------------------
15 app-emulation/vagrant/vagrant-2.1.1.ebuild | 79 -------------------------
16 app-emulation/vagrant/vagrant-2.1.2-r1.ebuild | 83 ---------------------------
17 app-emulation/vagrant/vagrant-2.1.2.ebuild | 79 -------------------------
18 5 files changed, 304 deletions(-)
19
20 diff --git a/app-emulation/vagrant/Manifest b/app-emulation/vagrant/Manifest
21 index 03a22b8ca6d..9b2e5b6e9d4 100644
22 --- a/app-emulation/vagrant/Manifest
23 +++ b/app-emulation/vagrant/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST vagrant-2.1.1.tar.gz 1204711 BLAKE2B 88a6254091104eed702e07a4203a264b883869fb028b8d30fd51ddfc2053aec363683a2e73d1454ce92b705440920d5c80c0f967e4dc110bf425ce17973efccd SHA512 6cc82b4c33b196fce2bc460447afd152e53c3c17b45db5d80958ff631f6747c386b625ff26e3d8830a88b2feca82d550ad1de32e7c7607dffb25960af43092f5
26 -DIST vagrant-2.1.2.tar.gz 1218801 BLAKE2B 742f27ca6c28c9738c09ef61c742be07121b5a804fa401115520633e5840c62c8e879fae078c5532704f6f6f7d7a9081d48e3f7570cfe6e6dd84f8df244a34ae SHA512 d9a2612697842885d23d1a9a452ef9d8b03defa4e6f7a808725ac7c3a87300affcfdd89ee3a42334259601e19f1e56bfd86a5aa7b404eac26bc22dcfd4a57751
27 DIST vagrant-2.1.5.tar.gz 1238788 BLAKE2B 8e3dfeb4d830fde1984c08b16422c99b51ce455fcc63e1fad0eca7860efccbf2e77edc13537bfa495345e585b559fe5462ae872decce036b45c1f54c453983ea SHA512 544216eb25c06a1ebddbadcc9d2d6a6dd9932e33d2554e3d51dba0e24a339b9afe0b85d1322bdb67c5de3d070aa4c854f1ccc931b23ea80f0625eb4d1f120238
28 DIST vagrant-2.2.2.tar.gz 1223645 BLAKE2B 595d26a11f27a23a9e66386820dec7c23fbafe079e9e9750e7cbc928cac2e965782abbb062f6b04efd367b56297d040af2b4f4f56d6df06e604f018110e10329 SHA512 70c83fcd896ae3b84fac22c539eb85db9bf08c8f75108d5f2b86841821cf7a885b72565814519b6f2ef3422d84d2f67fc402b983b1a15c1edfd0dc78196cd957
29
30 diff --git a/app-emulation/vagrant/files/vagrant.in b/app-emulation/vagrant/files/vagrant.in
31 deleted file mode 100644
32 index 134cb31f299..00000000000
33 --- a/app-emulation/vagrant/files/vagrant.in
34 +++ /dev/null
35 @@ -1,61 +0,0 @@
36 -#!/usr/bin/env bash
37 -#
38 -# This is a wrapper to properly execute Vagrant within the embedded
39 -# Vagrant installation directory. This sets up proper environmental variables
40 -# so that everything loads and compiles to proper directories.
41 -
42 -for r in ruby24 ruby23 ruby22; do
43 - # not all ruby versions are guaranteed to be installed
44 - if ! command -v "${r}" >/dev/null 2>&1; then
45 - continue
46 - fi
47 -
48 - VAGRANT_DIR="$( "${r}" -e 'print Gem::default_path[-1] + "/gems/vagrant-@VAGRANT_VERSION@"' )"
49 -
50 - # Export the VAGRANT_EXECUTABLE so that pre-rubygems can optimize a bit
51 - export VAGRANT_EXECUTABLE="${VAGRANT_DIR}/bin/vagrant"
52 -
53 - if [ -f ${VAGRANT_EXECUTABLE} ] ;then
54 - ruby="${r}"
55 - break
56 - fi
57 -done
58 -
59 -if [ -z ${ruby} ]; then
60 - echo "Error: failed to find any usable ruby"
61 - exit 1
62 -fi
63 -
64 -# Export GEM_HOME based on VAGRANT_HOME
65 -#
66 -# This needs to be set because Bundler includes gem paths
67 -# from RubyGems' Gem.paths.
68 -if [ -z ${VAGRANT_HOME} ]; then
69 - VAGRANT_HOME="~/.vagrant.d"
70 -fi
71 -export GEM_HOME="${VAGRANT_HOME}/gems"
72 -
73 -# SSL certs
74 -export SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt"
75 -
76 -# Export an environmental variable to say we're in a Vagrant
77 -# installer created environment.
78 -export VAGRANT_INSTALLER_ENV=1
79 -
80 -# This is currently used only in Vagrant::Plugin::Manager.system_plugins_file
81 -# to locate plugins configuration file.
82 -export VAGRANT_INSTALLER_EMBEDDED_DIR="/var/lib/vagrant"
83 -export VAGRANT_INSTALLER_VERSION=2
84 -
85 -# Export the OS as an environmental variable that Vagrant can access
86 -# so that it can behave better.
87 -export VAGRANT_DETECTED_OS="$(uname -s 2>/dev/null)"
88 -
89 -# Allow to install plugins even with deps in different slots (Bug #628648)
90 -export VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1
91 -
92 -# Make it work with rvm (Bugs #474476 #628648)
93 -unset GEM_HOME GEM_PATH
94 -
95 -# Call the actual Vagrant bin with our arguments
96 -exec "${ruby}" "${VAGRANT_EXECUTABLE}" "$@"
97
98 diff --git a/app-emulation/vagrant/vagrant-2.1.1.ebuild b/app-emulation/vagrant/vagrant-2.1.1.ebuild
99 deleted file mode 100644
100 index ee48d642baa..00000000000
101 --- a/app-emulation/vagrant/vagrant-2.1.1.ebuild
102 +++ /dev/null
103 @@ -1,79 +0,0 @@
104 -# Copyright 1999-2018 Gentoo Foundation
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI="6"
108 -USE_RUBY="ruby23 ruby24"
109 -
110 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
111 -RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
112 -RUBY_FAKEGEM_EXTRAINSTALL="keys plugins templates version.txt"
113 -RUBY_FAKEGEM_TASK_DOC=""
114 -
115 -inherit bash-completion-r1 ruby-fakegem
116 -
117 -DESCRIPTION="A tool for building and distributing development environments"
118 -HOMEPAGE="https://vagrantup.com/"
119 -SRC_URI="https://github.com/hashicorp/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
120 -
121 -LICENSE="MIT"
122 -SLOT="0"
123 -KEYWORDS="~amd64"
124 -IUSE="+virtualbox"
125 -RESTRICT="test"
126 -
127 -RDEPEND="${RDEPEND}
128 - app-arch/libarchive
129 - net-misc/curl
130 - virtualbox? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
131 -
132 -ruby_add_rdepend "
133 - >=dev-ruby/childprocess-0.6.0
134 - >=dev-ruby/erubis-2.7.0
135 - <dev-ruby/i18n-0.8.0:*
136 - >=dev-ruby/listen-3.1.5
137 - >=dev-ruby/hashicorp-checkpoint-0.1.5
138 - >=dev-ruby/log4r-1.1.9 <dev-ruby/log4r-1.1.11
139 - >=dev-ruby/net-ssh-4.2.0:*
140 - >=dev-ruby/net-sftp-2.1
141 - >=dev-ruby/net-scp-1.2.0
142 - || ( dev-ruby/rest-client:2 >=dev-ruby/rest-client-1.6.0:0 )
143 - >=dev-ruby/nokogiri-1.7.1
144 - <dev-ruby/mime-types-3:*
145 -"
146 -
147 -ruby_add_bdepend "
148 - >=dev-ruby/rake-12.0.0
149 -"
150 -
151 -all_ruby_prepare() {
152 - # remove bundler support
153 - sed -i '/[Bb]undler/d' Rakefile || die
154 - rm Gemfile || die
155 -
156 - # loosen dependencies
157 - sed -e '/hashicorp-checkpoint\|listen\|net-ssh\|net-scp\|rake\|childprocess/s/~>/>=/' \
158 - -e '/ruby_dep/s/<=/>=/' \
159 - -i ${PN}.gemspec || die
160 -
161 - # remove windows-specific gems
162 - sed -e '/wdm\|win32-\|winrm/d' \
163 - -i ${PN}.gemspec || die
164 -
165 - # remove bsd-specific gems
166 - sed -e '/rb-kqueue/d' \
167 - -i ${PN}.gemspec || die
168 -
169 - sed -e "s/@VAGRANT_VERSION@/${PV}/g" "${FILESDIR}/${PN}.in" > "${PN}" || die
170 -}
171 -
172 -all_ruby_install() {
173 - newbashcomp contrib/bash/completion.sh ${PN}
174 - all_fakegem_install
175 -
176 - # provide executable similar to upstream:
177 - # https://github.com/hashicorp/vagrant-installers/blob/master/substrate/modules/vagrant_installer/templates/vagrant.erb
178 - dobin "${PN}"
179 -
180 - # directory for plugins.json
181 - keepdir /var/lib/vagrant
182 -}
183
184 diff --git a/app-emulation/vagrant/vagrant-2.1.2-r1.ebuild b/app-emulation/vagrant/vagrant-2.1.2-r1.ebuild
185 deleted file mode 100644
186 index 77b5794d567..00000000000
187 --- a/app-emulation/vagrant/vagrant-2.1.2-r1.ebuild
188 +++ /dev/null
189 @@ -1,83 +0,0 @@
190 -# Copyright 1999-2018 Gentoo Foundation
191 -# Distributed under the terms of the GNU General Public License v2
192 -
193 -EAPI="6"
194 -USE_RUBY="ruby23 ruby24 ruby25"
195 -
196 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
197 -RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
198 -RUBY_FAKEGEM_EXTRAINSTALL="keys plugins templates version.txt"
199 -RUBY_FAKEGEM_TASK_DOC=""
200 -
201 -inherit bash-completion-r1 ruby-fakegem
202 -
203 -DESCRIPTION="A tool for building and distributing development environments"
204 -HOMEPAGE="https://vagrantup.com/"
205 -SRC_URI="https://github.com/hashicorp/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
206 -
207 -LICENSE="MIT"
208 -SLOT="0"
209 -KEYWORDS="~amd64"
210 -IUSE="+virtualbox"
211 -RESTRICT="test"
212 -
213 -RDEPEND="${RDEPEND}
214 - app-arch/libarchive
215 - net-misc/curl
216 - virtualbox? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
217 -
218 -ruby_add_rdepend "
219 - >=dev-ruby/childprocess-0.6.0
220 - >=dev-ruby/erubis-2.7.0
221 - <dev-ruby/i18n-0.8.0:*
222 - >=dev-ruby/listen-3.1.5
223 - >=dev-ruby/hashicorp-checkpoint-0.1.5
224 - >=dev-ruby/log4r-1.1.9 <dev-ruby/log4r-1.1.11
225 - >=dev-ruby/net-ssh-4.2.0:*
226 - >=dev-ruby/net-sftp-2.1
227 - >=dev-ruby/net-scp-1.2.0
228 - || ( dev-ruby/rest-client:2 >=dev-ruby/rest-client-1.6.0:0 )
229 - >=dev-ruby/nokogiri-1.7.1
230 - <dev-ruby/mime-types-3:*
231 -"
232 -
233 -# upstream specifies rake>=12 but it apparently doesn't need something this
234 -# recent. Because vagrant builds fine with rake 10 and because stabilizing rake
235 -# is tricky, we specify a lower dependency requirement here. This way, we'll be
236 -# able to stabilize vagrant sooner.
237 -ruby_add_bdepend "
238 - >=dev-ruby/rake-10.0.0
239 -"
240 -
241 -all_ruby_prepare() {
242 - # remove bundler support
243 - sed -i '/[Bb]undler/d' Rakefile || die
244 - rm Gemfile || die
245 -
246 - # loosen dependencies
247 - sed -e '/hashicorp-checkpoint\|listen\|net-ssh\|net-scp\|rake\|childprocess/s/~>/>=/' \
248 - -e '/ruby_dep/s/<=/>=/' \
249 - -i ${PN}.gemspec || die
250 -
251 - # remove windows-specific gems
252 - sed -e '/wdm\|win32-\|winrm/d' \
253 - -i ${PN}.gemspec || die
254 -
255 - # remove bsd-specific gems
256 - sed -e '/rb-kqueue/d' \
257 - -i ${PN}.gemspec || die
258 -
259 - sed -e "s/@VAGRANT_VERSION@/${PV}/g" "${FILESDIR}/${PN}-r1.in" > "${PN}" || die
260 -}
261 -
262 -all_ruby_install() {
263 - newbashcomp contrib/bash/completion.sh ${PN}
264 - all_fakegem_install
265 -
266 - # provide executable similar to upstream:
267 - # https://github.com/hashicorp/vagrant-installers/blob/master/substrate/modules/vagrant_installer/templates/vagrant.erb
268 - dobin "${PN}"
269 -
270 - # directory for plugins.json
271 - keepdir /var/lib/vagrant
272 -}
273
274 diff --git a/app-emulation/vagrant/vagrant-2.1.2.ebuild b/app-emulation/vagrant/vagrant-2.1.2.ebuild
275 deleted file mode 100644
276 index ee48d642baa..00000000000
277 --- a/app-emulation/vagrant/vagrant-2.1.2.ebuild
278 +++ /dev/null
279 @@ -1,79 +0,0 @@
280 -# Copyright 1999-2018 Gentoo Foundation
281 -# Distributed under the terms of the GNU General Public License v2
282 -
283 -EAPI="6"
284 -USE_RUBY="ruby23 ruby24"
285 -
286 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
287 -RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
288 -RUBY_FAKEGEM_EXTRAINSTALL="keys plugins templates version.txt"
289 -RUBY_FAKEGEM_TASK_DOC=""
290 -
291 -inherit bash-completion-r1 ruby-fakegem
292 -
293 -DESCRIPTION="A tool for building and distributing development environments"
294 -HOMEPAGE="https://vagrantup.com/"
295 -SRC_URI="https://github.com/hashicorp/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
296 -
297 -LICENSE="MIT"
298 -SLOT="0"
299 -KEYWORDS="~amd64"
300 -IUSE="+virtualbox"
301 -RESTRICT="test"
302 -
303 -RDEPEND="${RDEPEND}
304 - app-arch/libarchive
305 - net-misc/curl
306 - virtualbox? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
307 -
308 -ruby_add_rdepend "
309 - >=dev-ruby/childprocess-0.6.0
310 - >=dev-ruby/erubis-2.7.0
311 - <dev-ruby/i18n-0.8.0:*
312 - >=dev-ruby/listen-3.1.5
313 - >=dev-ruby/hashicorp-checkpoint-0.1.5
314 - >=dev-ruby/log4r-1.1.9 <dev-ruby/log4r-1.1.11
315 - >=dev-ruby/net-ssh-4.2.0:*
316 - >=dev-ruby/net-sftp-2.1
317 - >=dev-ruby/net-scp-1.2.0
318 - || ( dev-ruby/rest-client:2 >=dev-ruby/rest-client-1.6.0:0 )
319 - >=dev-ruby/nokogiri-1.7.1
320 - <dev-ruby/mime-types-3:*
321 -"
322 -
323 -ruby_add_bdepend "
324 - >=dev-ruby/rake-12.0.0
325 -"
326 -
327 -all_ruby_prepare() {
328 - # remove bundler support
329 - sed -i '/[Bb]undler/d' Rakefile || die
330 - rm Gemfile || die
331 -
332 - # loosen dependencies
333 - sed -e '/hashicorp-checkpoint\|listen\|net-ssh\|net-scp\|rake\|childprocess/s/~>/>=/' \
334 - -e '/ruby_dep/s/<=/>=/' \
335 - -i ${PN}.gemspec || die
336 -
337 - # remove windows-specific gems
338 - sed -e '/wdm\|win32-\|winrm/d' \
339 - -i ${PN}.gemspec || die
340 -
341 - # remove bsd-specific gems
342 - sed -e '/rb-kqueue/d' \
343 - -i ${PN}.gemspec || die
344 -
345 - sed -e "s/@VAGRANT_VERSION@/${PV}/g" "${FILESDIR}/${PN}.in" > "${PN}" || die
346 -}
347 -
348 -all_ruby_install() {
349 - newbashcomp contrib/bash/completion.sh ${PN}
350 - all_fakegem_install
351 -
352 - # provide executable similar to upstream:
353 - # https://github.com/hashicorp/vagrant-installers/blob/master/substrate/modules/vagrant_installer/templates/vagrant.erb
354 - dobin "${PN}"
355 -
356 - # directory for plugins.json
357 - keepdir /var/lib/vagrant
358 -}