summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2020-12-14 18:15:05 +0100
committerSam James <sam@gentoo.org>2021-09-28 02:00:42 +0100
commitab77459ee302d97d2c2f5e19e3e325f9fdfaa907 (patch)
treec1a4a3c381f93c5a95296cf245ce4ee1ccc2a205 /dev-ruby/vagrant_cloud
parentdev-ruby/vagrant_cloud: Add myself to maintainer (diff)
downloadgentoo-ab77459ee302d97d2c2f5e19e3e325f9fdfaa907.tar.gz
gentoo-ab77459ee302d97d2c2f5e19e3e325f9fdfaa907.tar.bz2
gentoo-ab77459ee302d97d2c2f5e19e3e325f9fdfaa907.zip
dev-ruby/vagrant_cloud: Bump to version 3.0.2
Closes: https://bugs.gentoo.org/765247 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com> 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.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/vagrant_cloud/Manifest b/dev-ruby/vagrant_cloud/Manifest
index a005e0ddd138..5e0e4a36067e 100644
--- a/dev-ruby/vagrant_cloud/Manifest
+++ b/dev-ruby/vagrant_cloud/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.2.ebuild b/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.2.ebuild
new file mode 100644
index 000000000000..4e3c8bb9b807
--- /dev/null
+++ b/dev-ruby/vagrant_cloud/vagrant_cloud-3.0.2.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="ruby25 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
+}