diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-05-02 08:05:40 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-05-02 08:36:44 +0200 |
commit | d96e90fd32f2224219fe22d0fc1582d7d33d7512 (patch) | |
tree | 23afe472476c4c560772885ffb90a616c216df09 /dev-ruby/sawyer | |
parent | dev-ruby/pluggaloid: add 1.1.2 (diff) | |
download | gentoo-d96e90fd32f2224219fe22d0fc1582d7d33d7512.tar.gz gentoo-d96e90fd32f2224219fe22d0fc1582d7d33d7512.tar.bz2 gentoo-d96e90fd32f2224219fe22d0fc1582d7d33d7512.zip |
dev-ruby/sawyer: add 0.8.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/sawyer')
-rw-r--r-- | dev-ruby/sawyer/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sawyer/sawyer-0.8.2.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/sawyer/Manifest b/dev-ruby/sawyer/Manifest index 0042aed8ab71..e3ba11de48d2 100644 --- a/dev-ruby/sawyer/Manifest +++ b/dev-ruby/sawyer/Manifest @@ -1 +1,2 @@ DIST sawyer-0.8.1.gem 15872 BLAKE2B 07f5196d9b34307837112822b2c8ad8f1c7a2c5e7341cfd17674970a4a2ba2a2085f14b9cc81bc3758a6c276561d142645b439de75c21676c78e0f560d94dbcd SHA512 d057c34e1ee1bfc5939cfc002118fcc31579846814caa668e3633d5c04dd2437aa71b417626f669aca3a082481bf493682720260592072367af104c20fd34783 +DIST sawyer-0.8.2.tar.gz 15059 BLAKE2B 11a82158493fba69695b4eee15db223a07ebd81f8e39910553ef197a253a3342cffd00045385706c56c6f5e46bf4e20872cf61028acaf02d6f81fa2f640fc09b SHA512 fdaf88d33d87922bd0d44de919b920938b7072ad437db4b98370c507e22e4229ec0c68c613944fd2e20dde060ae5d34de6c001568eb7d1f38098831ca29b0c13 diff --git a/dev-ruby/sawyer/sawyer-0.8.2.ebuild b/dev-ruby/sawyer/sawyer-0.8.2.ebuild new file mode 100644 index 000000000000..1bc844890d0c --- /dev/null +++ b/dev-ruby/sawyer/sawyer-0.8.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25" + +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" +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 +} |