summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-03-05 07:48:48 +0100
committerHans de Graaff <graaff@gentoo.org>2016-03-05 07:48:48 +0100
commit8b3c25b27e93e8aa065f64a74e732dd1ef94e125 (patch)
tree0af041fbdf63a4f833b473754077b1269bc6a288 /dev-ruby/octokit
parentdev-ruby/sawyer: fix tests (diff)
downloadgentoo-8b3c25b27e93e8aa065f64a74e732dd1ef94e125.tar.gz
gentoo-8b3c25b27e93e8aa065f64a74e732dd1ef94e125.tar.bz2
gentoo-8b3c25b27e93e8aa065f64a74e732dd1ef94e125.zip
dev-ruby/octokit: add 4.3.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/octokit')
-rw-r--r--dev-ruby/octokit/Manifest1
-rw-r--r--dev-ruby/octokit/octokit-4.3.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index 54f5ea572c92..a8af5c1bf29d 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -1 +1,2 @@
DIST octokit-4.2.0.tar.gz 2740295 SHA256 af4853f022677fd1c344e20d396912a3783f6bd43fffc9b608d9c4218eebcef8 SHA512 5b596da5c2b6bff4cbef3c3faa57a341e7e46dffa8b16d81072b567a5827138ce173a13c1054719853aaf821ad8f5ef8c7e1f666769f3a1e538ef886e64dc1c4 WHIRLPOOL 781bf01f770ee42568ce8278787542dc8840c7dc489042a1d52cb3c59e5ccf13cd3d8269ddc5f9443447060b10c0fd56c89218c1dfdd02c4989e3d20c0c6ebf8
+DIST octokit-4.3.0.tar.gz 2760618 SHA256 76ca1d4289f393c88556bc0c7518621db2d6371cb4c7ec68aa61d07327849fcc SHA512 2a0e680ef8b182722e4a7f489d69fc1d9e81864b29a7fddc4b1ab68a77deee7383ffac153662ceb9e55d7425a4f9e29f7303f0d8d0d821156ef1946734e197a6 WHIRLPOOL ab27fd63737604500a747496a3d040482de2532cfe5dd169d7144ba13476a6c14bf1d667385cd7f4b925030be8c9933e98ebfe72498e3be978574f1b206c7120
diff --git a/dev-ruby/octokit/octokit-4.3.0.ebuild b/dev-ruby/octokit/octokit-4.3.0.ebuild
new file mode 100644
index 000000000000..a16dcf84ca99
--- /dev/null
+++ b/dev-ruby/octokit/octokit-4.3.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby toolkit for the Github API"
+HOMEPAGE="https://github.com//octokit/octokit.rb"
+SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RUBY_S=octokit.rb-${PV}
+
+ruby_add_rdepend ">=dev-ruby/sawyer-0.5.3"
+ruby_add_bdepend "test? ( >=dev-ruby/netrc-0.7.7
+ dev-ruby/vcr:2
+ >=dev-ruby/webmock-1.9 )"
+
+all_ruby_prepare() {
+ sed -i -e "1,10d" -e "/require 'vcr'/i\gem 'vcr', '~> 2.9.2'" spec/helper.rb || die
+}