summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-06-17 07:24:38 +0200
committerHans de Graaff <graaff@gentoo.org>2024-06-17 07:25:36 +0200
commit6f2496507efe1342b5d73937a8a471e13a0638d9 (patch)
treebabae1c23da87e5acae9b92639825abe44350d9a /dev-ruby
parentdev-ruby/net-imap: add 0.4.13 (diff)
downloadgentoo-6f2496507efe1342b5d73937a8a471e13a0638d9.tar.gz
gentoo-6f2496507efe1342b5d73937a8a471e13a0638d9.tar.bz2
gentoo-6f2496507efe1342b5d73937a8a471e13a0638d9.zip
dev-ruby/acme-client: add 2.0.18
Add missing webrick test dependency. Closes: https://bugs.gentoo.org/933116 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/acme-client/Manifest1
-rw-r--r--dev-ruby/acme-client/acme-client-2.0.18.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest
index 48e6b02ef889..ab0b9c50fde8 100644
--- a/dev-ruby/acme-client/Manifest
+++ b/dev-ruby/acme-client/Manifest
@@ -2,3 +2,4 @@ DIST acme-client-2.0.14.tar.gz 194698 BLAKE2B 057e968fa7b5bfcc6d3d31b9bf52eb6e92
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
DIST acme-client-2.0.17.tar.gz 271264 BLAKE2B a9c9f5c8ba9c7a991d34d9e9111b3ddfc39a1806811c3daddd3bff55b354eeb112d9836b70cf3c93c087fb0c6611aaee4d56bf4df01032fb725cee95c4f25032 SHA512 595d24bdf223f6d4293c2629e0379ba108a0ac223716d61b62366444f76e59202c28cd3c10ff1d82430a29c953eec36bdfeea8681159b118fe013896943b80db
+DIST acme-client-2.0.18.tar.gz 271643 BLAKE2B 9aad1a75279da8bd4fd22b0682316ed9e882efdc731d6b59224f8fbdb6adb4295411e13e6645575dc6e84e5ab7c4ebd35b7de3905ee9c6324b3b6232a4aa7c00 SHA512 01d0b0304dd8b424b93fec02841db4400b0769c73c6642b3221144148f88f5e622569993b34f86ef313a96e84dba8ed32b8e5ec2b8918d549042bfdd85c3bc41
diff --git a/dev-ruby/acme-client/acme-client-2.0.18.ebuild b/dev-ruby/acme-client/acme-client-2.0.18.ebuild
new file mode 100644
index 000000000000..a6836f44296b
--- /dev/null
+++ b/dev-ruby/acme-client/acme-client-2.0.18.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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
+ dev-ruby/webrick
+)"
+
+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
+}