Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/oauth2/
Date: Sat, 25 Jun 2022 06:22:12
Message-Id: 1656137325.32bd3442ce7378617ea6cc76bf237d5508be4b52.graaff@gentoo
1 commit: 32bd3442ce7378617ea6cc76bf237d5508be4b52
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 06:08:45 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 06:08:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32bd3442
7
8 dev-ruby/oauth2: drop 1.4.4
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/oauth2/Manifest | 1 -
13 dev-ruby/oauth2/oauth2-1.4.4.ebuild | 53 -------------------------------------
14 2 files changed, 54 deletions(-)
15
16 diff --git a/dev-ruby/oauth2/Manifest b/dev-ruby/oauth2/Manifest
17 index 0d3fbb8efe1b..6e16bbea127d 100644
18 --- a/dev-ruby/oauth2/Manifest
19 +++ b/dev-ruby/oauth2/Manifest
20 @@ -1,2 +1 @@
21 -DIST oauth2-1.4.4.tar.gz 28477 BLAKE2B 925008fcf4dd48da3b17c539713bf0f05f649d431ab1676293de625bef4165f31153271d48bbb0c6265c67d7bb6a3cbc7217ce155ba331b22a00d572a855a8ef SHA512 5398a25664e53d1942b0ecbe5d74ca9cc8f04a928c96073f40cfff207c4bf220634185320954a0d1f36944547fb48264855c9523318fbb79dd4a3779a7a46e79
22 DIST oauth2-1.4.7.tar.gz 32341 BLAKE2B f3db3ff7ebcf7bc0958a564fdb0812c1bfb613148c5a16655f276fda4d6dac7769196305d854ee0fc3f8b4b53a93b4ae504b348029e1b363bcb704293887347a SHA512 4a43b3f75e827e9a12a74a6fe13a29b141c0d5bcb6a0d5c86dc8d8726f650a9fd5250ecc2c31cee5e985f0cb50e02f828d27fd07577bcac4dfc8ff4e009bd710
23
24 diff --git a/dev-ruby/oauth2/oauth2-1.4.4.ebuild b/dev-ruby/oauth2/oauth2-1.4.4.ebuild
25 deleted file mode 100644
26 index 0604c34eae04..000000000000
27 --- a/dev-ruby/oauth2/oauth2-1.4.4.ebuild
28 +++ /dev/null
29 @@ -1,53 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
36 -
37 -RUBY_FAKEGEM_TASK_TEST="none"
38 -
39 -RUBY_FAKEGEM_DOCDIR="rdoc"
40 -RUBY_FAKEGEM_EXTRADOC="README.md"
41 -
42 -RUBY_FAKEGEM_GEMSPEC="oauth2.gemspec"
43 -
44 -inherit ruby-fakegem
45 -
46 -DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem"
47 -HOMEPAGE="https://github.com/intridea/oauth2"
48 -SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 -
50 -LICENSE="MIT"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
53 -IUSE=""
54 -
55 -ruby_add_rdepend ">=dev-ruby/faraday-0.8 <dev-ruby/faraday-2.0
56 - dev-ruby/jwt:2
57 - >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1*
58 - >=dev-ruby/multi_xml-0.5:0
59 - >=dev-ruby/rack-1.2:* <dev-ruby/rack-3:*"
60 -ruby_add_bdepend "test? (
61 - >=dev-ruby/addressable-2.3
62 - dev-ruby/rspec:3
63 - dev-ruby/rspec-stubbed_env
64 -)"
65 -
66 -all_ruby_prepare() {
67 - sed -i -e '/simplecov/,/^ end/ s:^:#:' \
68 - -e '/silent/I s:^:#:' \
69 - -e '1irequire "uri"' spec/helper.rb || die
70 -
71 - sed -i -e '/yardstick/,/^end/ s:^:#:' \
72 - -e '/bundler/I s:^:#:' Rakefile || die
73 -
74 - # Avoid spec that is too fragile in relation to ENV
75 - sed -i -e '/outputs to $stdout when OAUTH_DEBUG=true/a skip "fragile ENV stubbing"' spec/oauth2/client_spec.rb || die
76 -
77 - sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
78 -}
79 -
80 -each_ruby_test() {
81 - CI=true ${RUBY} -S rspec-3 spec || die
82 -}