summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-10-02 07:54:39 +0200
committerHans de Graaff <graaff@gentoo.org>2024-10-02 07:54:39 +0200
commitbd87d6f78bda90e9f6a8e09026cf6f1b6de3f3f8 (patch)
tree59c756355333700a44810d6f7738ad1842c38c2b /dev-ruby/acme-client
parentdev-ruby/activeldap: drop 7.2.0 (diff)
downloadgentoo-bd87d6f78bda90e9f6a8e09026cf6f1b6de3f3f8.tar.gz
gentoo-bd87d6f78bda90e9f6a8e09026cf6f1b6de3f3f8.tar.bz2
gentoo-bd87d6f78bda90e9f6a8e09026cf6f1b6de3f3f8.zip
dev-ruby/acme-client: add 2.0.19
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.19.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest
index ec9c1581d665..4c3bd99349e2 100644
--- a/dev-ruby/acme-client/Manifest
+++ b/dev-ruby/acme-client/Manifest
@@ -1,2 +1,3 @@
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
+DIST acme-client-2.0.19.tar.gz 271732 BLAKE2B 377599d3649a3ff74d1ee7e1b0e746517763d56d69771e81ca2ed7196f7f2d8ad2b0c54ed356ea55e56a7f9c38b2fff9a522457fa34df3ae6bd04da6e7e64918 SHA512 7d6da0e3fa05e4f9e8c6ec7ac4790291d5bc55ea8e65f72b95618f49d2043a18acca93301b2592e90f08df555cd7b4a684fd4e4116f669a34066ec4b955c28c5
diff --git a/dev-ruby/acme-client/acme-client-2.0.19.ebuild b/dev-ruby/acme-client/acme-client-2.0.19.ebuild
new file mode 100644
index 000000000000..3d5188e96254
--- /dev/null
+++ b/dev-ruby/acme-client/acme-client-2.0.19.ebuild
@@ -0,0 +1,43 @@
+# 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/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
+}