diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-09 09:14:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-09 09:14:02 +0000 |
commit | b9ef7cab6264f1838672efbbcb4ba3b3abd5323f (patch) | |
tree | 38e677f4a13244ca8ed29a815a0a62f943b430d4 /dev-ruby/aws-sdk-core/aws-sdk-core-2.10.100.ebuild | |
parent | d37b97a25b8b10f748eead6574b01f893f140b01 (diff) |
gentoo resync : 09.12.2017
Diffstat (limited to 'dev-ruby/aws-sdk-core/aws-sdk-core-2.10.100.ebuild')
-rw-r--r-- | dev-ruby/aws-sdk-core/aws-sdk-core-2.10.100.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/aws-sdk-core/aws-sdk-core-2.10.100.ebuild b/dev-ruby/aws-sdk-core/aws-sdk-core-2.10.100.ebuild new file mode 100644 index 000000000000..3c1115f5dbcf --- /dev/null +++ b/dev-ruby/aws-sdk-core/aws-sdk-core-2.10.100.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRAINSTALL="apis ca-bundle.crt endpoints.json" + +GITHUB_USER="aws" +GITHUB_PROJECT="aws-sdk-ruby" +RUBY_S="${GITHUB_PROJECT}-${PV}/${PN}" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Official SDK for Amazon Web Services" +HOMEPAGE="https://aws.amazon.com/sdkforruby" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/aws-sigv4 dev-ruby/jmespath:1" + +ruby_add_bdepend "test? ( dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die + + # Avoid spec that gets confused by our directory names + sed -i -e '/requires prefixes from plugin names when loading/,/end/ s:^:#:' \ + spec/seahorse/client/plugin_list_spec.rb || die +} |