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/vagrant_cloud-3.0.2.ebuild
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/vagrant_cloud-3.0.2.ebuild')
-rw-r--r--dev-ruby/vagrant_cloud/vagrant_cloud-3.0.2.ebuild42
1 files changed, 42 insertions, 0 deletions
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
+}