summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-02 14:37:01 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-02 14:38:00 +0100
commita935f53e1d1694f1e03b50160b5d4e04f1832686 (patch)
tree1314273f4a8e985b4ecfc63679a03e78e41102cf /dev-ruby
parentsci-libs/kineto: PythonCompatUpdate (diff)
downloadgentoo-a935f53e1d1694f1e03b50160b5d4e04f1832686.tar.gz
gentoo-a935f53e1d1694f1e03b50160b5d4e04f1832686.tar.bz2
gentoo-a935f53e1d1694f1e03b50160b5d4e04f1832686.zip
dev-ruby/faraday-net_http_persistent: add 1.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/faraday-net_http_persistent/Manifest1
-rw-r--r--dev-ruby/faraday-net_http_persistent/faraday-net_http_persistent-1.2.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/faraday-net_http_persistent/Manifest b/dev-ruby/faraday-net_http_persistent/Manifest
index 125a312f3fcd..8e18cf7b0e91 100644
--- a/dev-ruby/faraday-net_http_persistent/Manifest
+++ b/dev-ruby/faraday-net_http_persistent/Manifest
@@ -1 +1,2 @@
+DIST faraday-net_http_persistent-1.2.0.tar.gz 6330 BLAKE2B ebd14e0035a86b2529e206704ae611ba82e35fc5296652dcb5b83b4aa9fac3b636a93baf45d7a47f3138550345920d15d87f0648b0107ed7264827b3a34d947f SHA512 4172b93aa72b5f9dcd9fa526789bc336b777fb6785753f0351410c58b8f3fe7e6f989c0812d71e1aa4f6449877cbed8908412321daefe95997483cf51158fa4c
DIST faraday-net_http_persistent-2.1.0.tar.gz 6953 BLAKE2B 5b1c43fbd647c36315c24aa0ff12817edef9940de7f42edb59815b41ec5a5b15c137be6d9e10a07192144064e5a32fa8ab0d9fa1ec15c3e3ec064424b5f299a9 SHA512 3ad70814a231dedff56dd2891d834c6cd5f377e30bac4b31e6290097667d18b4eac5b44ad46b14fda873ee80e3b49e018337d60d666f0b32017fe0f4653d905a
diff --git a/dev-ruby/faraday-net_http_persistent/faraday-net_http_persistent-1.2.0.ebuild b/dev-ruby/faraday-net_http_persistent/faraday-net_http_persistent-1.2.0.ebuild
new file mode 100644
index 000000000000..8c143ca9c3f6
--- /dev/null
+++ b/dev-ruby/faraday-net_http_persistent/faraday-net_http_persistent-1.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="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 NetHttpPersistent"
+HOMEPAGE="https://github.com/lostisland/faraday-net_http_persistent"
+SRC_URI="https://github.com/lostisland/faraday-net_http_persistent/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+ruby_add_depend "test? (
+ dev-ruby/faraday:1
+ >=dev-ruby/net-http-persistent-3.1
+ >=dev-ruby/webmock-3.4
+)"
+
+all_ruby_prepare() {
+ sed -i -e 's:_relative ":"./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -e '/simplecov/I s:^:#:' \
+ -e '3igem "faraday", "~> 1.0"' \
+ -i spec/spec_helper.rb || die
+}