summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-08-30 07:46:12 +0200
committerHans de Graaff <graaff@gentoo.org>2019-08-30 07:46:12 +0200
commite9cd8b3d24c73663aef027fce7512cec69cd96c5 (patch)
tree65e3f03d17fc739615e2b6a3c46cf7bac6807680 /dev-ruby/acme-client
parentsci-libs/libgeodecomp: added dependency to libflatarray (diff)
downloadgentoo-e9cd8b3d24c73663aef027fce7512cec69cd96c5.tar.gz
gentoo-e9cd8b3d24c73663aef027fce7512cec69cd96c5.tar.bz2
gentoo-e9cd8b3d24c73663aef027fce7512cec69cd96c5.zip
dev-ruby/acme-client: add 2.0.4
Package-Manager: Portage-2.3.69, Repoman-2.3.16 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.4.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest
index 772a646f390e..6774d38afe59 100644
--- a/dev-ruby/acme-client/Manifest
+++ b/dev-ruby/acme-client/Manifest
@@ -1,2 +1,3 @@
DIST acme-client-2.0.2.gem 19968 BLAKE2B 7a877d86ac4828fec08edd606b2f4f31788454ebe8109b1e94d28f33d00b0a3e49aa7ad8d3b46fa2440bcd1d7cda1c53ab91d6be6280dfeb0e5ccddcac02ed25 SHA512 e02fe9f919f8d5356bc60d0b6f2d05db42e5d6671762bfac45aafb118647e2d0b50cd7336dfa1f0983432e2bddb0344d1b240bd674e31ad14385adc15d58e1e1
DIST acme-client-2.0.3.tar.gz 203320 BLAKE2B f5bc600c58b29429b8615b0d8cdadade9a4c7018068c356cfd481eee8b7718c19e736c620a752ef1a68ae70e8f641f3fb2ef7bcd44b70ac63cc97bad19ab3579 SHA512 c2b2bcba1cfe9184922cdfaafd02bdb51abf11cb39457e89f0670098bf9d240332129144fd4a7fcbc214a1496dbde576236ea15634b70f8f3fe22304d769f0c2
+DIST acme-client-2.0.4.tar.gz 206295 BLAKE2B 5758a940e91036de04183ace9d076649cce220e18c92abbbf683026fd4fc1d05b3d2c735553648daac0f57f5e4c5c865679607d38f663af7623bd60fac99eff1 SHA512 3e8998ddedc69c6d2a15927be278ef055d1be0fe906c499504ecba811189e5ebbd9c1f54df8692bc0135766dfc8cfbd80f27ee345eab8bcd0126fac62be33742
diff --git a/dev-ruby/acme-client/acme-client-2.0.4.ebuild b/dev-ruby/acme-client/acme-client-2.0.4.ebuild
new file mode 100644
index 000000000000..24a1c78f83c9
--- /dev/null
+++ b/dev-ruby/acme-client/acme-client-2.0.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 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.9.1:0"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/vcr-2.9.3
+ dev-ruby/webmock
+)"
+
+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
+}