diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-07-22 07:37:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-07-22 07:37:31 +0200 |
commit | bf9fa388aa4013b63edfe5f43f201007566ce632 (patch) | |
tree | f9cd9abbd34d27c8c91f9abb562269223c5700f4 /dev-ruby/httparty | |
parent | dev-ruby/faraday: move ~ppc keyword forward (diff) | |
download | gentoo-bf9fa388aa4013b63edfe5f43f201007566ce632.tar.gz gentoo-bf9fa388aa4013b63edfe5f43f201007566ce632.tar.bz2 gentoo-bf9fa388aa4013b63edfe5f43f201007566ce632.zip |
dev-ruby/httparty: add 0.15.6
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/httparty')
-rw-r--r-- | dev-ruby/httparty/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/httparty/httparty-0.15.6.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/httparty/Manifest b/dev-ruby/httparty/Manifest index cbeb015e66ea..0dee25939a23 100644 --- a/dev-ruby/httparty/Manifest +++ b/dev-ruby/httparty/Manifest @@ -1,2 +1,3 @@ DIST httparty-0.14.0.gem 84992 SHA256 86bfb7688fce74992a2ab91329a4855b25f71e0f31112823095b530647104ad7 SHA512 db04caaeff3277c071a2d3914f782f9151597d601a2f8817e704c977b95b149144c47df73284f83396ce1099f75f7fdc3caaa17385a515878366e2b3fcb84b04 WHIRLPOOL b50a3cc72cf1cc271d3e61b677d3df0173f926a4d7e389ec5e53ae1ac128fe5a28ed39fa2678737b052d5af6de45ca3f96abf75d03b69c830b8c7abc4958e362 DIST httparty-0.15.5.gem 87552 SHA256 1bb3dc5d1c9df9401f5eb3a41ed7f58647b203924ae17e57ed62458ec98b6dd1 SHA512 c325a1b927e2b472c17b0895f322399e14f4beafe21626b4221a4a37ceb68cd3e92d801675a559d18cebc299f6317096b58bddecc59f687546ed88f284789459 WHIRLPOOL a39e56185ef9e75eb79be94f7de7d6c2e99b657b2d4e77b017dbac11c452d84aaaa1deda8f904867accf0213c28c6677b5dce0c9e70bbe4c3837e0298b3d0edd +DIST httparty-0.15.6.gem 87552 SHA256 fbe0cde25a5325a4e248d4225640529552e6b49622289bdc7110fe294f5f7e2a SHA512 2c38cd0a20cccd03c33e521ca683c4c2eaf487acef00d4cab244898bb227bf05e21e5f01a9641869635391ad052fc1d79d63c46fce0e09a96908b4e5aa8ec571 WHIRLPOOL 8f2a469e7c7402a0d39df0eaf4dc74c8b1ae3b210f9aa1d0d85d5664add82da698e6f91d2900d2f7002a7977d2ded2082731340f85098b3adc807200b77108e7 diff --git a/dev-ruby/httparty/httparty-0.15.6.ebuild b/dev-ruby/httparty/httparty-0.15.6.ebuild new file mode 100644 index 000000000000..0dc694c51ef6 --- /dev/null +++ b/dev-ruby/httparty/httparty-0.15.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Makes http fun! Also, makes consuming restful web services dead easy" +HOMEPAGE="https://jnunemaker.github.com/httparty" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend '>=dev-ruby/multi_xml-0.5.2' + +ruby_add_bdepend 'test? ( dev-ruby/fakeweb )' + +all_ruby_prepare() { + # Remove bundler + rm Gemfile || die + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die + + # Avoid test dependency on cucumber. We can't run the features since + # they depend on mongrel which is no longer packaged. + sed -i -e '/cucumber/I s:^:#:' Rakefile || die + + # Avoid test dependency on simplecov + sed -i -e '/simplecov/I s:^:#:' \ + -e '1i require "cgi"; require "delegate"' spec/spec_helper.rb || die + + # Avoid test that works standalone but fails in the suite + sed -i -e '/calls block given to perform with each redirect/,/^ end/ s:^:#:' spec/httparty/request_spec.rb +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +} |