summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-11-08 06:30:12 +0100
committerHans de Graaff <graaff@gentoo.org>2016-11-08 06:30:12 +0100
commit363553bfa6949c569ae729229f57528c562acebb (patch)
tree275596837f4a17d0be8fe94b03a03c96bf711829 /dev-ruby/sawyer
parentsys-kernel/bliss-initramfs: version bump (diff)
downloadgentoo-363553bfa6949c569ae729229f57528c562acebb.tar.gz
gentoo-363553bfa6949c569ae729229f57528c562acebb.tar.bz2
gentoo-363553bfa6949c569ae729229f57528c562acebb.zip
dev-ruby/sawyer: add 0.8.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/sawyer')
-rw-r--r--dev-ruby/sawyer/Manifest1
-rw-r--r--dev-ruby/sawyer/sawyer-0.8.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/sawyer/Manifest b/dev-ruby/sawyer/Manifest
index c02880bfa588..a7e8262d8a4f 100644
--- a/dev-ruby/sawyer/Manifest
+++ b/dev-ruby/sawyer/Manifest
@@ -1 +1,2 @@
DIST sawyer-0.7.0.gem 15872 SHA256 72e855027c812f2cad7f4fa4746cab07727dde91d75516d353c155002846c4b2 SHA512 8f63adfc9c544f88280a18e7bab25c193d6e0aab5973f07774b838c40ce7f7da6f148d6122ccd9e3824eb292389d994c84e2460460f7b6f9f340b27f331d59bd WHIRLPOOL 4e6822ed65c38051c765d6bafe416bb033fd35e2555baff2844be0cc317aea1dd0b50870e6a6c2c5ade8f6a5ab1fb6c16c2330b8e509f82a345d140bb68e4bd3
+DIST sawyer-0.8.0.gem 15872 SHA256 e62d31026094e9f926394e6a1c67edfc4ecc2dbf5946eaa4c62f5c1b895018f4 SHA512 3c814e8ba9136488eb33cb76642b559d4fa6bf960a20160d035b7fb1830690e1317449eb14371d285e808483efe18697129fa83be41a8cd89917bc6ec65b263b WHIRLPOOL 6a83bcef3d6b9ec5540a6c3c6e3cd6236de29d6aec13e18bc77d5a9b4538e6748a17ba57a7b86ec45451adb4fb2cb1f3a7977dfebdd745ee5c05bf56e180b43f
diff --git a/dev-ruby/sawyer/sawyer-0.8.0.ebuild b/dev-ruby/sawyer/sawyer-0.8.0.ebuild
new file mode 100644
index 000000000000..8554243e1542
--- /dev/null
+++ b/dev-ruby/sawyer/sawyer-0.8.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Secret User Agent of HTTP"
+HOMEPAGE="https://github.com/lostisland/sawyer"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+IUSE=""
+
+ruby_add_rdepend "<dev-ruby/faraday-0.10
+ >=dev-ruby/addressable-2.3.5 <dev-ruby/addressable-2.6"
+
+all_ruby_prepare() {
+ # Avoid tests that require network acces
+ sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die
+}