From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/oauth-plugin/
Date: Fri, 26 Aug 2016 21:16:01 +0000 (UTC) [thread overview]
Message-ID: <1472246006.2baf6309bfd8c10a03377bae40281b25e743f327.graaff@gentoo> (raw)
commit: 2baf6309bfd8c10a03377bae40281b25e743f327
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Fri Aug 26 21:13:26 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 21:13:26 2016 +0000
URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=2baf6309
dev-ruby/oauth-plugin: loosen oauth dependency
Package-Manager: portage-2.2.28
dev-ruby/oauth-plugin/oauth-plugin-0.5.1-r1.ebuild | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/dev-ruby/oauth-plugin/oauth-plugin-0.5.1-r1.ebuild b/dev-ruby/oauth-plugin/oauth-plugin-0.5.1-r1.ebuild
new file mode 100644
index 0000000..cbddaac
--- /dev/null
+++ b/dev-ruby/oauth-plugin/oauth-plugin-0.5.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc UPGRADE.rdoc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="generators init.rb rails tasks"
+
+RUBY_FAKEGEM_GEMSPEC="oauth-plugin.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A plugin for implementing OAuth Providers and Consumers in Rails applications."
+HOMEPAGE="http://github.com/pelle/oauth-plugin"
+
+LICENSE="MIT"
+SLOT="0.4"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+ruby_add_rdepend ">=dev-ruby/oauth-0.4.4 =dev-ruby/oauth-0* >=dev-ruby/oauth2-0.5.0 dev-ruby/rack:* dev-ruby/multi_json"
+
+all_ruby_prepare() {
+ # Avoid specs that fail with new hash ordering. Remove the whole
+ # file because the specs as written are very brittle and can't be
+ # handled individually.
+ # https://github.com/pelle/oauth-plugin/issues/127
+ rm spec/oauth/provider/authorizer_spec.rb || die
+
+ # Avoid unneeded dependency on git.
+ sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Loosen oauth dependency
+ sed -i -e '/oauth/ s/0.4.4/0.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
next reply other threads:[~2016-08-26 21:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 21:16 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-08-26 21:16 [gentoo-commits] dev/graaff:master commit in: dev-ruby/oauth-plugin/ Hans de Graaff
2016-05-09 6:33 Hans de Graaff
2015-08-04 5:54 Hans de Graaff
2015-08-04 5:54 Hans de Graaff
2014-08-17 9:01 Hans de Graaff
2014-08-19 6:45 ` Hans de Graaff
2014-07-07 13:10 Hans de Graaff
2014-07-07 12:39 Hans de Graaff
2013-10-25 9:08 Hans de Graaff
2012-08-16 9:07 Hans de Graaff
2011-09-29 15:03 Hans de Graaff
2011-09-29 15:03 Hans de Graaff
2011-09-29 6:55 Hans de Graaff
2011-09-26 7:06 Hans de Graaff
2011-06-15 11:38 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1472246006.2baf6309bfd8c10a03377bae40281b25e743f327.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox