summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-18 07:49:31 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-18 08:16:00 +0100
commit72f76698db53380a8321b7d5b2a89e91797ce141 (patch)
treee1496a99419520636f93fcd3575805cb11f42b97 /dev-ruby/omniauth
parentdev-python/fedmsg: Remove old (diff)
downloadgentoo-72f76698db53380a8321b7d5b2a89e91797ce141.tar.gz
gentoo-72f76698db53380a8321b7d5b2a89e91797ce141.tar.bz2
gentoo-72f76698db53380a8321b7d5b2a89e91797ce141.zip
dev-ruby/omniauth: add 1.3.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/omniauth')
-rw-r--r--dev-ruby/omniauth/Manifest1
-rw-r--r--dev-ruby/omniauth/omniauth-1.3.2.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest
index 25a8c6c9cac6..3a4766b00d5a 100644
--- a/dev-ruby/omniauth/Manifest
+++ b/dev-ruby/omniauth/Manifest
@@ -1,2 +1,3 @@
DIST omniauth-1.2.2.gem 27648 SHA256 939eabc200dc19d624ad02020b9f9258a69429b2250b883e47ce2cf76c6a10b8 SHA512 5451ad281be5cd1dc45c66d295476f182904d08818c23a08a6245dbb517eeb49b29ff5810f67680073fb4cde2407eee164a2aae2b06397d7ea71b149fb86789e WHIRLPOOL d7ca6d180eea30583163a2eb60d14498c09fbd1baf78b1e6539e187028a5f943c7f7dd0f3a47a9b95acb59995f8c7bf39eb6a53b69cfb1fa9d39e87010975c7b
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
diff --git a/dev-ruby/omniauth/omniauth-1.3.2.ebuild b/dev-ruby/omniauth/omniauth-1.3.2.ebuild
new file mode 100644
index 000000000000..dbf5d5b235f6
--- /dev/null
+++ b/dev-ruby/omniauth/omniauth-1.3.2.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="rspec"
+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
+}