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 AA8C91382C5 for ; Mon, 30 Apr 2018 20:11:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6F8FE0871; Mon, 30 Apr 2018 20:11:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 C4D22E0871 for ; Mon, 30 Apr 2018 20:11:35 +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 6A94C335CA3 for ; Mon, 30 Apr 2018 20:11:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 856CD2AC for ; Mon, 30 Apr 2018 20:11:31 +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: <1525119059.b9765ba518713dc74c19c271f35e6f5c5325c870.graaff@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-r1.ebuild X-VCS-Directories: dev-ruby/gh/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b9765ba518713dc74c19c271f35e6f5c5325c870 X-VCS-Branch: master Date: Mon, 30 Apr 2018 20:11:31 +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: 12f250f8-1c30-40ea-8e86-1f55c3380f09 X-Archives-Hash: 4d5d9571a2058ae327758996e8328799 commit: b9765ba518713dc74c19c271f35e6f5c5325c870 Author: Hans de Graaff gentoo org> AuthorDate: Mon Apr 30 19:53:09 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Apr 30 20:10:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9765ba5 dev-ruby/gh: fix gemspec and add ruby24 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-ruby/gh/gh-0.15.1-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-ruby/gh/gh-0.15.1-r1.ebuild b/dev-ruby/gh/gh-0.15.1-r1.ebuild new file mode 100644 index 00000000000..eb0b4e6120c --- /dev/null +++ b/dev-ruby/gh/gh-0.15.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24" +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-persistent-2.9:0 + dev-ruby/net-http-pipeline +" + +all_ruby_prepare() { + sed -i -e '/addressable/ s/2.4.0/2.4/' \ + -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +}