diff options
author | Sam James <sam@gentoo.org> | 2023-03-20 12:24:26 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-22 03:25:15 +0000 |
commit | 69fd53780c127f0bfa9992c6902f2d12dedd7669 (patch) | |
tree | 612bc11a9978ebc0b11618171b728efd482ddac6 /dev-ruby | |
parent | dev-ruby/temple: enable ruby32 (diff) | |
download | gentoo-69fd53780c127f0bfa9992c6902f2d12dedd7669.tar.gz gentoo-69fd53780c127f0bfa9992c6902f2d12dedd7669.tar.bz2 gentoo-69fd53780c127f0bfa9992c6902f2d12dedd7669.zip |
dev-ruby/sawyer: add 0.9.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/sawyer/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sawyer/sawyer-0.9.2.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/sawyer/Manifest b/dev-ruby/sawyer/Manifest index 4154ff405251..51464502288a 100644 --- a/dev-ruby/sawyer/Manifest +++ b/dev-ruby/sawyer/Manifest @@ -1,2 +1,3 @@ DIST sawyer-0.8.2.tar.gz 15059 BLAKE2B 11a82158493fba69695b4eee15db223a07ebd81f8e39910553ef197a253a3342cffd00045385706c56c6f5e46bf4e20872cf61028acaf02d6f81fa2f640fc09b SHA512 fdaf88d33d87922bd0d44de919b920938b7072ad437db4b98370c507e22e4229ec0c68c613944fd2e20dde060ae5d34de6c001568eb7d1f38098831ca29b0c13 DIST sawyer-0.9.1.tar.gz 15406 BLAKE2B c368aea98b85c55327b7874a75e6e652bddc9a2765a8ef7af3e5ac9bfabd3a4c7900f58c4ab1397d6737b17a11089fa04d1ee60e7beeb96fc8f638c88407328f SHA512 b8703223b46af9972dc57c6f65f3131246bafb88d4ef82b4c5beecc436c2180019b2e6e57ed7c8a5edbcf9a20cc12d85a1115c2f39cd5993aca48efed8f08868 +DIST sawyer-0.9.2.tar.gz 15545 BLAKE2B 83fc7b6776e888ed4f26a21febc93edf954a1d926c14311078b5ecf7db57614472ed42d33ffc30bceb23c4ea1f1b1047cf3c1a0be9feecb4a3c92458938c6c03 SHA512 560c5bb6fd8f73f68b4dc1151608bc3b1f60aec511fef449cd6361a1307e2c1bf64cfa6cc7ad951ce92db22ce90f3318668af31708f0c1ee5909db3684566c72 diff --git a/dev-ruby/sawyer/sawyer-0.9.2.ebuild b/dev-ruby/sawyer/sawyer-0.9.2.ebuild new file mode 100644 index 000000000000..9c8c0ddd5aec --- /dev/null +++ b/dev-ruby/sawyer/sawyer-0.9.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +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" + +ruby_add_rdepend " + <dev-ruby/faraday-3:* + >=dev-ruby/addressable-2.3.5 +" + +all_ruby_prepare() { + # Avoid tests that require network access + sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die +} |