dev-ruby/acme-client: add 2.0.22

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-07-02 07:29:14 +02:00
parent a74e5a0a7e
commit d806d86be3
2 changed files with 44 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST acme-client-2.0.21.tar.gz 271820 BLAKE2B 088810eca54af35659404208b305966044b46b4a762451d11346a62cd1ea5a14d56b9c434bb9d98769b4184437659799b1b041cc5bd2bb96f52e367c191cc3ac SHA512 47cef2abf055b1a8ee4887229d4e64e260c1f3b9f07e84bc6c4bec3684a5e95a27dd2c5d08a4ee529f54c28a29291c6898fc165fe3515ddb50986f7af05df9e2
DIST acme-client-2.0.22.tar.gz 271839 BLAKE2B c3a0a0674048b281141466fe3ca74fda90affb686a663e094b5c78e2d40847fe6998b66d6c8023855cf4190369ddc44c4ff3d06491f55f0027e186b9d5fee481 SHA512 9eec1d5ef555bffd4aea3d9118f7a25fcd9266390fea2d9574bc2ea1896ac52dce434ebad033725a349f7958654c2778a665858ef27fc6744c37711515b23582

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
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/base64:0.3 dev-ruby/base64:0.2 )
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
}