summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-09-01 06:21:23 +0200
committerHans de Graaff <graaff@gentoo.org>2021-09-01 06:21:23 +0200
commit671b8a5534910bdf23cbaeec06e238e67ca5ad02 (patch)
tree60b068b244091f07f36d54b592c7f7df76ae4a54 /dev-ruby/acme-client
parentgames-roguelike/stone-soup: Add _pre build for 0.28 slot (diff)
downloadgentoo-671b8a5534910bdf23cbaeec06e238e67ca5ad02.tar.gz
gentoo-671b8a5534910bdf23cbaeec06e238e67ca5ad02.tar.bz2
gentoo-671b8a5534910bdf23cbaeec06e238e67ca5ad02.zip
dev-ruby/acme-client: add 2.0.9
Package-Manager: Portage-3.0.20, Repoman-3.0.3 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.9.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/acme-client/Manifest b/dev-ruby/acme-client/Manifest
index 7273dcae9d60..dfbad2782f3d 100644
--- a/dev-ruby/acme-client/Manifest
+++ b/dev-ruby/acme-client/Manifest
@@ -1 +1,2 @@
DIST acme-client-2.0.8.tar.gz 182507 BLAKE2B 97dff7043079cdb0ae5d79cc376696e3bf5a02b2629d42aeea38ef50818f27fbae5a26260b5d680812dbd501d8c6fbe5a788f9f43020ef037a2393fe07379d91 SHA512 bdef0ec8345117af1c5c5c9172fe7e03dc19017651ec7d5a414e07d6c084b25d6999cc0599aca6eeb5aef90b144e7948de7e36d1aac3a2d5c3cc438ce9be6bd9
+DIST acme-client-2.0.9.tar.gz 183081 BLAKE2B 8160b3fe7989645c395fde55624d71bdc933d114901138cb13f9c2114973f2bf65d48bba547f6c0740d0710f9a38a57cc519dbb27898a1507e875c71e5d7bcfb SHA512 a75b093046ec0360cfb78b55c0ad8350ecd1b6f612ab5ddb3956aa4cfef468bddff2dc992cddfc50860e7ea541e76ddc176ab4c7eaf5c3555beab521a6806ac8
diff --git a/dev-ruby/acme-client/acme-client-2.0.9.ebuild b/dev-ruby/acme-client/acme-client-2.0.9.ebuild
new file mode 100644
index 000000000000..bffdd9ff1345
--- /dev/null
+++ b/dev-ruby/acme-client/acme-client-2.0.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="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
+}