Skip to content

Commit

Permalink
dev-ruby/omniauth: add 1.4.0
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.3
  • Loading branch information
graaff committed Feb 6, 2017
1 parent 6eefa78 commit d4ae6b4
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/omniauth/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST omniauth-1.3.1.tar.gz 23759 SHA256 a5043cd38442600320cfd92672f9985be3dc556f51fef63989f46bc21d69aa9e SHA512 4959d568cf8d2b4e874fd2a5a8e842a8be4705a5df525ad691a1a1d31de0d702023327cc8f9bc934539c25bcde06dc65714f830eaeb8f97b323fc297b99c4c0a WHIRLPOOL 5363a764e2526b9ffab9b17c939ccc31d5fb5fec365566b6b1bb90918f5c0bc8a9daee5075719a6c61a57d3610c466553443d7988249bb9ada73e0407a85f1b4
DIST omniauth-1.3.2.tar.gz 23598 SHA256 d3780cc9c945ab74362d2aa93250ce84a2c18f940b3a42cde1c6dfbb1f873a13 SHA512 43b27f370f8ea86105952c61a087534f19328680303e1c5e9ad9877420b4f4086d463dae17722a7a13f55ef28d7cef508c52b25e0279961b1f6dc3e133696f3a WHIRLPOOL 65e8dd2ec1c1ed74f4cc7aa16c9561a6d097a98952ee64dfe6a56e16e2036ad8a2b5f7a677453310465dc56c9d8072cf07bfc6dfe61a56d567a9adc7ecd5ad39
DIST omniauth-1.4.0.tar.gz 24476 SHA256 6998cca7fb2ed620f5ae400b9d88ae54a26def8bd714a0f2eb495efed24494fd SHA512 8953c0cd451d622ff9ace3324187081e405f50c5d89c35a2ab3151f491dc0108757ba1be40546cfb74bb8e179d2a25563c0f5713d72a8e012ceec33d184eaaec WHIRLPOOL 27bd779015982aff510cd1e0c96428c78e6a8c290bc8f19a269eda792d47ff0aadc16d47723c63e0aa2e1e48b49799c6d9219c801dba3ad1848da52a704aff1c
47 changes: 47 additions & 0 deletions dev-ruby/omniauth/omniauth-1.4.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
USE_RUBY="ruby21 ruby22 ruby23"

RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_RECIPE_DOC="none"
RUBY_FAKEGEM_DOCDIR="doc"

RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"

inherit ruby-fakegem

DESCRIPTION="A generalized Rack framework for multiple-provider authentication"
HOMEPAGE="https://github.com/intridea/omniauth"
SRC_URI="https://github.com/intridea/omniauth/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""

ruby_add_rdepend "
>=dev-ruby/rack-1.0:* <dev-ruby/rack-3:*
>=dev-ruby/hashie-1.2:* <dev-ruby/hashie-4:*"
ruby_add_bdepend "doc? ( dev-ruby/yard )
test? ( dev-ruby/rack-test )"

all_ruby_prepare() {
sed -i -e '/[Bb]undler/d' \
Rakefile ${PN}.gemspec || die "sed failed"
sed -i -e '/RUBY_VERSION/,/^end/ s:^:#:' spec/helper.rb || die "sed failed"
# maruku fails, resorting to default markdown implementation
sed -i -e '/maruku/d' .yardopts || die "sed failed"

sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
}

all_ruby_compile() {
all_fakegem_compile

if use doc ; then
yard || die "yard failed"
fi
}

0 comments on commit d4ae6b4

Please sign in to comment.