diff options
Diffstat (limited to 'dev-ruby/sawyer')
-rw-r--r-- | dev-ruby/sawyer/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/sawyer/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/sawyer/sawyer-0.8.1.ebuild | 26 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/sawyer/Manifest b/dev-ruby/sawyer/Manifest new file mode 100644 index 000000000000..b5ce09805e3e --- /dev/null +++ b/dev-ruby/sawyer/Manifest @@ -0,0 +1,3 @@ +DIST sawyer-0.8.1.gem 15872 BLAKE2B 07f5196d9b34307837112822b2c8ad8f1c7a2c5e7341cfd17674970a4a2ba2a2085f14b9cc81bc3758a6c276561d142645b439de75c21676c78e0f560d94dbcd SHA512 d057c34e1ee1bfc5939cfc002118fcc31579846814caa668e3633d5c04dd2437aa71b417626f669aca3a082481bf493682720260592072367af104c20fd34783 +EBUILD sawyer-0.8.1.ebuild 642 BLAKE2B 698d0a43bff697b6b02bba38458e5be6615807a8b7dfd4b483bf5b44ddef4da1744bdf2ad221c70d27c720479eb1ab2ea9e5847a1c67342016b8925b18db7c37 SHA512 f5bf4f70c3af1154c03e38d1370c5d44172a281f270825b8f076f28a40b43662bb14aba469cf8a481295245f3761b9e5f036f8b83b51a660ea4bbfa0fd21edbe +MISC metadata.xml 343 BLAKE2B cc1ee84d088f5dee301ce54b35dc657a5755376424dd112af7a3b1e92044b5f337e63ff1d9429ef5386f4f473a6bb1b8862fd674b8d8214fbcbfd57b1706cb6a SHA512 e8a9c944a7e5e4c4be4baa2dece6b6ec683591551624cd5e97adeb90d8698cbe6a38a173a9c37a856b77830b5aa2ee182b5a0c25d083959837c04b366d835538 diff --git a/dev-ruby/sawyer/metadata.xml b/dev-ruby/sawyer/metadata.xml new file mode 100644 index 000000000000..26176ca29e7f --- /dev/null +++ b/dev-ruby/sawyer/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">lostisland/sawyer</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/sawyer/sawyer-0.8.1.ebuild b/dev-ruby/sawyer/sawyer-0.8.1.ebuild new file mode 100644 index 000000000000..7c1f694d32d2 --- /dev/null +++ b/dev-ruby/sawyer/sawyer-0.8.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby23 ruby24" + +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 ~x86" +IUSE="" + +ruby_add_rdepend "<dev-ruby/faraday-1.0 + >=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 +} |