summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-03-06 08:06:54 +0100
committerHans de Graaff <graaff@gentoo.org>2020-03-06 08:10:37 +0100
commit2ae370bd01ca9ea260f9f316c48c8377d3796871 (patch)
tree5c74c3941549ac25269ba383ffead90b0955a7a9 /dev-ruby/acme-client
parentdev-ruby/recog: add 2.3.7 (diff)
downloadgentoo-2ae370bd01ca9ea260f9f316c48c8377d3796871.tar.gz
gentoo-2ae370bd01ca9ea260f9f316c48c8377d3796871.tar.bz2
gentoo-2ae370bd01ca9ea260f9f316c48c8377d3796871.zip
dev-ruby/acme-client: add 2.0.6
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.6.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest
index 10bbe460f917..be845f9b5ebf 100644
--- a/dev-ruby/acme-client/Manifest
+++ b/dev-ruby/acme-client/Manifest
@@ -1,2 +1,3 @@
DIST acme-client-2.0.4.tar.gz 206295 BLAKE2B 5758a940e91036de04183ace9d076649cce220e18c92abbbf683026fd4fc1d05b3d2c735553648daac0f57f5e4c5c865679607d38f663af7623bd60fac99eff1 SHA512 3e8998ddedc69c6d2a15927be278ef055d1be0fe906c499504ecba811189e5ebbd9c1f54df8692bc0135766dfc8cfbd80f27ee345eab8bcd0126fac62be33742
DIST acme-client-2.0.5.tar.gz 162456 BLAKE2B e01ffd790f404e0ac7a5fe42ef6d4819387dc810bb5c6856e51810b125f5020c3790003eb99e9560ab1618d7d3a420b63e4c1de9cc98e97a4a742ade6bfde54f SHA512 f2f59f2536a5de918147c3b26285c9498eaf082f67d8e3c96036b61a05e3c265a37d7e23f91c03ef7a02ca99bcfec755bc0a9e2bf766ee7b6ffaae1ad1b7c4ab
+DIST acme-client-2.0.6.tar.gz 162500 BLAKE2B a32b2d0361d202a6a799e5ed61eb310ec51971a7a7e3e5747c0ca37a597114d1964cf336d053277cc45ae91640c706e39a1e70d5dfe77abea5bddd1055c5a0b8 SHA512 aeb2102971f4d09b07f7b9a793ce9a5e35bed77fa50f3c74558e85a81023e6ebe6317e56f5297e8b26fdaedfdb95041b73240a812d849828fdd99c4dc93684de
diff --git a/dev-ruby/acme-client/acme-client-2.0.6.ebuild b/dev-ruby/acme-client/acme-client-2.0.6.ebuild
new file mode 100644
index 000000000000..964ca35b2327
--- /dev/null
+++ b/dev-ruby/acme-client/acme-client-2.0.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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-0.17:0"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/vcr-2.9.3
+ >=dev-ruby/webmock-3.8:3
+)"
+
+all_ruby_prepare() {
+ # Skip failing test where incorrect der value is retrieved, may be openssl 1.1.x related.
+ sed -i -e '/assigns the public key/apending' spec/certificate_request_spec.rb || die
+
+ # Avoid dependency on git
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}