summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-11-06 08:10:49 +0100
committerHans de Graaff <graaff@gentoo.org>2022-11-08 07:12:38 +0100
commit5c18730bf220a166151c1d889936ef964cf2d5d1 (patch)
tree2214d0d396b6d0520163bfab4c50d49998285ba3 /dev-ruby/faraday-net_http
parentdev-python/pythran: Stabilize 0.12.0-r2 x86, #879993 (diff)
downloadgentoo-5c18730bf220a166151c1d889936ef964cf2d5d1.tar.gz
gentoo-5c18730bf220a166151c1d889936ef964cf2d5d1.tar.bz2
gentoo-5c18730bf220a166151c1d889936ef964cf2d5d1.zip
dev-ruby/faraday-net_http: add 3.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faraday-net_http')
-rw-r--r--dev-ruby/faraday-net_http/Manifest1
-rw-r--r--dev-ruby/faraday-net_http/faraday-net_http-3.0.1.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/faraday-net_http/Manifest b/dev-ruby/faraday-net_http/Manifest
index 2e215fb11e8f..c56427740aca 100644
--- a/dev-ruby/faraday-net_http/Manifest
+++ b/dev-ruby/faraday-net_http/Manifest
@@ -2,3 +2,4 @@ DIST faraday-net_http-1.0.1.tar.gz 8436 BLAKE2B 16feb3c79af7db3b69373826a2fc55a8
DIST faraday-net_http-2.0.3.tar.gz 8919 BLAKE2B 7bccadd63685acaf92e0192094a084d5b287fe7153273a4b5eb99f1e2a01a38051893fd96951ea48f456bd3a791c08dbcaf97f8479bbf302cfc713ce1e23bd36 SHA512 8a1a4bebd8ad565bc2eafd71eb5b7acda2f0830bb85894bf056412794d836cac6f57448edc60d5685d1876153b8c7c38c9b005b797167319dd088e0a6271e71e
DIST faraday-net_http-2.1.0.tar.gz 9061 BLAKE2B 00e461718f4a92ff424e28074aa62d79c4ebfc9ca3a22036eef28c57fe90199b6fb49f5f9a02ff89cfc701b07c5fbb798446f1cc7ebf860dfeab9208e61b92d8 SHA512 797aa930d33a372fccb6fc497fe504f15b63a2fd87aa2301b84098a23de321fe60b6af43f35d9ed670705e90284096a21e9e83c80abe800c81240dec937a27d8
DIST faraday-net_http-3.0.0.tar.gz 8882 BLAKE2B b23f2457e37f365b33d5eeb25967f38de323258f5bd8d1a0cb46f9264a51f1924aad1fe5d03798a66538ca6c1195097af4c1fa4ca1e188da85aa415c8644b007 SHA512 58308721819dc57813cf50cb4eee2d5dee5c83c1f5037a81d17ad7a9e225bc7449249c73dc419b4fc563a8d7754fbd287284df16e3d440a807ce8d24732f4715
+DIST faraday-net_http-3.0.1.tar.gz 8908 BLAKE2B e53e98f49c79aa5ac9bbe1499dd45653ad4c9026dc2ee3628676749d537b3b5f78be826f40deeeddb377b72fbb4c8e82f735d714c93090c63d9aca63d601eb6b SHA512 a1f954f27710e92640a71fb5e5a4ddc5967791fc42763248bdef59311377829a223bb61be7007e5faa32c2dd3e5f72e9cbca06c54dc5e23d99cc7fd01fee7a5c
diff --git a/dev-ruby/faraday-net_http/faraday-net_http-3.0.1.ebuild b/dev-ruby/faraday-net_http/faraday-net_http-3.0.1.ebuild
new file mode 100644
index 000000000000..6e1ac534dfdc
--- /dev/null
+++ b/dev-ruby/faraday-net_http/faraday-net_http-3.0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Faraday adapter for Net::HTTP"
+HOMEPAGE="https://github.com/lostisland/faraday-net_http"
+SRC_URI="https://github.com/lostisland/faraday-net_http/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/faraday-2.5 )"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}