summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/acme-client/Manifest1
-rw-r--r--dev-ruby/acme-client/acme-client-2.0.14.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest
index 20e69b0d6518..48a26c38dbec 100644
--- a/dev-ruby/acme-client/Manifest
+++ b/dev-ruby/acme-client/Manifest
@@ -1 +1,2 @@
+DIST acme-client-2.0.14.tar.gz 194698 BLAKE2B 057e968fa7b5bfcc6d3d31b9bf52eb6e9211d754be08e5eac61603a13077cd1a771f3580e42cfc19c0490931252bfdf3989958f580de025c88759f2824035370 SHA512 793b0f77b69cf00ac664a71ce12a02bf6a37683c75d6f0b4773f46ca20544b60a4892b40c6309d08bc9bbc412bcc4fc8a62730b106a6df8e36e76df3e74bdd9f
DIST acme-client-2.0.9.tar.gz 183081 BLAKE2B 8160b3fe7989645c395fde55624d71bdc933d114901138cb13f9c2114973f2bf65d48bba547f6c0740d0710f9a38a57cc519dbb27898a1507e875c71e5d7bcfb SHA512 a75b093046ec0360cfb78b55c0ad8350ecd1b6f612ab5ddb3956aa4cfef468bddff2dc992cddfc50860e7ea541e76ddc176ab4c7eaf5c3555beab521a6806ac8
diff --git a/dev-ruby/acme-client/acme-client-2.0.14.ebuild b/dev-ruby/acme-client/acme-client-2.0.14.ebuild
new file mode 100644
index 000000000000..0f83d140d8bf
--- /dev/null
+++ b/dev-ruby/acme-client/acme-client-2.0.14.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="acme-client.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby client for the letsencrypt's ACME protocol"
+HOMEPAGE="https://github.com/unixcharles/acme-client"
+SRC_URI="https://github.com/unixcharles/acme-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ dev-ruby/faraday:2
+ dev-ruby/faraday-retry:2
+"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/vcr-2.9.3
+ >=dev-ruby/webmock-3.8:3
+)"
+
+all_ruby_prepare() {
+ # Avoid dependency on git
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '3igem "faraday", "~> 2.0"' spec/spec_helper.rb || die
+}