diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-02-06 07:10:50 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-02-06 07:29:39 +0100 |
commit | d4ae6b4c3079d3e8be84b28a7dc5cfec406b8d99 (patch) | |
tree | c9364feb017cc211e13f68b3ba375a93125a5904 /dev-ruby | |
parent | 6eefa78d5b87b6addb3610ef6357593af0432cbb (diff) | |
download | gentoo-d4ae6b4c3079d3e8be84b28a7dc5cfec406b8d99.tar.gz gentoo-d4ae6b4c3079d3e8be84b28a7dc5cfec406b8d99.tar.xz |
dev-ruby/omniauth: add 1.4.0
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/omniauth/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/omniauth/omniauth-1.4.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest index 7ad1ab8545f..4f909ea53e5 100644 --- a/dev-ruby/omniauth/Manifest +++ b/dev-ruby/omniauth/Manifest @@ -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 diff --git a/dev-ruby/omniauth/omniauth-1.4.0.ebuild b/dev-ruby/omniauth/omniauth-1.4.0.ebuild new file mode 100644 index 00000000000..371e633ba20 --- /dev/null +++ b/dev-ruby/omniauth/omniauth-1.4.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.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 +} |