summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-28 20:44:17 +0100
committerSam James <sam@gentoo.org>2021-09-28 20:46:30 +0100
commit002bdb44d2735a78ea24d32410076a54c63de4e6 (patch)
tree7f1df47eb1809ed7c7d8e381fb83e15a440555ef /dev-ruby/vagrant_cloud
parentgames-puzzle/fbg: EAPI6->8, fix runtime (diff)
downloadgentoo-002bdb44d2735a78ea24d32410076a54c63de4e6.tar.gz
gentoo-002bdb44d2735a78ea24d32410076a54c63de4e6.tar.bz2
gentoo-002bdb44d2735a78ea24d32410076a54c63de4e6.zip
dev-ruby/vagrant_cloud: add 3.0.5
Closes: https://bugs.gentoo.org/812770 Closes: https://bugs.gentoo.org/815228 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/vagrant_cloud')
-rw-r--r--dev-ruby/vagrant_cloud/Manifest1
-rw-r--r--dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/vagrant_cloud/Manifest b/dev-ruby/vagrant_cloud/Manifest
index 5e0e4a36067e..c9f4b4c5846d 100644
--- a/dev-ruby/vagrant_cloud/Manifest
+++ b/dev-ruby/vagrant_cloud/Manifest
@@ -1,2 +1,3 @@
DIST vagrant_cloud-2.0.3.tar.gz 14854 BLAKE2B 823b9ffbdb6896422e32e697075c7e9ab16ae7a299d6672eb497f17034737d2d017bdd416b56191149044afe97ee06533213311bb5e9da603e9eefcf824c8df7 SHA512 4431aa446d9bce2e67b121159a8345562b41c86937b2b1677f0397494521137fa66c997009632011caceeee9565a5a2b54d4ef6ef1ea9d4ac74ee35f8c149f5d
DIST vagrant_cloud-3.0.2.tar.gz 34177 BLAKE2B 299014b569deac667429d90b8952f77a835669e17cf724ee7f5b6fd135c1a3f16b9292e203a75baf50cf117022d0ab4d31f797c432a07386097c6bcc338ae2da SHA512 c7e5050a0f3cefe95ad38e0734317a93939de0b54251163be1a52dfc413cdb08a4bf44e1c73215f81a0126552242a1d9f2cefe8fa43d9e60acf41ccdbed0ae80
+DIST vagrant_cloud-3.0.5.tar.gz 34844 BLAKE2B 2624219c470ed62e60056c825dc40611bf1bd2d1e822cc40e1592f8473517df53d814934f4426ef61d9adabbf89112bc1c44b61ee7129c4270e67b468fcf87cb SHA512 e3b138584baa956de30be5b307b7a05a728a9c84e5c4c831d9a703f0367886b82905057c8d6dda5e337b7b4256704d22a60869710e98493da8eea2074df70995
diff --git a/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild b/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild
new file mode 100644
index 000000000000..2a3a347153c3
--- /dev/null
+++ b/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_GEMSPEC="vagrant_cloud.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Vagrant Cloud API Library"
+HOMEPAGE="https://github.com/hashicorp/vagrant_cloud"
+SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/excon-0.73
+ >=dev-ruby/log4r-1.1.10
+"
+ruby_add_bdepend ">=dev-ruby/rake-12.3
+ test? (
+ >=dev-ruby/webmock-3.0
+ )
+"
+
+all_ruby_prepare() {
+ # # loosen dependencies
+ sed -e 's:require_relative ":require "./:' \
+ -e '/excon/s/~>/>=/' \
+ -e '/log4r/s/~>/>=/' \
+ -e '/rake/s/~>/>=/' \
+ -e '/rspec/s/~>/>=/' \
+ -e '/webmock/s/~>/>=/' \
+ -i ${PN}.gemspec || die
+}