From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B10591382C5 for ; Fri, 2 Mar 2018 06:39:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACDFFE09A2; Fri, 2 Mar 2018 06:39:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E581E09A2 for ; Fri, 2 Mar 2018 06:39:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B58E6335C38 for ; Fri, 2 Mar 2018 06:39:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9216233 for ; Fri, 2 Mar 2018 06:39:27 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1519972753.ac9f386ac7f7078733a8ddefd413759271bfb3b9.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/httparty/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/httparty/Manifest dev-ruby/httparty/httparty-0.16.0.ebuild X-VCS-Directories: dev-ruby/httparty/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ac9f386ac7f7078733a8ddefd413759271bfb3b9 X-VCS-Branch: master Date: Fri, 2 Mar 2018 06:39:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4225e271-71bc-4310-b9fd-309213ce02c6 X-Archives-Hash: 8a3156f31532be1ea3b181dec55cdb3e commit: ac9f386ac7f7078733a8ddefd413759271bfb3b9 Author: Hans de Graaff gentoo org> AuthorDate: Fri Mar 2 06:38:17 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Mar 2 06:39:13 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac9f386a dev-ruby/httparty: add 0.16.0 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-ruby/httparty/Manifest | 1 + dev-ruby/httparty/httparty-0.16.0.ebuild | 49 ++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-ruby/httparty/Manifest b/dev-ruby/httparty/Manifest index 8e7fee683be..b0f617d42a3 100644 --- a/dev-ruby/httparty/Manifest +++ b/dev-ruby/httparty/Manifest @@ -2,3 +2,4 @@ DIST httparty-0.14.0.gem 84992 BLAKE2B 5fdb305a01c6c16bd8c9ea7bd11f0dddcb39a4bc3 DIST httparty-0.15.5.gem 87552 BLAKE2B b5505b08ec91986da860d998a49b277e86151cb4a044a58d8c392bff65549170fb31ab3d7055772d18dcda690ce40962f9b8fce66a5c933093add93fc8364894 SHA512 c325a1b927e2b472c17b0895f322399e14f4beafe21626b4221a4a37ceb68cd3e92d801675a559d18cebc299f6317096b58bddecc59f687546ed88f284789459 DIST httparty-0.15.6.gem 87552 BLAKE2B edbaf27c17d423e8bcc13744f7b567953c4486e41fbd91442261bc2981a46385dcbcbf10b62c63a6ed713cf5ffb38287be6afcc1af1ebbde8365e1920eec9341 SHA512 2c38cd0a20cccd03c33e521ca683c4c2eaf487acef00d4cab244898bb227bf05e21e5f01a9641869635391ad052fc1d79d63c46fce0e09a96908b4e5aa8ec571 DIST httparty-0.15.7.gem 87552 BLAKE2B d7a0907d1c24113c129493a57ca900f45026e1ed7cc4407ac367d8ba5afa615af31496a2003755951d52672bdecd0646aaaf407b3c47d4856c9c492e7ec5cac7 SHA512 6bdf5946bc0f22afed346091078dd43dd62cb6190b3d01bc0de5c9732c611474e207c38b4c6eca5f3cc1e2139880c2eac19554d359dac861de33c5c5ceb28c5e +DIST httparty-0.16.0.gem 89088 BLAKE2B 27715c6760a9adeec289a005f89de219b32e6ad5c3f937478ad4187df895096f9375b0d20a4b33c1c62b96de6313017a713a036247756a96fe9366e7c1e77247 SHA512 c523ab3555d0a86e2df53e800be57b88f40bb680e7df31e754ddc3e76728eb2228e6ddbe9a3e580c4c604a126ebcd33be79dfde3758faf99aadbba4d30d9508d diff --git a/dev-ruby/httparty/httparty-0.16.0.ebuild b/dev-ruby/httparty/httparty-0.16.0.ebuild new file mode 100644 index 00000000000..b65c830b1ec --- /dev/null +++ b/dev-ruby/httparty/httparty-0.16.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +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/webmock )' + +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/* +}