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 3E659138335 for ; Sat, 16 Feb 2019 23:52:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15766E0907; Sat, 16 Feb 2019 23:52:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 DDFF7E0907 for ; Sat, 16 Feb 2019 23:52:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 22B34335D04 for ; Sat, 16 Feb 2019 23:52:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5115353A for ; Sat, 16 Feb 2019 23:52:07 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1550361082.e936ab9c374e5fb171057afb3759b1aae2261ead.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gh/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/gh/gh-0.15.1-r2.ebuild X-VCS-Directories: dev-ruby/gh/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: e936ab9c374e5fb171057afb3759b1aae2261ead X-VCS-Branch: master Date: Sat, 16 Feb 2019 23:52:07 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0328e6eb-16dc-47ba-b791-990163d27e33 X-Archives-Hash: c39c1f2778d0f517c7446970c0ab0b62 commit: e936ab9c374e5fb171057afb3759b1aae2261ead Author: Robin H. Johnson gentoo org> AuthorDate: Sat Feb 16 23:15:57 2019 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat Feb 16 23:51:22 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e936ab9c dev-ruby/gh: add ruby25 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Robin H. Johnson gentoo.org> dev-ruby/gh/gh-0.15.1-r2.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-ruby/gh/gh-0.15.1-r2.ebuild b/dev-ruby/gh/gh-0.15.1-r2.ebuild new file mode 100644 index 00000000000..b239382a9b7 --- /dev/null +++ b/dev-ruby/gh/gh-0.15.1-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="gh.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="multi-layer client for the github api v3" +HOMEPAGE="https://github.com/travis-ci/gh" +SRC_URI="https://github.com/travis-ci/gh/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend " + dev-ruby/webmock +" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.4.0:0 + dev-ruby/backports + >dev-ruby/faraday-0.8 + >dev-ruby/multi_json-1.0 + dev-ruby/net-http-pipeline +" + +RDEPEND="${RDEPEND} + ruby_targets_ruby23? ( >=dev-ruby/net-http-persistent-2.9:0[ruby_targets_ruby23] ) + ruby_targets_ruby24? ( >=dev-ruby/net-http-persistent-2.9:0[ruby_targets_ruby24] ) + ruby_targets_ruby25? ( >=dev-ruby/net-http-persistent-3:3[ruby_targets_ruby25] ) +" + +all_ruby_prepare() { + sed -i \ + -e '/addressable/ s/2.4.0/2.4/' \ + -e '/net-http-persistent/ s/~> 2.9/>= 2.9/' \ + -e 's/git ls-files/find/' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die +}