public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/docker-api/
Date: Wed, 10 Jul 2024 05:08:12 +0000 (UTC)	[thread overview]
Message-ID: <1720588080.d0d22e87451a3a6a07659f9806d73bf7ce870d51.graaff@gentoo> (raw)

commit:     d0d22e87451a3a6a07659f9806d73bf7ce870d51
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 10 05:06:11 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jul 10 05:08:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d22e87

dev-ruby/docker-api: add 2.3.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/docker-api/Manifest                |  1 +
 dev-ruby/docker-api/docker-api-2.3.0.ebuild | 38 +++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-ruby/docker-api/Manifest b/dev-ruby/docker-api/Manifest
index aa1274f3bf86..18f93d071097 100644
--- a/dev-ruby/docker-api/Manifest
+++ b/dev-ruby/docker-api/Manifest
@@ -1 +1,2 @@
 DIST docker-api-2.2.0.tar.gz 49637 BLAKE2B 1bdcce5e0ca898128434acf7d76306f2c8c08aab8da834bcd129f8be72772073208209b55c9b0397980bdf81e3784c292fe332af5ef5f6bf44d0ab52cfc8259a SHA512 7be935dabb5faf2b05a635c55e1f687ebc16ef9155b9e0daeba7eaffa4c8fda056b54985f8c629b07cdb94558546dd497153174765d2bed6e090a44bc287c53f
+DIST docker-api-2.3.0.tar.gz 49569 BLAKE2B 4b78021e42b1f020a77c9af30f0ff32f7bd91c81a31149d5cfc0626efe9b8962468151efa1802f9452020fc977ae40d86d85c00c97c7346a54622d4b656403d2 SHA512 922a63edcb44a89783f6f10725f13aee3406cb6f9d1e654c1c5879b941414c34cb3de98f62304941fdb8654e19eadaa6b6a1aa64c36a9f67859a3746cf6291e2

diff --git a/dev-ruby/docker-api/docker-api-2.3.0.ebuild b/dev-ruby/docker-api/docker-api-2.3.0.ebuild
new file mode 100644
index 000000000000..da7c6ebb9308
--- /dev/null
+++ b/dev-ruby/docker-api/docker-api-2.3.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="docker-api.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple REST client for the Docker Remote API"
+HOMEPAGE="https://github.com/upserve/docker-api"
+SRC_URI="https://github.com/upserve/docker-api/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "
+	>=dev-ruby/excon-0.64.0
+	dev-ruby/multi_json
+"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec-its )"
+
+all_ruby_prepare() {
+	sed -i -e 's/git ls-files/find */' ${RUBY_FAKEGEM_GEMSPEC} || die
+	sed -i -e '/bundler/ s:^:#:' -e '/formatter/ s:^:#:' spec/spec_helper.rb || die
+	sed -i -e '/\(single_cov\|SingleCov\)/ s:^:#:' spec/*.rb spec/*/*.rb || die
+	rm -f spec/cov_spec.rb || die
+
+	# Avoid specs requiring a running docker daemon
+	rm -f spec/docker_spec.rb spec/docker/{container,event,exec,image,network,volume}_spec.rb || die
+}


             reply	other threads:[~2024-07-10  5:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10  5:08 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-12  6:00 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/docker-api/ Hans de Graaff
2023-08-17 20:03 Hans de Graaff
2023-08-15 17:30 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1720588080.d0d22e87451a3a6a07659f9806d73bf7ce870d51.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox