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 3074415815E for ; Sat, 3 Feb 2024 07:48:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B23FE2B66; Sat, 3 Feb 2024 07:48:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D5BEE2B66 for ; Sat, 3 Feb 2024 07:48:16 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FA7D3431D9 for ; Sat, 3 Feb 2024 07:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8BD814C4 for ; Sat, 3 Feb 2024 07:48:13 +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: <1706946484.657111f61f23a3a64c09d850a5cd4a0bd9c084d2.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/localhost/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/localhost/Manifest dev-ruby/localhost/localhost-1.2.0.ebuild X-VCS-Directories: dev-ruby/localhost/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 657111f61f23a3a64c09d850a5cd4a0bd9c084d2 X-VCS-Branch: master Date: Sat, 3 Feb 2024 07:48:13 +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: 3b775e33-c490-40c5-a7d2-eb08d9586d3d X-Archives-Hash: c4e3b574ed1937ebff9a63e61f4b5509 commit: 657111f61f23a3a64c09d850a5cd4a0bd9c084d2 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 3 07:43:21 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 3 07:48:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=657111f6 dev-ruby/localhost: add 1.2.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/localhost/Manifest | 1 + dev-ruby/localhost/localhost-1.2.0.ebuild | 39 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/localhost/Manifest b/dev-ruby/localhost/Manifest index 3522459d9953..02a95e02be64 100644 --- a/dev-ruby/localhost/Manifest +++ b/dev-ruby/localhost/Manifest @@ -1 +1,2 @@ DIST localhost-1.1.10.tar.gz 2128142 BLAKE2B 06e4ab07bc273b8beba5fb3ee3f64e171a6c4a2e944c6d5e432417560283230277213732bf23ddd12e9737b2803582a11fdaa76356d14d2bdbd4e90d402c6204 SHA512 946ef247b256165cf5c849a32c0ba8dd2007164bd1549a20aca595328174709e9213ba8a98448dc41a57558b00147c3b7428b7bc625059ab24f89c94ff8850e9 +DIST localhost-1.2.0.tar.gz 2128359 BLAKE2B 793e43779ec0b1392104914d9adc1d468820f54b920a8ec4e4f538b313e607a6016a0d2d7b8db242571bdd561161bd71ef781eae310d1f57005c2b0a0fa5c5b4 SHA512 f60cf31a31ac43962e98e933955973ce4bdf76252e43ee3ef969fe104fb71bc5d2faa3213c93532acba28650cd453663785c15b33eed65309f8c235ce116b70d diff --git a/dev-ruby/localhost/localhost-1.2.0.ebuild b/dev-ruby/localhost/localhost-1.2.0.ebuild new file mode 100644 index 000000000000..3d7b9f9412c2 --- /dev/null +++ b/dev-ruby/localhost/localhost-1.2.0.ebuild @@ -0,0 +1,39 @@ +# 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="localhost.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="sus" + +inherit ruby-fakegem + +DESCRIPTION="Manage a local CA for self-signed localhost development servers" +HOMEPAGE="https://github.com/socketry/localhost" +SRC_URI="https://github.com/socketry/localhost/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +ruby_add_bdepend " + test? ( + dev-ruby/async-io + dev-ruby/async-process + dev-ruby/sus-fixtures-async + ) +" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/covered/Id' config/sus.rb || die +} + +each_ruby_test() { + # Tests fail in parallel as it tries to use the same port so + # manually replicate ruby-ng_sus for now, as ruby-ng_sus runs sus-parallel. + ${RUBY} -S sus || die +}