From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF4431581C1 for ; Wed, 10 Jul 2024 05:08:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CF27E2AC0; Wed, 10 Jul 2024 05:08:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F217FE2AC0 for ; Wed, 10 Jul 2024 05:08:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A6EE34301E for ; Wed, 10 Jul 2024 05:08:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CF621E0C for ; Wed, 10 Jul 2024 05:08:12 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1720588080.d0d22e87451a3a6a07659f9806d73bf7ce870d51.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/docker-api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/docker-api/Manifest dev-ruby/docker-api/docker-api-2.3.0.ebuild X-VCS-Directories: dev-ruby/docker-api/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d0d22e87451a3a6a07659f9806d73bf7ce870d51 X-VCS-Branch: master Date: Wed, 10 Jul 2024 05:08:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d63a1256-cddc-4d10-ba4c-2d2f6fc43bfc X-Archives-Hash: 92aa57763ee881d086c3373a7421f256 commit: d0d22e87451a3a6a07659f9806d73bf7ce870d51 Author: Hans de Graaff gentoo org> AuthorDate: Wed Jul 10 05:06:11 2024 +0000 Commit: Hans de Graaff gentoo 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 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 +}