diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
commit | e3872864be25f7421015bef2732fa57c0c9fb726 (patch) | |
tree | 9cb29a544215119b5c5538e37211b994ce1c87ae /dev-ruby/oauth2 | |
parent | 480486b52ea64765faf696c88b2c6a26a5a454d4 (diff) |
gentoo resync : 04.08.2018
Diffstat (limited to 'dev-ruby/oauth2')
-rw-r--r-- | dev-ruby/oauth2/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/oauth2/oauth2-1.4.0-r1.ebuild | 46 | ||||
-rw-r--r-- | dev-ruby/oauth2/oauth2-1.4.0-r2.ebuild | 49 |
3 files changed, 97 insertions, 0 deletions
diff --git a/dev-ruby/oauth2/Manifest b/dev-ruby/oauth2/Manifest index b8d200a42195..75fbd442fd6a 100644 --- a/dev-ruby/oauth2/Manifest +++ b/dev-ruby/oauth2/Manifest @@ -1,3 +1,5 @@ DIST oauth2-1.4.0.tar.gz 21299 BLAKE2B 1fe4640b374450279e556477c23972030d3aecac4c96e9174e57458deaccfbfa012e3bb66fe3db5e845a4004b91b763dab6f68b885ed7c1ddb2710cda29a8486 SHA512 2db67cba2403be8ea5d6f88f9818f295c29c08201f8ea5876c55cffe2fa926be465a11061654adffd77d13da9c7e56353ece7e4595cd9501acdcfeb58573b300 +EBUILD oauth2-1.4.0-r1.ebuild 1213 BLAKE2B 0b368de907181b41fd0c1216de3fa4f4c6fbce26992930730ceffa29874d737a217f8cabff23e70bbb4fd59a51337c325cefb655b4c350c0869e11fc15f04b78 SHA512 b03a27b6f9cf23bb31b24b0b1c70b9db980809774de90bad08373c8bcc5b588e5ec882f73be5a50605ea3b6e208d04804ffeb0bbe169dde1ceafde1f6fb73150 +EBUILD oauth2-1.4.0-r2.ebuild 1393 BLAKE2B 8d85f689841ea25380c6c22cf8aa2b0abadb615e6df260980901790ea77718f11c28055a47863593f4b13f163d2afa15aa0cd6098c896a946f16f6f22b0822aa SHA512 9b68eedf5b6305ec3c87d441c24a43ea0129afc57bfc7547a0a493ccce0e4ff51052a41811b1f5eef946e8683aae8c32002d1a8bf1bf4bccbeda25397ca9a507 EBUILD oauth2-1.4.0.ebuild 1113 BLAKE2B ef45c62600507cff11b8240c3dba97ce041eeaf419f902a4727cbb74406fb45013fd230d391572e95d926f457d42a9b0c2f809b828bab081302f314ba241c8da SHA512 eb64a82c52fb1df3bbd4ff98a0147a06339119f57540cb62514faad47a28963e79fa37941b668f5f353b6c5461c02e0a827044edec19c471d6f8b1c1c032c255 MISC metadata.xml 341 BLAKE2B e2896d1d266992c01ed373b489cf71b9c4a7a5f57a2af37899ff63793dad41b9213eee0fd94f269735f630815819f0a08e51e8739b89a7e251b60c2f6894e26c SHA512 33c5be74161557ae3e5888730256536cd02baac6c26913add84d8ce90854c4a3bb57c31fec1287bf560268c681ea3acf2119f2fea3162dd07e3962ee34d74f9e diff --git a/dev-ruby/oauth2/oauth2-1.4.0-r1.ebuild b/dev-ruby/oauth2/oauth2-1.4.0-r1.ebuild new file mode 100644 index 000000000000..d79d21c90151 --- /dev/null +++ b/dev-ruby/oauth2/oauth2-1.4.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24" + +RUBY_FAKEGEM_TASK_TEST="none" +RUBY_FAKEGEM_TASK_DOC="doc:rdoc" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="oauth2.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem" +HOMEPAGE="https://github.com/intridea/oauth2" +SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/faraday-0.8 <dev-ruby/faraday-0.15 + >=dev-ruby/jwt-1.0 =dev-ruby/jwt-1* + >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1* + >=dev-ruby/multi_xml-0.5:0 + >=dev-ruby/rack-1.2:* <dev-ruby/rack-3:*" +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/faraday/ s/0.13/0.15/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/simplecov/,/^ end/ s:^:#:' \ + -e '1irequire "uri"' spec/helper.rb || die + + sed -i -e '/yardstick/,/^end/ s:^:#:' \ + -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_test() { + CI=true ${RUBY} -S rspec-3 spec || die +} diff --git a/dev-ruby/oauth2/oauth2-1.4.0-r2.ebuild b/dev-ruby/oauth2/oauth2-1.4.0-r2.ebuild new file mode 100644 index 000000000000..283663a9010b --- /dev/null +++ b/dev-ruby/oauth2/oauth2-1.4.0-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_TEST="none" +RUBY_FAKEGEM_TASK_DOC="doc:rdoc" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="oauth2.gemspec" + +inherit ruby-fakegem eutils + +DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem" +HOMEPAGE="https://github.com/intridea/oauth2" +SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/faraday-0.8 <dev-ruby/faraday-0.16 + >=dev-ruby/jwt-1.0 =dev-ruby/jwt-1* + >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1* + >=dev-ruby/multi_xml-0.5:0 + >=dev-ruby/rack-1.2:* <dev-ruby/rack-3:*" +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/faraday/ s/0.13/0.16/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/simplecov/,/^ end/ s:^:#:' \ + -e '1irequire "uri"' spec/helper.rb || die + + sed -i -e '/yardstick/,/^end/ s:^:#:' \ + -e '/bundler/I s:^:#:' Rakefile || die + + # Avoid spec that is too fragile in relation to ENV + sed -i -e '/outputs to $stdout when OAUTH_DEBUG=true/a skip "fragile ENV stubbing"' spec/oauth2/client_spec.rb || die +} + +each_ruby_test() { + CI=true ${RUBY} -S rspec-3 spec || die +} |