Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/vagrant_cloud/
Date: Tue, 28 Sep 2021 19:47:28
Message-Id: 1632858390.002bdb44d2735a78ea24d32410076a54c63de4e6.sam@gentoo
1 commit: 002bdb44d2735a78ea24d32410076a54c63de4e6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 28 19:44:17 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 28 19:46:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002bdb44
7
8 dev-ruby/vagrant_cloud: add 3.0.5
9
10 Closes: https://bugs.gentoo.org/812770
11 Closes: https://bugs.gentoo.org/815228
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-ruby/vagrant_cloud/Manifest | 1 +
15 dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild | 42 +++++++++++++++++++++++
16 2 files changed, 43 insertions(+)
17
18 diff --git a/dev-ruby/vagrant_cloud/Manifest b/dev-ruby/vagrant_cloud/Manifest
19 index 5e0e4a36067..c9f4b4c5846 100644
20 --- a/dev-ruby/vagrant_cloud/Manifest
21 +++ b/dev-ruby/vagrant_cloud/Manifest
22 @@ -1,2 +1,3 @@
23 DIST vagrant_cloud-2.0.3.tar.gz 14854 BLAKE2B 823b9ffbdb6896422e32e697075c7e9ab16ae7a299d6672eb497f17034737d2d017bdd416b56191149044afe97ee06533213311bb5e9da603e9eefcf824c8df7 SHA512 4431aa446d9bce2e67b121159a8345562b41c86937b2b1677f0397494521137fa66c997009632011caceeee9565a5a2b54d4ef6ef1ea9d4ac74ee35f8c149f5d
24 DIST vagrant_cloud-3.0.2.tar.gz 34177 BLAKE2B 299014b569deac667429d90b8952f77a835669e17cf724ee7f5b6fd135c1a3f16b9292e203a75baf50cf117022d0ab4d31f797c432a07386097c6bcc338ae2da SHA512 c7e5050a0f3cefe95ad38e0734317a93939de0b54251163be1a52dfc413cdb08a4bf44e1c73215f81a0126552242a1d9f2cefe8fa43d9e60acf41ccdbed0ae80
25 +DIST vagrant_cloud-3.0.5.tar.gz 34844 BLAKE2B 2624219c470ed62e60056c825dc40611bf1bd2d1e822cc40e1592f8473517df53d814934f4426ef61d9adabbf89112bc1c44b61ee7129c4270e67b468fcf87cb SHA512 e3b138584baa956de30be5b307b7a05a728a9c84e5c4c831d9a703f0367886b82905057c8d6dda5e337b7b4256704d22a60869710e98493da8eea2074df70995
26
27 diff --git a/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild b/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild
28 new file mode 100644
29 index 00000000000..2a3a347153c
30 --- /dev/null
31 +++ b/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild
32 @@ -0,0 +1,42 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +USE_RUBY="ruby26 ruby27"
39 +
40 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
41 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
42 +RUBY_FAKEGEM_GEMSPEC="vagrant_cloud.gemspec"
43 +
44 +inherit ruby-fakegem
45 +
46 +DESCRIPTION="Vagrant Cloud API Library"
47 +HOMEPAGE="https://github.com/hashicorp/vagrant_cloud"
48 +SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~amd64"
53 +IUSE="test"
54 +
55 +ruby_add_rdepend "
56 + >=dev-ruby/excon-0.73
57 + >=dev-ruby/log4r-1.1.10
58 +"
59 +ruby_add_bdepend ">=dev-ruby/rake-12.3
60 + test? (
61 + >=dev-ruby/webmock-3.0
62 + )
63 +"
64 +
65 +all_ruby_prepare() {
66 + # # loosen dependencies
67 + sed -e 's:require_relative ":require "./:' \
68 + -e '/excon/s/~>/>=/' \
69 + -e '/log4r/s/~>/>=/' \
70 + -e '/rake/s/~>/>=/' \
71 + -e '/rspec/s/~>/>=/' \
72 + -e '/webmock/s/~>/>=/' \
73 + -i ${PN}.gemspec || die
74 +}