diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-10-01 20:54:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-10-01 20:54:53 +0100 |
commit | 391b5b359a346aff490103da7dddc85047f83830 (patch) | |
tree | 29eea460a0bd7e1ff21d43b9d6df9af4d8a175e1 /dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild | |
parent | c719fdcee603a5a706a45d10cb598762d56a727d (diff) |
gentoo resync : 01.10.2021
Diffstat (limited to 'dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild')
-rw-r--r-- | dev-ruby/vagrant_cloud/vagrant_cloud-3.0.5.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
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 +} |