diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-05-27 07:26:09 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-05-27 07:39:49 +0200 |
commit | e4e3a892840cd5d190852958fd55146603c45c19 (patch) | |
tree | 1211e967c2b5fed63395bedc5a6d51af14bd7523 /dev-ruby/sawyer | |
parent | dev-ruby/sawyer: drop 0.8.2 (diff) | |
download | gentoo-e4e3a892840cd5d190852958fd55146603c45c19.tar.gz gentoo-e4e3a892840cd5d190852958fd55146603c45c19.tar.bz2 gentoo-e4e3a892840cd5d190852958fd55146603c45c19.zip |
dev-ruby/sawyer: add 0.9.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sawyer')
-rw-r--r-- | dev-ruby/sawyer/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sawyer/sawyer-0.9.1.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/sawyer/Manifest b/dev-ruby/sawyer/Manifest index 436db72d48ed..4154ff405251 100644 --- a/dev-ruby/sawyer/Manifest +++ b/dev-ruby/sawyer/Manifest @@ -1 +1,2 @@ DIST sawyer-0.8.2.tar.gz 15059 BLAKE2B 11a82158493fba69695b4eee15db223a07ebd81f8e39910553ef197a253a3342cffd00045385706c56c6f5e46bf4e20872cf61028acaf02d6f81fa2f640fc09b SHA512 fdaf88d33d87922bd0d44de919b920938b7072ad437db4b98370c507e22e4229ec0c68c613944fd2e20dde060ae5d34de6c001568eb7d1f38098831ca29b0c13 +DIST sawyer-0.9.1.tar.gz 15406 BLAKE2B c368aea98b85c55327b7874a75e6e652bddc9a2765a8ef7af3e5ac9bfabd3a4c7900f58c4ab1397d6737b17a11089fa04d1ee60e7beeb96fc8f638c88407328f SHA512 b8703223b46af9972dc57c6f65f3131246bafb88d4ef82b4c5beecc436c2180019b2e6e57ed7c8a5edbcf9a20cc12d85a1115c2f39cd5993aca48efed8f08868 diff --git a/dev-ruby/sawyer/sawyer-0.9.1.ebuild b/dev-ruby/sawyer/sawyer-0.9.1.ebuild new file mode 100644 index 000000000000..97e52a84ddef --- /dev/null +++ b/dev-ruby/sawyer/sawyer-0.9.1.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 +} |