diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-02-19 07:27:50 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-02-19 08:05:46 +0100 |
commit | d296898a336595196de0603e2a381cdb7e5ffaaa (patch) | |
tree | 17e658c59d67da39e81b8c2b989435317a347bff /dev-ruby/omniauth | |
parent | sys-apps/ipmiutil: Removed old. (diff) | |
download | gentoo-d296898a336595196de0603e2a381cdb7e5ffaaa.tar.gz gentoo-d296898a336595196de0603e2a381cdb7e5ffaaa.tar.bz2 gentoo-d296898a336595196de0603e2a381cdb7e5ffaaa.zip |
dev-ruby/omniauth: add 1.6.0
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/omniauth')
-rw-r--r-- | dev-ruby/omniauth/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/omniauth/omniauth-1.6.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest index 4f909ea53e56..dd17bf647816 100644 --- a/dev-ruby/omniauth/Manifest +++ b/dev-ruby/omniauth/Manifest @@ -1,3 +1,4 @@ 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 +DIST omniauth-1.6.0.tar.gz 25205 SHA256 9eae49f049f47f646540d21c257b596a25179cd4466927362a97dc852fe4664c SHA512 fb989ba7aef74bd3d2c185d6401cf263ef6169abc3018f51ae7ed99921b9f339c60fc2735582f559a0e0726338bb8d114973588155239fde2bff5805ad520bc2 WHIRLPOOL 33a83c09a775297fdc9346530e0935ccdb7985075e9e520dd8e6d30eb16a33fcc69baa7d9479c12689755122452cff1c8cf1cb1e8f390da3270bb2900b8d6834 diff --git a/dev-ruby/omniauth/omniauth-1.6.0.ebuild b/dev-ruby/omniauth/omniauth-1.6.0.ebuild new file mode 100644 index 000000000000..c649fa256f45 --- /dev/null +++ b/dev-ruby/omniauth/omniauth-1.6.0.ebuild @@ -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.6.2:* <dev-ruby/rack-3:* + >=dev-ruby/hashie-3.4.6:3" +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 +} |