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 E30B6139694 for ; Tue, 1 Aug 2017 05:50:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52F111FC115; Tue, 1 Aug 2017 05:50:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 30E9B1FC114 for ; Tue, 1 Aug 2017 05:50:42 +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 33D2F3419CC for ; Tue, 1 Aug 2017 05:50:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62E3C7518 for ; Tue, 1 Aug 2017 05:50:38 +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: <1501565590.b0719c97ff750019241cbc2451abac268a7056c3.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/faraday_middleware-multi_json/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r1.ebuild X-VCS-Directories: dev-ruby/faraday_middleware-multi_json/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b0719c97ff750019241cbc2451abac268a7056c3 X-VCS-Branch: master Date: Tue, 1 Aug 2017 05:50:38 +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: 341e9342-a00b-4141-98bd-ab032ca69700 X-Archives-Hash: 8edfb4301d94eee2ed1be1948d626442 commit: b0719c97ff750019241cbc2451abac268a7056c3 Author: Hans de Graaff gentoo org> AuthorDate: Tue Aug 1 05:33:10 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Aug 1 05:33:10 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0719c97 dev-ruby/faraday_middleware-multi_json: add ruby23 Package-Manager: Portage-2.3.6, Repoman-2.3.2 .../faraday_middleware-multi_json-0.0.6-r1.ebuild | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r1.ebuild b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r1.ebuild new file mode 100644 index 00000000000..21b72b842fc --- /dev/null +++ b/dev-ruby/faraday_middleware-multi_json/faraday_middleware-multi_json-0.0.6-r1.ebuild @@ -0,0 +1,41 @@ +# 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="rspec" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Response JSON parser using MultiJson and FaradayMiddleware" +HOMEPAGE="https://github.com/denro/faraday_middleware-multi_json" +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/faraday_middleware + dev-ruby/multi_json" + +all_ruby_prepare() { + # Remove bundler support. + rm -f Gemfile || die + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Avoid unneeded dependency on git. + sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + # Make sure the test scripts use the right ruby interpreter + #sed -i -e 's:ruby:'${RUBY}':' script/* || die + : +}