Skip to content

Commit

Permalink
dev-ruby/octokit: Initial version
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.27
  • Loading branch information
mrueg committed Feb 21, 2016
1 parent 6f692f2 commit 6f8e969
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/octokit/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST octokit-4.2.0.tar.gz 2740295 SHA256 af4853f022677fd1c344e20d396912a3783f6bd43fffc9b608d9c4218eebcef8 SHA512 5b596da5c2b6bff4cbef3c3faa57a341e7e46dffa8b16d81072b567a5827138ce173a13c1054719853aaf821ad8f5ef8c7e1f666769f3a1e538ef886e64dc1c4 WHIRLPOOL 781bf01f770ee42568ce8278787542dc8840c7dc489042a1d52cb3c59e5ccf13cd3d8269ddc5f9443447060b10c0fd56c89218c1dfdd02c4989e3d20c0c6ebf8
11 changes: 11 additions & 0 deletions dev-ruby/octokit/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
<remote-id type="github">octokit/octokit.rb</remote-id>
</upstream>
</pkgmetadata>
32 changes: 32 additions & 0 deletions dev-ruby/octokit/octokit-4.2.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 6f8e969

Please sign in to comment.