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/faraday-net_http/
Date: Sun, 31 Jul 2022 06:53:13
Message-Id: 1659250385.03e6abe658f904dbb05441206d4bf2a46f58860d.graaff@gentoo
1 commit: 03e6abe658f904dbb05441206d4bf2a46f58860d
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 06:45:47 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 06:53:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e6abe6
7
8 dev-ruby/faraday-net_http: add 2.1.0
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/faraday-net_http/Manifest | 1 +
13 .../faraday-net_http/faraday-net_http-2.1.0.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-ruby/faraday-net_http/Manifest b/dev-ruby/faraday-net_http/Manifest
17 index 0f51cd229323..a6c7c428cd11 100644
18 --- a/dev-ruby/faraday-net_http/Manifest
19 +++ b/dev-ruby/faraday-net_http/Manifest
20 @@ -1,2 +1,3 @@
21 DIST faraday-net_http-1.0.1.tar.gz 8436 BLAKE2B 16feb3c79af7db3b69373826a2fc55a8373620c7c6bb229ec27ada2e07a75e862e4211a13a991c9d280b9dfd9643d1eec400fb0b925a846d966cc609c562aefe SHA512 57a7ea2f452844200119cb9e99ae4bfee5e01b0630b38b4ef4e615dfcc05e1476e3da8511698bf199c62b816b5253fb364ed6cffdc59dcd4e9d706c7f1e6e56b
22 DIST faraday-net_http-2.0.3.tar.gz 8919 BLAKE2B 7bccadd63685acaf92e0192094a084d5b287fe7153273a4b5eb99f1e2a01a38051893fd96951ea48f456bd3a791c08dbcaf97f8479bbf302cfc713ce1e23bd36 SHA512 8a1a4bebd8ad565bc2eafd71eb5b7acda2f0830bb85894bf056412794d836cac6f57448edc60d5685d1876153b8c7c38c9b005b797167319dd088e0a6271e71e
23 +DIST faraday-net_http-2.1.0.tar.gz 9061 BLAKE2B 00e461718f4a92ff424e28074aa62d79c4ebfc9ca3a22036eef28c57fe90199b6fb49f5f9a02ff89cfc701b07c5fbb798446f1cc7ebf860dfeab9208e61b92d8 SHA512 797aa930d33a372fccb6fc497fe504f15b63a2fd87aa2301b84098a23de321fe60b6af43f35d9ed670705e90284096a21e9e83c80abe800c81240dec937a27d8
24
25 diff --git a/dev-ruby/faraday-net_http/faraday-net_http-2.1.0.ebuild b/dev-ruby/faraday-net_http/faraday-net_http-2.1.0.ebuild
26 new file mode 100644
27 index 000000000000..40aed55086f7
28 --- /dev/null
29 +++ b/dev-ruby/faraday-net_http/faraday-net_http-2.1.0.ebuild
30 @@ -0,0 +1,30 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +USE_RUBY="ruby27 ruby30 ruby31"
37 +
38 +RUBY_FAKEGEM_BINWRAP=""
39 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
40 +
41 +RUBY_FAKEGEM_EXTRADOC="README.md"
42 +
43 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
44 +
45 +inherit ruby-fakegem
46 +
47 +DESCRIPTION="Faraday adapter for Net::HTTP"
48 +HOMEPAGE="https://github.com/lostisland/faraday-net_http"
49 +SRC_URI="https://github.com/lostisland/faraday-net_http/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 +
51 +LICENSE="MIT"
52 +SLOT="$(ver_cut 1)"
53 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
54 +IUSE=""
55 +
56 +ruby_add_bdepend "test? ( || ( dev-ruby/faraday:2 >=dev-ruby/faraday-1.3.1:1 ) )"
57 +
58 +all_ruby_prepare() {
59 + sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die
60 +}