From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6942413881E for ; Sat, 26 Sep 2015 00:45:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFE4421C010; Sat, 26 Sep 2015 00:44:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 499EB21C010 for ; Sat, 26 Sep 2015 00:44:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 496FF340AC0 for ; Sat, 26 Sep 2015 00:44:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DE13238 for ; Sat, 26 Sep 2015 00:44:53 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1443228155.58362c035562a7d83aa2e85285c77f67dfdd9ca4.mrueg@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.13.7.ebuild X-VCS-Directories: dev-ruby/httparty/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 58362c035562a7d83aa2e85285c77f67dfdd9ca4 X-VCS-Branch: master Date: Sat, 26 Sep 2015 00:44:53 +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: 930d3859-a135-4167-88b4-64363237b8b3 X-Archives-Hash: 596e8570d396210a24cf57af61a9946c commit: 58362c035562a7d83aa2e85285c77f67dfdd9ca4 Author: Manuel Rüger gentoo org> AuthorDate: Sat Sep 26 00:42:35 2015 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sat Sep 26 00:42:35 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58362c03 dev-ruby/httparty: Version bump Package-Manager: portage-2.2.22 dev-ruby/httparty/Manifest | 1 + dev-ruby/httparty/httparty-0.13.7.ebuild | 53 ++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-ruby/httparty/Manifest b/dev-ruby/httparty/Manifest index ac9190a..7ed069c 100644 --- a/dev-ruby/httparty/Manifest +++ b/dev-ruby/httparty/Manifest @@ -1,2 +1,3 @@ DIST httparty-0.13.4.gem 78848 SHA256 5dea492ff272e8417fc89730c5166944d0a4b41293d7344c1a0de9e804ef9cde SHA512 7f544c3df689e413bfa47798ccc9bea295d00c084ed15da32f105e68ae40bc12c49f3e90e4cde0d147037a94f88f4130143d164e3afd3a069fa8e7b8bb2f8265 WHIRLPOOL e7ac75dce16b3b5e558d58b9519f8fb617265c883e60f780a9abb0c6e31983685990a9b589287fd3cf128be29ee26f70fe305385443487beb3c9d2d1ff93d589 DIST httparty-0.13.5.gem 78848 SHA256 c9b9a31d80af2e5bc5e2a7c37efc5d8aad4c8d9c58b82f18e4ff37cfef7223d5 SHA512 d8408ea085d71d1a3b80519834173618e283c806ecef25f0a2c6029eee23a0f8e07218ac018dbb884a78e9b0e4e91bad11228112811cefb39e2b8a517fce1880 WHIRLPOOL e7b7b8d299ef4d1cb4dd45189044dbdfa357159f01f9743f35664d1820c9309fac96d6e803ed9bd09f626e5411438ff310dfe3c0bc4803973c53c1808a13e4a3 +DIST httparty-0.13.7.gem 81920 SHA256 22c3f4d2681aeb083d4703405799fbc96453ff0d38c3ae3c1e5070dcccdb2f31 SHA512 85402542aceb438d5da3759d06cbe51f3e86301bb28ee3e77587a4eb0918efdda4f97f49271db62b5a9f21431dcdcdc1389d0940629c5f664f694e45b939a567 WHIRLPOOL 8f4855de98a5938e78ca4b989809f2a3cb32d93aa53000e2364def26294d7f3c8ac481f25c8ffdb061774bab6a34a5796dd270f1eaed5374eb439e310c086dc9 diff --git a/dev-ruby/httparty/httparty-0.13.7.ebuild b/dev-ruby/httparty/httparty-0.13.7.ebuild new file mode 100644 index 0000000..a26eba9 --- /dev/null +++ b/dev-ruby/httparty/httparty-0.13.7.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +# We have a custom test function, but don't null this out so that the +# deps are still added +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md History" + +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 ~ppc ~x86" +IUSE="" + +ruby_add_rdepend '>=dev-ruby/json-1.8:0 >=dev-ruby/multi_xml-0.5.2' + +ruby_add_bdepend 'dev-ruby/rspec:3 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"' spec/spec_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -S rake spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +}