summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-05-08 08:36:57 +0200
committerHans de Graaff <graaff@gentoo.org>2022-05-08 08:40:22 +0200
commit984d151148b1b7e89aba6ef0bab6aa3250c7f260 (patch)
tree5af5040df16c266498561db5a063a29b55320c85 /dev-ruby
parentdev-ruby/faraday: add 1.3.1 (diff)
downloadgentoo-984d151148b1b7e89aba6ef0bab6aa3250c7f260.tar.gz
gentoo-984d151148b1b7e89aba6ef0bab6aa3250c7f260.tar.bz2
gentoo-984d151148b1b7e89aba6ef0bab6aa3250c7f260.zip
dev-ruby/faraday-net_http: initial import of 1.0.1
This package has been extracted from dev-ruby/faraday and keywords have been set accordingly. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/faraday-net_http/Manifest1
-rw-r--r--dev-ruby/faraday-net_http/faraday-net_http-1.0.1.ebuild30
-rw-r--r--dev-ruby/faraday-net_http/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/faraday-net_http/Manifest b/dev-ruby/faraday-net_http/Manifest
new file mode 100644
index 000000000000..1535934e3834
--- /dev/null
+++ b/dev-ruby/faraday-net_http/Manifest
@@ -0,0 +1 @@
+DIST faraday-net_http-1.0.1.tar.gz 8436 BLAKE2B 16feb3c79af7db3b69373826a2fc55a8373620c7c6bb229ec27ada2e07a75e862e4211a13a991c9d280b9dfd9643d1eec400fb0b925a846d966cc609c562aefe SHA512 57a7ea2f452844200119cb9e99ae4bfee5e01b0630b38b4ef4e615dfcc05e1476e3da8511698bf199c62b816b5253fb364ed6cffdc59dcd4e9d706c7f1e6e56b
diff --git a/dev-ruby/faraday-net_http/faraday-net_http-1.0.1.ebuild b/dev-ruby/faraday-net_http/faraday-net_http-1.0.1.ebuild
new file mode 100644
index 000000000000..35f84a277481
--- /dev/null
+++ b/dev-ruby/faraday-net_http/faraday-net_http-1.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="ruby26 ruby27 ruby30"
+
+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-1.3.1:1 )"
+
+all_ruby_prepare() {
+ sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}
diff --git a/dev-ruby/faraday-net_http/metadata.xml b/dev-ruby/faraday-net_http/metadata.xml
new file mode 100644
index 000000000000..2f1389424781
--- /dev/null
+++ b/dev-ruby/faraday-net_http/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">lostisland/faraday-net_http</remote-id>
+ </upstream>
+</pkgmetadata>