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/octokit/
Date: Sun, 24 May 2020 07:09:15
Message-Id: 1590304140.9e288f508f5112d3684d7e57a06e2523021b48de.graaff@gentoo
1 commit: 9e288f508f5112d3684d7e57a06e2523021b48de
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 24 07:09:00 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun May 24 07:09:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e288f50
7
8 dev-ruby/octokit: add missing test dependency
9
10 This drop the ~arm keyword, bug 724894
11
12 Closes: https://bugs.gentoo.org/723884
13 Package-Manager: Portage-2.3.99, Repoman-2.3.22
14 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
15
16 dev-ruby/octokit/octokit-4.18.0-r1.ebuild | 41 +++++++++++++++++++++++++++++++
17 1 file changed, 41 insertions(+)
18
19 diff --git a/dev-ruby/octokit/octokit-4.18.0-r1.ebuild b/dev-ruby/octokit/octokit-4.18.0-r1.ebuild
20 new file mode 100644
21 index 00000000000..0b3ff206b16
22 --- /dev/null
23 +++ b/dev-ruby/octokit/octokit-4.18.0-r1.ebuild
24 @@ -0,0 +1,41 @@
25 +# Copyright 1999-2020 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +USE_RUBY="ruby24 ruby25 ruby26"
30 +
31 +RUBY_FAKEGEM_RECIPE_DOC="yard"
32 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
33 +RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md"
34 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
35 +
36 +inherit multilib ruby-fakegem
37 +
38 +DESCRIPTION="Ruby toolkit for the Github API"
39 +HOMEPAGE="https://github.com/octokit/octokit.rb"
40 +SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE=""
46 +
47 +RUBY_S=octokit.rb-${PV}
48 +
49 +ruby_add_rdepend "
50 + >=dev-ruby/faraday-0.9
51 + =dev-ruby/sawyer-0.8*
52 +"
53 +
54 +ruby_add_bdepend "test? (
55 + dev-ruby/jwt
56 + dev-ruby/mime-types
57 + >=dev-ruby/netrc-0.7.7
58 + dev-ruby/vcr:3
59 + dev-ruby/webmock:3 )"
60 +
61 +all_ruby_prepare() {
62 + sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \
63 + -e '/pry/ s:^:#:' \
64 + -i spec/helper.rb || die
65 +}