summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-19 14:47:30 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-19 18:57:02 +0100
commitcb69b97131e0b75754afb928b0e1c8ffc19b10a0 (patch)
treed7f2e4c8f84043a4967110322c8c13dd2d4085c9 /dev-ruby/acme-client
parentgames-simulation/openrct2: Stabilize 0.4.7 arm64, #922499 (diff)
downloadgentoo-cb69b97131e0b75754afb928b0e1c8ffc19b10a0.tar.gz
gentoo-cb69b97131e0b75754afb928b0e1c8ffc19b10a0.tar.bz2
gentoo-cb69b97131e0b75754afb928b0e1c8ffc19b10a0.zip
dev-ruby/acme-client: add 2.0.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/acme-client')
-rw-r--r--dev-ruby/acme-client/Manifest1
-rw-r--r--dev-ruby/acme-client/acme-client-2.0.16.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest
index e813863aeb65..92cfd101bb59 100644
--- a/dev-ruby/acme-client/Manifest
+++ b/dev-ruby/acme-client/Manifest
@@ -1,2 +1,3 @@
DIST acme-client-2.0.14.tar.gz 194698 BLAKE2B 057e968fa7b5bfcc6d3d31b9bf52eb6e9211d754be08e5eac61603a13077cd1a771f3580e42cfc19c0490931252bfdf3989958f580de025c88759f2824035370 SHA512 793b0f77b69cf00ac664a71ce12a02bf6a37683c75d6f0b4773f46ca20544b60a4892b40c6309d08bc9bbc412bcc4fc8a62730b106a6df8e36e76df3e74bdd9f
DIST acme-client-2.0.15.tar.gz 194751 BLAKE2B 75f6507b8571de8344a777182d98346b1d516a38058d4f1d164e73b647d1953e453c59afd8550c41c711b0dd2699790737c86bd2f7919929e445179cc7098895 SHA512 0d09a09c3fb0a665e9e3263aaa4a924653195d3a64baef381069a58ee16064a4dbef40456076198a866c50765b1f68a0c3b381bcb4f35e185aef9e1ce709ff9d
+DIST acme-client-2.0.16.tar.gz 195964 BLAKE2B 0814b8aa1b60dfc0df9e82f1e5bc21c24ff38ef7737a854be93fcfe7f55a3994e61ba666d17b48ad2ee1469d874e58ed6976afa90f9f7055ec2ff476b3b0f145 SHA512 c9b0ed92767fe3c345b0dcd76263e0b7340b1c554cf366dbe121bea16fdc85b6403a2d5159c0d7e197a72286799910e054315396ea21470de73aa57d2fd5ff10
diff --git a/dev-ruby/acme-client/acme-client-2.0.16.ebuild b/dev-ruby/acme-client/acme-client-2.0.16.ebuild
new file mode 100644
index 000000000000..41f5c210bbbe
--- /dev/null
+++ b/dev-ruby/acme-client/acme-client-2.0.16.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="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="test"
+
+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
+}