summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-09 08:08:20 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-09 08:08:20 +0100
commited1eda2808d026ad345899578b6a4e6be2b4b27f (patch)
treeec7618ee575a6b25bbdd8978cc13008727fec167 /dev-ruby/aws-sdk-core/aws-sdk-core-2.10.100.ebuild
parentwww-plugins/chrome-binary-plugins: automated update (64.0.3282.14) (diff)
downloadgentoo-ed1eda2808d026ad345899578b6a4e6be2b4b27f.tar.gz
gentoo-ed1eda2808d026ad345899578b6a4e6be2b4b27f.tar.bz2
gentoo-ed1eda2808d026ad345899578b6a4e6be2b4b27f.zip
dev-ruby/aws-sdk-core: add 2.10.100
Package-Manager: Portage-2.3.13, Repoman-2.3.3
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.ebuild41
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
+}