summaryrefslogtreecommitdiff
path: root/dev-ruby/octokit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/octokit
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/octokit')
-rw-r--r--dev-ruby/octokit/Manifest4
-rw-r--r--dev-ruby/octokit/metadata.xml11
-rw-r--r--dev-ruby/octokit/octokit-4.7.0.ebuild33
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
new file mode 100644
index 000000000000..ef3bb5efcd65
--- /dev/null
+++ b/dev-ruby/octokit/Manifest
@@ -0,0 +1,4 @@
+DIST octokit-4.7.0.tar.gz 2926712 SHA256 9ce503a8ed4e42022aa01f0a12d0afbec8dd52bde71c12164c5ff815c0278110 SHA512 7a760f909e4756401ce7ecfb3dc8682ec2c630b7ca1639135e61912f8dac2a18974ced1fd5b2d75ee14d1fcc567a370781c159303d7789a9a3f4b756186e72c1 WHIRLPOOL 7a0bbfd7d9009f44b2f8ba41212ac9f1633bfe6b946d855628836578703ab19db81a3214f6f059f840168c5d2c08f8276235a44436ab8593fb246851485d789c
+EBUILD octokit-4.7.0.ebuild 860 SHA256 62b79e9a15057a78b8c1e146d1aa6dde2618bf93aad1a2c3a0c0c1c13ba0566f SHA512 df6ff18d386049ffc81b6aaca3512d4374738cac3f4d8de0e9769d1c0ba0a10b88cc2b27d856e87376ba6e3b8fe4ab2b7c51787e1878102c33721220fa278a04 WHIRLPOOL 5937237a42c453df9925c4d0dde753d2044ddc4ed020b7ce939a17b57e5ff21db302ea21bc0401e7a45461fe024df0b39ec92fe47052c4d2804f5617541560c8
+MISC ChangeLog 1556 SHA256 686a46ebe949cdc1e2f0a3dd8e1d7e4c0c199916960e4aacf82b2db1adbab327 SHA512 d3311b2b7660fb02d27375ad2937a7d64bd94a0f1978f07d41a3bfb19df2614f343e8b8126422659696c1b0a18e627e5cff95186034b0980f6e6cf677223cef4 WHIRLPOOL bf9b39e2ba20365710f05825e27d905bd8efd10b52b0f87a8bc9bb705cd48b4b65f2c2113e5f010d71e52515b224f9b2443d42cde11f70e365ca3cf417ea067c
+MISC metadata.xml 344 SHA256 489e3ef7bcfa02fbd6361fe89a1a40bfbfe7f8a00c9d8132556c472343ed677e SHA512 3866d3979a8749d780367b56ae524d8f78286d2174602452ba272d26a4fb49cbbe8945183e4a64e70400b758fba4fc6bf88bcdf24908e474a378b628a1263457 WHIRLPOOL d6e9632b1b2bfe8b82a6bd402ff903c8e9f419d072c00be4a051813d38f08fbd44749cecf457c2baed77211092bac54284cc94f64186f5278d99a1c0f8dd3902
diff --git a/dev-ruby/octokit/metadata.xml b/dev-ruby/octokit/metadata.xml
new file mode 100644
index 000000000000..fd61014adc35
--- /dev/null
+++ b/dev-ruby/octokit/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">octokit/octokit.rb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/octokit/octokit-4.7.0.ebuild b/dev-ruby/octokit/octokit-4.7.0.ebuild
new file mode 100644
index 000000000000..6510b8100b28
--- /dev/null
+++ b/dev-ruby/octokit/octokit-4.7.0.ebuild
@@ -0,0 +1,33 @@
+# 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_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"
+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:2
+ >=dev-ruby/webmock-1.9:0 )"
+
+all_ruby_prepare() {
+ sed -i -e "1,10d" -e "/require 'vcr'/i\gem 'vcr', '~> 2.9.2'" spec/helper.rb || die
+}