summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-03-31 09:04:55 +0200
committerHans de Graaff <graaff@gentoo.org>2019-03-31 10:00:00 +0200
commit3553fda06b5309828ac54303460ab119dbd7f76d (patch)
tree1f79cd4309428785f13bdbdedcca82c3386d6a0e /dev-ruby/octokit
parentsys-libs/libosinfo: ensure tests pass (diff)
downloadgentoo-3553fda06b5309828ac54303460ab119dbd7f76d.tar.gz
gentoo-3553fda06b5309828ac54303460ab119dbd7f76d.tar.bz2
gentoo-3553fda06b5309828ac54303460ab119dbd7f76d.zip
dev-ruby/octokit: add 4.14.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/octokit')
-rw-r--r--dev-ruby/octokit/Manifest1
-rw-r--r--dev-ruby/octokit/octokit-4.14.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index e13289c28e4b..5d91a6829993 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -1 +1,2 @@
DIST octokit-4.13.0.tar.gz 3053006 BLAKE2B 7028cd8c14865a1b061a5ad95f103944b20827797e5f75dbbc8237ed91cb7c9fc79e9a9319dddd9dcee58d32071156e02c04f7d39c4073bad789cbc65887c2df SHA512 48716876e8c5d807e5ebfbd2236bc4b1558d0d1dfd5d3c4cd42b345e3c8164ea36176c23a23e2bb84078e5a6fdeba2b55c3ae8ec0a6451258fe683d84b007013
+DIST octokit-4.14.0.tar.gz 3068165 BLAKE2B e50efa246273422daf5aed8e619465886962d361d129a310974c21bbc683c7444ee99e3dc01c184497683d07a48d852c006ab56c6cd4bea8660f16e7ec5eee98 SHA512 2aff18492c0207b8c7ced23adf0e76260d2976331563e22f7a130445b19b816a00281a86b4161d6709025d058c848ef3f7d1a5c64323954f8c03a59be6f6b132
diff --git a/dev-ruby/octokit/octokit-4.14.0.ebuild b/dev-ruby/octokit/octokit-4.14.0.ebuild
new file mode 100644
index 000000000000..e4f7af55045e
--- /dev/null
+++ b/dev-ruby/octokit/octokit-4.14.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+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 ~arm ~x86"
+IUSE=""
+
+RUBY_S=octokit.rb-${PV}
+
+ruby_add_rdepend ">=dev-ruby/sawyer-0.8.0"
+ruby_add_bdepend "test? ( dev-ruby/mime-types
+ >=dev-ruby/netrc-0.7.7
+ dev-ruby/vcr:3
+ dev-ruby/webmock:3 )"
+
+all_ruby_prepare() {
+ sed -i -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' spec/helper.rb || die
+}