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.8.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest
index c5952a2240da..c7011160cfcc 100644
--- a/dev-ruby/acme-client/Manifest
+++ b/dev-ruby/acme-client/Manifest
@@ -1,2 +1,3 @@
DIST acme-client-2.0.6.tar.gz 162500 BLAKE2B a32b2d0361d202a6a799e5ed61eb310ec51971a7a7e3e5747c0ca37a597114d1964cf336d053277cc45ae91640c706e39a1e70d5dfe77abea5bddd1055c5a0b8 SHA512 aeb2102971f4d09b07f7b9a793ce9a5e35bed77fa50f3c74558e85a81023e6ebe6317e56f5297e8b26fdaedfdb95041b73240a812d849828fdd99c4dc93684de
DIST acme-client-2.0.7.tar.gz 177325 BLAKE2B 607de0c4512f4f369ea3725e8a4116082bfa6b069121c9a5af0cf893cabefc9eb0c05a581d3773f8e8d5023b5a250956b5d596c2c11bab116f75e3e35d96ac78 SHA512 1c77c3380e861976e7e3d1d05d5642fa9bd2275182a41a7de6645b07a61a4055b00cbc6723d633e939458754dbee88802793ad7de80163df9e713996c4e5b378
+DIST acme-client-2.0.8.tar.gz 182507 BLAKE2B 97dff7043079cdb0ae5d79cc376696e3bf5a02b2629d42aeea38ef50818f27fbae5a26260b5d680812dbd501d8c6fbe5a788f9f43020ef037a2393fe07379d91 SHA512 bdef0ec8345117af1c5c5c9172fe7e03dc19017651ec7d5a414e07d6c084b25d6999cc0599aca6eeb5aef90b144e7948de7e36d1aac3a2d5c3cc438ce9be6bd9
diff --git a/dev-ruby/acme-client/acme-client-2.0.8.ebuild b/dev-ruby/acme-client/acme-client-2.0.8.ebuild
new file mode 100644
index 000000000000..3f5b8f9bf6d1
--- /dev/null
+++ b/dev-ruby/acme-client/acme-client-2.0.8.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+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:1 >=dev-ruby/faraday-0.17:0 )"
+
+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
+}