summaryrefslogtreecommitdiff
path: root/dev-ruby/sawyer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-ruby/sawyer
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-ruby/sawyer')
-rw-r--r--dev-ruby/sawyer/Manifest1
-rw-r--r--dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/sawyer/Manifest b/dev-ruby/sawyer/Manifest
index 218bc59e759e..ba689b68d70a 100644
--- a/dev-ruby/sawyer/Manifest
+++ b/dev-ruby/sawyer/Manifest
@@ -1,3 +1,4 @@
DIST sawyer-0.8.2.tar.gz 15059 BLAKE2B 11a82158493fba69695b4eee15db223a07ebd81f8e39910553ef197a253a3342cffd00045385706c56c6f5e46bf4e20872cf61028acaf02d6f81fa2f640fc09b SHA512 fdaf88d33d87922bd0d44de919b920938b7072ad437db4b98370c507e22e4229ec0c68c613944fd2e20dde060ae5d34de6c001568eb7d1f38098831ca29b0c13
+EBUILD sawyer-0.8.2-r1.ebuild 707 BLAKE2B 482dd7ab2468bafdfd6da02086f5b1997e826ce4171b0ad772f8533916198a789cb6795986d51e5b2d567aaa7aca9422e155e99639e6d6e940ca8b3369ce396d SHA512 d3211afdb3fb4b70f0de772d27b355609728996ae8005c9843ec1ef373fead3de178258f0a20c493ad0a2ddef581014dcc297f7b02787e3afa56e88b430a049a
EBUILD sawyer-0.8.2.ebuild 709 BLAKE2B 556372d9856b20c7047cbd374f3648e69640f606bcfabd4739cbc4ef58c76a9f59facb9477f0c2be1e539b68b577a455ebfaed1ecdc4cf5086bec309570a89ec SHA512 ffe12633cfb360449a4bad8c0580ecf68e6c2ac110925969b2f43645b52703c669b8fb8bd3511df2afc7534884dd7918c65329d51aeda068dc375aa9522c2919
MISC metadata.xml 344 BLAKE2B 2fd48b8dd0cbda058db996df9a2eb78059dbee18f2f55053df724c29e336f11c6177e4ced45805464c833da30bdbb3fa451604459768f2f0f04acef5f4608add SHA512 06a2e070d29fc940208c64bba0d16add2fd24a4bd80adfc763a2bf925942f8dde700641fc7ff6ac1b3e77d17571aeccc8af21ecb313e3772aca2461835123d2e
diff --git a/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild b/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild
new file mode 100644
index 000000000000..97e52a84ddef
--- /dev/null
+++ b/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="sawyer.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Secret User Agent of HTTP"
+HOMEPAGE="https://github.com/lostisland/sawyer"
+SRC_URI="https://github.com/lostisland/sawyer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ <dev-ruby/faraday-2.0:*
+ >=dev-ruby/addressable-2.3.5"
+
+all_ruby_prepare() {
+ # Avoid tests that require network acces
+ sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die
+}