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 96E001581FB for ; Fri, 5 Jul 2024 05:50:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C946EE2A5E; Fri, 5 Jul 2024 05:50:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AA61EE2A5E for ; Fri, 5 Jul 2024 05:50:28 +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 B7CA4340BDE for ; Fri, 5 Jul 2024 05:50:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0680A1DC6 for ; Fri, 5 Jul 2024 05:50:26 +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: <1720158616.d3cebfdedb87193d24795bb64bb01116ec4291a7.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/fiber-local/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/fiber-local/Manifest dev-ruby/fiber-local/fiber-local-1.1.0.ebuild X-VCS-Directories: dev-ruby/fiber-local/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d3cebfdedb87193d24795bb64bb01116ec4291a7 X-VCS-Branch: master Date: Fri, 5 Jul 2024 05:50:26 +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: b32bcf7c-87c7-4f49-a00b-f809023fc8a3 X-Archives-Hash: 1f5c5ccd93d472df988f087581a4d656 commit: d3cebfdedb87193d24795bb64bb01116ec4291a7 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jul 5 05:50:05 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jul 5 05:50:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3cebfde dev-ruby/fiber-local: add 1.1.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/fiber-local/Manifest | 1 + dev-ruby/fiber-local/fiber-local-1.1.0.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/dev-ruby/fiber-local/Manifest b/dev-ruby/fiber-local/Manifest index 52c6faa57383..47b95cffd0b6 100644 --- a/dev-ruby/fiber-local/Manifest +++ b/dev-ruby/fiber-local/Manifest @@ -1 +1,2 @@ DIST fiber-local-1.0.0.tar.gz 3780 BLAKE2B 5360ebdc2f3958863742e5ca1e1cdefe76e4487bad2257a1bd34a8a6769b1191e1a8f0ba8c7dfe1481f73fdd8b9ee1a014b11e5527273dbb0ee6d8a94edae2ae SHA512 5f77213c3760bb7c23a6912f138e46aa54d8508c11d02dadde5ddbc4ab03976abccb37ad2b1b43b118eddfb7a5e8ca4ee647a7fea1bac5ee4d7b39e8dc8f8424 +DIST fiber-local-1.1.0.tar.gz 6236 BLAKE2B 9ee12bfb21448a34055c89cf25d1702dcd763420dc885b8f23af7acf8a7cdcfbf00af754069c2e21a72a3f63b66b9b3a860170e3260d3a32eec0bcf0739ff9aa SHA512 764b77783db4b60f8ae99d41f0ae07111af9aa1e3d11f0dae39c4bd2de49686b806afd2f7218ae3b79240769e98229e37b955d3c0adedf03277f3c43d423e4f5 diff --git a/dev-ruby/fiber-local/fiber-local-1.1.0.ebuild b/dev-ruby/fiber-local/fiber-local-1.1.0.ebuild new file mode 100644 index 000000000000..45e192e772c7 --- /dev/null +++ b/dev-ruby/fiber-local/fiber-local-1.1.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides a class-level mixin to make fiber local state easy" +HOMEPAGE="https://github.com/socketry/fiber-local" +SRC_URI="https://github.com/socketry/fiber-local/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +ruby_add_rdepend "dev-ruby/fiber-storage" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die +}